Skip to content

Commit

Permalink
Version 1.1.0-alpha
Browse files Browse the repository at this point in the history
- Fixes #1
- Fixes #2
- Some public API changes (breaking changes)
- Better query string params and headers handing for RestClient and HttpClient.
- HttpClient now send a X-Alt-User-Agent header (Everest/version -githublink)
- Everest.js now supports partial updates (HTTP PATCH)
- Refactorings and improvements.
- More unit tests.
- Added version dumper to the Grunt build flow.
  • Loading branch information
PulsarBlow committed Aug 20, 2014
1 parent 1a9d2e5 commit f02ddef
Show file tree
Hide file tree
Showing 24 changed files with 2,598 additions and 746 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ logs
pids
*.pid
*.seed
*.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand Down
33 changes: 29 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ module.exports = function (grunt) {
"test/unit/everest/system.tests.js",
"test/unit/everest/url.tests.js",
"test/unit/everest/httpclient.tests.js",
"test/unit/everest/restapiclient.tests.js"
"test/unit/everest/restclient.tests.js"
],
host: 'http://127.0.0.1:8000/',
template: require('grunt-template-jasmine-requirejs'),
templateOptions: {
requireConfig: {
"baseUrl": "./",
"host": "./",
"paths": {
"jquery": "bower_components/jquery/dist/jquery",
"everest": "lib/everest"
Expand All @@ -37,7 +37,7 @@ module.exports = function (grunt) {
requirejs: {
compile: {
options: {
"baseUrl": "./",
"host": "./",
"paths": {
"jquery": "bower_components/jquery/dist/jquery",
"almond": "bower_components/almond/almond",
Expand Down Expand Up @@ -71,16 +71,41 @@ module.exports = function (grunt) {
"dist/everest.min.js": ["dist/everest.js"]
}
}
},
version: {
options: {

},
default: {
src: ["lib/everest/system.js"]
}
},
preprocess: {
options: {
context: {
DEBUG: true
}
},
default: {
src: "dist/everest.js",
dest: "dist/everest.js"
}
}

});

// Plugins
grunt.loadNpmTasks('grunt-version');
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-preprocess');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jasmine');
grunt.loadNpmTasks('grunt-contrib-connect');


// Default task
grunt.registerTask('default', ['requirejs', 'uglify']);
grunt.registerTask('default', ['version', 'requirejs', 'preprocess', 'uglify']);

// Travis task
grunt.registerTask('travis', ['connect', 'jasmine']);
};
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"globals"
],
"license": "MIT",
"homepage": "https://github.com/PulsarBlow/everestjs",
"homepage": "https://PulsarBlow.github.io/everest.js",
"repository": {
"type": "git",
"url": "git://github.com/PulsarBlow/everestjs.git"
"url": "git://github.com/PulsarBlow/everest.js"
},
"bugs": "https://github.com/PulsarBlow/everestjs/issues",
"bugs": "https://github.com/PulsarBlow/everest.js/issues",
"private": false,
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion build/wrap.start
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Everest JS - A REST Api client for the browser.
* Version 1.0.0-alpha
* Version, see : everest.system.version
* http://github.com/PulsarBlow/EverestJs
*/
(function (root, factory) {
Expand Down

0 comments on commit f02ddef

Please sign in to comment.