From 36bb28c08e275e42bc02f87a708fdf74c6da0fb4 Mon Sep 17 00:00:00 2001 From: Jerke Combee Date: Wed, 25 May 2016 17:56:20 +0200 Subject: [PATCH 1/8] Added Uglified File, Added function for appending a dif key then data --- angular-cache-buster.js | 62 ------------------------- bower.json | 7 ++- dist/angular-cache-buster.js | 78 ++++++++++++++++++++++++++++++++ dist/angular-cache-buster.min.js | 1 + gulpfile.js | 15 ++++++ lib/angular-cache-buster.js | 78 ++++++++++++++++++++++++++++++++ package.json | 20 +++++--- 7 files changed, 191 insertions(+), 70 deletions(-) delete mode 100644 angular-cache-buster.js create mode 100644 dist/angular-cache-buster.js create mode 100644 dist/angular-cache-buster.min.js create mode 100644 gulpfile.js create mode 100644 lib/angular-cache-buster.js diff --git a/angular-cache-buster.js b/angular-cache-buster.js deleted file mode 100644 index a368a50..0000000 --- a/angular-cache-buster.js +++ /dev/null @@ -1,62 +0,0 @@ -angular.module('ngCacheBuster', []) - .config(['$httpProvider', function($httpProvider) { - return $httpProvider.interceptors.push('httpRequestInterceptorCacheBuster'); - }]) - .provider('httpRequestInterceptorCacheBuster', function() { - - this.matchlist = [/.*partials.*/, /.*views.*/ ]; - this.logRequests = false; - - //Default to whitelist (i.e. block all except matches) - this.black=false; - - //Select blacklist or whitelist, default to whitelist - this.setMatchlist = function(list,black) { - this.black = typeof black != 'undefined' ? black : false - this.matchlist = list; - }; - - - this.setLogRequests = function(logRequests) { - this.logRequests = logRequests; - }; - - this.$get = ['$q', '$log', function($q, $log) { - var matchlist = this.matchlist; - var logRequests = this.logRequests; - var black = this.black; - if (logRequests) { - $log.log("Blacklist? ",black); - } - return { - 'request': function(config) { - //Blacklist by default, match with whitelist - var busted= !black; - - for(var i=0; i< matchlist.length; i++){ - if(config.url.match(matchlist[i])) { - busted=black; break; - } - } - - //Bust if the URL was on blacklist or not on whitelist - if (busted) { - var d = new Date(); - config.url = config.url.replace(/[?|&]cacheBuster=\d+/,''); - //Some url's allready have '?' attached - config.url+=config.url.indexOf('?') === -1 ? '?' : '&' - config.url += 'cacheBuster=' + d.getTime(); - } - - if (logRequests) { - var log='request.url =' + config.url - busted ? $log.warn(log) : $log.info(log) - } - - return config || $q.when(config); - } - } - }]; - }); - - diff --git a/bower.json b/bower.json index 57187ed..670eb90 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-cache-buster", - "version": "0.4.3", + "version": "0.5.0", "homepage": "https://github.com/saintmac/angular-cache-buster", "authors": [ "saintmac " @@ -22,7 +22,10 @@ "node_modules", "bower_components", "test", - "tests" + "tests", + "gulpfile.js", + "karma.conf.js", + "package.json" ], "devDependencies": { "angular": "~1.2.13", diff --git a/dist/angular-cache-buster.js b/dist/angular-cache-buster.js new file mode 100644 index 0000000..4825c07 --- /dev/null +++ b/dist/angular-cache-buster.js @@ -0,0 +1,78 @@ +angular.module('ngCacheBuster', []) + .config(['$httpProvider', function ($httpProvider) { + return $httpProvider.interceptors.push('httpRequestInterceptorCacheBuster'); + }]) + .provider('httpRequestInterceptorCacheBuster', function () { + + this.matchlist = [/.*partials.*/, /.*views.*/]; + this.logRequests = false; + + //Default to whitelist (i.e. block all except matches) + this.black = false; + + //Optional custom bust key + this.key = false; + + //Select blacklist or whitelist, default to whitelist + this.setMatchlist = function (list, black) { + this.black = typeof black != 'undefined' ? black : false + this.matchlist = list; + }; + + //Set a custom bust key to bust the cache + this.setCustomKey = function (key) { + this.black = typeof black != 'undefined' ? black : false + this.matchlist = list; + }; + + + this.setLogRequests = function (logRequests) { + this.logRequests = logRequests; + }; + + this.$get = ['$q', '$log', function ($q, $log) { + var matchlist = this.matchlist; + var logRequests = this.logRequests; + var black = this.black; + if (logRequests) { + $log.log("Blacklist? ", black); + } + return { + 'request': function (config) { + //Blacklist by default, match with whitelist + var busted = !black; + + for (var i = 0; i < matchlist.length; i++) { + if (config.url.match(matchlist[i])) { + busted = black; + break; + } + } + + //Bust if the URL was on blacklist or not on whitelist + if (busted) { + var key; + if (this.key) { + key = this.key; + } else { + var d = new Date(); + key = d.getTime(); + } + config.url = config.url.replace(/[?|&]cacheBuster=\d+/, ''); + //Some url's allready have '?' attached + config.url += config.url.indexOf('?') === -1 ? '?' : '&' + config.url += 'cacheBuster=' + key; + } + + if (logRequests) { + var log = 'request.url =' + config.url + busted ? $log.warn(log) : $log.info(log) + } + + return config || $q.when(config); + } + } + }]; + }); + + diff --git a/dist/angular-cache-buster.min.js b/dist/angular-cache-buster.min.js new file mode 100644 index 0000000..c062525 --- /dev/null +++ b/dist/angular-cache-buster.min.js @@ -0,0 +1 @@ +angular.module("ngCacheBuster",[]).config(["$httpProvider",function(t){return t.interceptors.push("httpRequestInterceptorCacheBuster")}]).provider("httpRequestInterceptorCacheBuster",function(){this.matchlist=[/.*partials.*/,/.*views.*/],this.logRequests=!1,this.black=!1,this.key=!1,this.setMatchlist=function(t,e){this.black="undefined"!=typeof e?e:!1,this.matchlist=t},this.setCustomKey=function(t){this.black="undefined"!=typeof black?black:!1,this.matchlist=list},this.setLogRequests=function(t){this.logRequests=t},this.$get=["$q","$log",function(t,e){var s=this.matchlist,i=this.logRequests,r=this.black;return i&&e.log("Blacklist? ",r),{request:function(u){for(var h=!r,l=0;l (Martin Saint-Macary, http://vyte.in)", - "contributors": ["Alfred Bratterud "], + "contributors": [ + "Alfred Bratterud " + ], "license": "MIT", "bugs": { "url": "https://github.com/saintmac/angular-cache-buster/issues" }, "homepage": "https://github.com/saintmac/angular-cache-buster", "devDependencies": { - "karma-script-launcher": "~0.1.0", + "gulp": "^3.9.1", + "gulp-cli": "^1.2.1", + "gulp-minify": "0.0.11", + "karma": "~0.12.15", "karma-chrome-launcher": "~0.1.3", + "karma-coffee-preprocessor": "~0.1.3", "karma-firefox-launcher": "~0.1.3", "karma-html2js-preprocessor": "~0.1.0", "karma-jasmine": "~0.1.5", - "karma-coffee-preprocessor": "~0.1.3", - "requirejs": "~2.1.11", - "karma-requirejs": "~0.2.1", "karma-phantomjs-launcher": "~0.1.2", - "karma": "~0.12.15" + "karma-requirejs": "~0.2.1", + "karma-script-launcher": "~0.1.0", + "requirejs": "~2.1.11" + }, + "directories": { + "test": "test" } } From 9e7f50dfd8faabd9e06826da6fd74962d531d7f1 Mon Sep 17 00:00:00 2001 From: Jerke Combee Date: Wed, 25 May 2016 18:06:35 +0200 Subject: [PATCH 2/8] Updated Docs --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23cf042..54e58ea 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ Cache Buster for Angular JS $http and $resource. Especially useful with Internet Explorer (IE8, IE9) +This repository is forked from + # install - bower install angular-cache-buster --save + bower install 'git://github.com/j-combee/angular-cache-buster.git#0.5.0' In your app module definition, add `ngCacheBuster` as a dependency @@ -29,6 +31,17 @@ If instead you want to allow everything to be cached, except your "/api/users" a httpRequestInterceptorCacheBusterProvider.setMatchlist([/.*orders.*/,/.*users.*/],true); }); +If you have a personal key that you want to append on the url you can set that key like this. + + + angular.module('yourApp', ['ngCacheBuster']) + .config(function(httpRequestInterceptorCacheBusterProvider){ + httpRequestInterceptorCacheBusterProvider.setMatchlist([/.*orders.*/,/.*users.*/],true).setCustomKey('YourOwnKey'); + }); + +This is used for versioning. + + # use That's it! All your resource calls will have a cache buster added for anything not in the whitelist, or if you specified "blacklist", for everything matching the blacklist, From a55b205963eeded9fbb135d864c60e977509577c Mon Sep 17 00:00:00 2001 From: Jerke Combee Date: Wed, 25 May 2016 18:08:00 +0200 Subject: [PATCH 3/8] Version UP --- README.md | 2 +- bower.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 54e58ea..f06c91d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This repository is forked from # install - bower install 'git://github.com/j-combee/angular-cache-buster.git#0.5.0' + bower install 'git://github.com/j-combee/angular-cache-buster.git#0.5.1' In your app module definition, add `ngCacheBuster` as a dependency diff --git a/bower.json b/bower.json index 670eb90..5140f23 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-cache-buster", - "version": "0.5.0", + "version": "0.5.1", "homepage": "https://github.com/saintmac/angular-cache-buster", "authors": [ "saintmac " diff --git a/package.json b/package.json index 6574cb6..4a13770 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-cache-buster", - "version": "0.4.3", + "version": "0.5.1", "description": "Cache Buster for AngularJS $http (and $resource). Especially useful with Internet Explorer (IE8, IE9)", "main": "angular-cache-buster.js", "scripts": { From 9ac9d1c9a27a91c3ec5f3cd643e12576b9896058 Mon Sep 17 00:00:00 2001 From: Jerke Combee Date: Thu, 26 May 2016 10:48:08 +0200 Subject: [PATCH 4/8] Fixed bug on getting the key value and version up 0.5.2 --- README.md | 9 ++++++++- bower.json | 2 +- dist/angular-cache-buster.js | 9 +++------ dist/angular-cache-buster.min.js | 2 +- lib/angular-cache-buster.js | 9 +++------ package.json | 2 +- 6 files changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index f06c91d..e376608 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,14 @@ This repository is forked from # install - bower install 'git://github.com/j-combee/angular-cache-buster.git#0.5.1' +Add this to your bower.json file. + + { + "dependencies": { + "angular-cache-buster": "https://github.com/j-combee/angular-cache-buster.git#0.5.2" + } + } + In your app module definition, add `ngCacheBuster` as a dependency diff --git a/bower.json b/bower.json index 5140f23..8bb91bd 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-cache-buster", - "version": "0.5.1", + "version": "0.5.2", "homepage": "https://github.com/saintmac/angular-cache-buster", "authors": [ "saintmac " diff --git a/dist/angular-cache-buster.js b/dist/angular-cache-buster.js index 4825c07..ab3103f 100644 --- a/dist/angular-cache-buster.js +++ b/dist/angular-cache-buster.js @@ -21,8 +21,7 @@ angular.module('ngCacheBuster', []) //Set a custom bust key to bust the cache this.setCustomKey = function (key) { - this.black = typeof black != 'undefined' ? black : false - this.matchlist = list; + this.key = key; }; @@ -34,6 +33,7 @@ angular.module('ngCacheBuster', []) var matchlist = this.matchlist; var logRequests = this.logRequests; var black = this.black; + var key = this.key; if (logRequests) { $log.log("Blacklist? ", black); } @@ -51,10 +51,7 @@ angular.module('ngCacheBuster', []) //Bust if the URL was on blacklist or not on whitelist if (busted) { - var key; - if (this.key) { - key = this.key; - } else { + if (!key) { var d = new Date(); key = d.getTime(); } diff --git a/dist/angular-cache-buster.min.js b/dist/angular-cache-buster.min.js index c062525..3ff8967 100644 --- a/dist/angular-cache-buster.min.js +++ b/dist/angular-cache-buster.min.js @@ -1 +1 @@ -angular.module("ngCacheBuster",[]).config(["$httpProvider",function(t){return t.interceptors.push("httpRequestInterceptorCacheBuster")}]).provider("httpRequestInterceptorCacheBuster",function(){this.matchlist=[/.*partials.*/,/.*views.*/],this.logRequests=!1,this.black=!1,this.key=!1,this.setMatchlist=function(t,e){this.black="undefined"!=typeof e?e:!1,this.matchlist=t},this.setCustomKey=function(t){this.black="undefined"!=typeof black?black:!1,this.matchlist=list},this.setLogRequests=function(t){this.logRequests=t},this.$get=["$q","$log",function(t,e){var s=this.matchlist,i=this.logRequests,r=this.black;return i&&e.log("Blacklist? ",r),{request:function(u){for(var h=!r,l=0;l Date: Thu, 26 May 2016 13:23:15 +0200 Subject: [PATCH 5/8] Use Strict --- dist/angular-cache-buster.js | 121 ++++++++++++++++--------------- dist/angular-cache-buster.min.js | 2 +- lib/angular-cache-buster.js | 121 ++++++++++++++++--------------- 3 files changed, 125 insertions(+), 119 deletions(-) diff --git a/dist/angular-cache-buster.js b/dist/angular-cache-buster.js index ab3103f..af4c9db 100644 --- a/dist/angular-cache-buster.js +++ b/dist/angular-cache-buster.js @@ -1,75 +1,78 @@ -angular.module('ngCacheBuster', []) - .config(['$httpProvider', function ($httpProvider) { - return $httpProvider.interceptors.push('httpRequestInterceptorCacheBuster'); - }]) - .provider('httpRequestInterceptorCacheBuster', function () { +(function () { + 'use strict'; - this.matchlist = [/.*partials.*/, /.*views.*/]; - this.logRequests = false; + angular.module('ngCacheBuster', []) + .config(['$httpProvider', function ($httpProvider) { + return $httpProvider.interceptors.push('httpRequestInterceptorCacheBuster'); + }]) + .provider('httpRequestInterceptorCacheBuster', function () { - //Default to whitelist (i.e. block all except matches) - this.black = false; + this.matchlist = [/.*partials.*/, /.*views.*/]; + this.logRequests = false; - //Optional custom bust key - this.key = false; + //Default to whitelist (i.e. block all except matches) + this.black = false; - //Select blacklist or whitelist, default to whitelist - this.setMatchlist = function (list, black) { - this.black = typeof black != 'undefined' ? black : false - this.matchlist = list; - }; + //Optional custom bust key + this.key = false; - //Set a custom bust key to bust the cache - this.setCustomKey = function (key) { - this.key = key; - }; + //Select blacklist or whitelist, default to whitelist + this.setMatchlist = function (list, black) { + this.black = typeof black != 'undefined' ? black : false + this.matchlist = list; + }; + //Set a custom bust key to bust the cache + this.setCustomKey = function (key) { + this.key = key; + }; - this.setLogRequests = function (logRequests) { - this.logRequests = logRequests; - }; - this.$get = ['$q', '$log', function ($q, $log) { - var matchlist = this.matchlist; - var logRequests = this.logRequests; - var black = this.black; - var key = this.key; - if (logRequests) { - $log.log("Blacklist? ", black); - } - return { - 'request': function (config) { - //Blacklist by default, match with whitelist - var busted = !black; + this.setLogRequests = function (logRequests) { + this.logRequests = logRequests; + }; - for (var i = 0; i < matchlist.length; i++) { - if (config.url.match(matchlist[i])) { - busted = black; - break; + this.$get = ['$q', '$log', function ($q, $log) { + var matchlist = this.matchlist; + var logRequests = this.logRequests; + var black = this.black; + var key = this.key; + if (logRequests) { + $log.log("Blacklist? ", black); + } + return { + 'request': function (config) { + //Blacklist by default, match with whitelist + var busted = !black; + + for (var i = 0; i < matchlist.length; i++) { + if (config.url.match(matchlist[i])) { + busted = black; + break; + } } - } - //Bust if the URL was on blacklist or not on whitelist - if (busted) { - if (!key) { - var d = new Date(); - key = d.getTime(); + //Bust if the URL was on blacklist or not on whitelist + if (busted) { + if (!key) { + var d = new Date(); + key = d.getTime(); + } + config.url = config.url.replace(/[?|&]cacheBuster=\d+/, ''); + //Some url's allready have '?' attached + config.url += config.url.indexOf('?') === -1 ? '?' : '&' + config.url += 'cacheBuster=' + key; } - config.url = config.url.replace(/[?|&]cacheBuster=\d+/, ''); - //Some url's allready have '?' attached - config.url += config.url.indexOf('?') === -1 ? '?' : '&' - config.url += 'cacheBuster=' + key; - } - if (logRequests) { - var log = 'request.url =' + config.url - busted ? $log.warn(log) : $log.info(log) - } + if (logRequests) { + var log = 'request.url =' + config.url + busted ? $log.warn(log) : $log.info(log) + } - return config || $q.when(config); + return config || $q.when(config); + } } - } - }]; - }); - + }]; + }); +})(); diff --git a/dist/angular-cache-buster.min.js b/dist/angular-cache-buster.min.js index 3ff8967..0059d6b 100644 --- a/dist/angular-cache-buster.min.js +++ b/dist/angular-cache-buster.min.js @@ -1 +1 @@ -angular.module("ngCacheBuster",[]).config(["$httpProvider",function(t){return t.interceptors.push("httpRequestInterceptorCacheBuster")}]).provider("httpRequestInterceptorCacheBuster",function(){this.matchlist=[/.*partials.*/,/.*views.*/],this.logRequests=!1,this.black=!1,this.key=!1,this.setMatchlist=function(t,e){this.black="undefined"!=typeof e?e:!1,this.matchlist=t},this.setCustomKey=function(t){this.key=t},this.setLogRequests=function(t){this.logRequests=t},this.$get=["$q","$log",function(t,e){var s=this.matchlist,i=this.logRequests,r=this.black,u=this.key;return i&&e.log("Blacklist? ",r),{request:function(h){for(var n=!r,c=0;c Date: Thu, 26 May 2016 15:34:28 +0200 Subject: [PATCH 6/8] Added jshint and fixed jshint warnings --- dist/angular-cache-buster.js | 14 +++++++++----- gulpfile.js | 3 +++ lib/angular-cache-buster.js | 14 +++++++++----- package.json | 2 ++ 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/dist/angular-cache-buster.js b/dist/angular-cache-buster.js index af4c9db..01f44b7 100644 --- a/dist/angular-cache-buster.js +++ b/dist/angular-cache-buster.js @@ -18,7 +18,7 @@ //Select blacklist or whitelist, default to whitelist this.setMatchlist = function (list, black) { - this.black = typeof black != 'undefined' ? black : false + this.black = typeof black != 'undefined' ? black : false; this.matchlist = list; }; @@ -60,18 +60,22 @@ } config.url = config.url.replace(/[?|&]cacheBuster=\d+/, ''); //Some url's allready have '?' attached - config.url += config.url.indexOf('?') === -1 ? '?' : '&' + config.url += config.url.indexOf('?') === -1 ? '?' : '&'; config.url += 'cacheBuster=' + key; } if (logRequests) { - var log = 'request.url =' + config.url - busted ? $log.warn(log) : $log.info(log) + var log = 'request.url =' + config.url; + if (busted) { + $log.warn(log); + } else { + $log.info(log); + } } return config || $q.when(config); } - } + }; }]; }); diff --git a/gulpfile.js b/gulpfile.js index 5085e20..243805b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,8 +1,11 @@ var gulp = require('gulp'); +var jshint = require('gulp-jshint'); var minify = require('gulp-minify'); gulp.task('compress', function () { gulp.src('lib/*.js') + .pipe(jshint()) + .pipe(jshint.reporter('default')) .pipe(minify({ ext: { src: '.js', diff --git a/lib/angular-cache-buster.js b/lib/angular-cache-buster.js index af4c9db..01f44b7 100644 --- a/lib/angular-cache-buster.js +++ b/lib/angular-cache-buster.js @@ -18,7 +18,7 @@ //Select blacklist or whitelist, default to whitelist this.setMatchlist = function (list, black) { - this.black = typeof black != 'undefined' ? black : false + this.black = typeof black != 'undefined' ? black : false; this.matchlist = list; }; @@ -60,18 +60,22 @@ } config.url = config.url.replace(/[?|&]cacheBuster=\d+/, ''); //Some url's allready have '?' attached - config.url += config.url.indexOf('?') === -1 ? '?' : '&' + config.url += config.url.indexOf('?') === -1 ? '?' : '&'; config.url += 'cacheBuster=' + key; } if (logRequests) { - var log = 'request.url =' + config.url - busted ? $log.warn(log) : $log.info(log) + var log = 'request.url =' + config.url; + if (busted) { + $log.warn(log); + } else { + $log.info(log); + } } return config || $q.when(config); } - } + }; }]; }); diff --git a/package.json b/package.json index 016c986..b04e4a4 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,9 @@ "devDependencies": { "gulp": "^3.9.1", "gulp-cli": "^1.2.1", + "gulp-jshint": "^2.0.1", "gulp-minify": "0.0.11", + "jshint": "^2.9.2", "karma": "~0.12.15", "karma-chrome-launcher": "~0.1.3", "karma-coffee-preprocessor": "~0.1.3", From e85c21bc462aaf7db937f1e3d7232d585bd1bd3a Mon Sep 17 00:00:00 2001 From: Jerke Combee Date: Thu, 26 May 2016 15:37:49 +0200 Subject: [PATCH 7/8] Updated readme with injected provider --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e376608..03003ad 100644 --- a/README.md +++ b/README.md @@ -26,25 +26,25 @@ Since you probably want to maintain browser caching for your views, partials or For instance, if you want to bust everything except views in a 'partials' folder and images in a 'images' folder , you can configure AngularCacheBuster this way: angular.module('yourApp', ['ngCacheBuster']) - .config(function(httpRequestInterceptorCacheBusterProvider){ + .config(['httpRequestInterceptorCacheBusterProvider', function(httpRequestInterceptorCacheBusterProvider){ httpRequestInterceptorCacheBusterProvider.setMatchlist([/.*partials.*/,/.*images.*/]); - }); + }]); If instead you want to allow everything to be cached, except your "/api/users" and "api/orders" (assuming they are the only things that change frequently), you can supply a matchlist as before, but pass in a second boolean argument "blacklist" set to true as well: angular.module('yourApp', ['ngCacheBuster']) - .config(function(httpRequestInterceptorCacheBusterProvider){ + .config(['httpRequestInterceptorCacheBusterProvider', function(httpRequestInterceptorCacheBusterProvider){ httpRequestInterceptorCacheBusterProvider.setMatchlist([/.*orders.*/,/.*users.*/],true); - }); + }]); If you have a personal key that you want to append on the url you can set that key like this. angular.module('yourApp', ['ngCacheBuster']) - .config(function(httpRequestInterceptorCacheBusterProvider){ + .config(['httpRequestInterceptorCacheBusterProvider', function(httpRequestInterceptorCacheBusterProvider){ httpRequestInterceptorCacheBusterProvider.setMatchlist([/.*orders.*/,/.*users.*/],true).setCustomKey('YourOwnKey'); - }); + }]); This is used for versioning. From 7a61f9cd39d7541e8a46c26e4eb65817c81894de Mon Sep 17 00:00:00 2001 From: Jerke Combee Date: Thu, 26 May 2016 15:38:09 +0200 Subject: [PATCH 8/8] Version Up 0.5.3 --- README.md | 2 +- bower.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03003ad..a517bd8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Add this to your bower.json file. { "dependencies": { - "angular-cache-buster": "https://github.com/j-combee/angular-cache-buster.git#0.5.2" + "angular-cache-buster": "https://github.com/j-combee/angular-cache-buster.git#0.5.3" } } diff --git a/bower.json b/bower.json index 8bb91bd..56193b5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-cache-buster", - "version": "0.5.2", + "version": "0.5.3", "homepage": "https://github.com/saintmac/angular-cache-buster", "authors": [ "saintmac " diff --git a/package.json b/package.json index b04e4a4..8a36b87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-cache-buster", - "version": "0.5.2", + "version": "0.5.3", "description": "Cache Buster for AngularJS $http (and $resource). Especially useful with Internet Explorer (IE8, IE9)", "main": "angular-cache-buster.js", "scripts": {