Skip to content

Commit edef84c

Browse files
author
Remi GOYARD
committed
Release 2.0.2
1 parent 1c4db3e commit edef84c

File tree

6 files changed

+21
-10
lines changed

6 files changed

+21
-10
lines changed

Gruntfile.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ module.exports = function (grunt) {
77
options: {
88
banner: '/**\n* <%= pkg.title %>.\n*\n* @author <%= pkg.author %>\n' +
99
'* @version <%= pkg.version %>\n' +
10-
'* @license <%= grunt.util.toArray(pkg.licenses)[0].title %>\n' +
10+
'* @license MIT \n' +
11+
'* @license GPLv2 \n' +
1112
'* @date <%= grunt.template.today("yyyy-mm-dd") %>\n' +
1213
'**/\n',
1314
compress: true
@@ -22,7 +23,8 @@ module.exports = function (grunt) {
2223
options: {
2324
banner: '/**\n* <%= pkg.title %>.\n*\n* @author <%= pkg.author %>\n' +
2425
'* @version <%= pkg.version %>\n' +
25-
'* @license <%= grunt.util.toArray(pkg.licenses)[0].title %>\n' +
26+
'* @license MIT \n' +
27+
'* @license GPLv2 \n' +
2628
'* @date <%= grunt.template.today("yyyy-mm-dd") %>\n' +
2729
'**/'
2830
},
@@ -55,7 +57,14 @@ module.exports = function (grunt) {
5557
]);
5658

5759

58-
grunt.registerTask('release-minor', ['bumpup:minor','updatePkg','build','tagrelease']);
60+
//grunt.registerTask('release-minor', ['bumpup:minor','','build','tagrelease']);
61+
grunt.registerTask('release', function (type) {
62+
type = type ? type : 'patch';
63+
grunt.task.run('bumpup:' + type); // Bump up the package version
64+
grunt.task.run('updatePkg'); // Bump up the package version
65+
grunt.task.run('build');
66+
grunt.task.run('tagrelease'); // Commit & tag the changes from above
67+
});
5968
// Default task(s).
6069
grunt.registerTask('default', ['build']);
6170

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-loader-plugin",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"main": [
55
"jquery.loader.js",
66
"jquery.loader.css"

loader.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loader",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"title": "jQuery Loader Plugin",
55
"author": {
66
"name": "Rémi Goyard",

min/jquery.loader.min.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
* jQuery Loader Plugin.
33
*
44
* @author Rémi Goyard (https://www.mimiz.fr/)
5-
* @version 2.9.0
6-
* @license
5+
* @version 2.0.2
6+
* @license MIT
7+
* @license GPLv2
78
* @date 2013-07-21
89
**/
910
@CHARSET "UTF-8";#jquery-loader{border:2px #000 solid;padding-top:35px;background-color:#fff;text-align:center}#jquery-loader-background{background-color:silver}#jquery-loader.blue-with-image{border:2px #008587 solid;padding-top:35px;background-color:#fff;text-align:center;background-image:url(images/ajax-loader.gif);background-position:center center;background-repeat:no-repeat}#jquery-loader.blue-with-image-2{border:0;padding-top:35px;background-color:transparent;text-align:center;background-image:url(images/ajax-loader.gif);background-position:center center;background-repeat:no-repeat}

min/jquery.loader.min.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-loader-plugin",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"title": "jQuery Loader Plugin",
55
"author": "Rémi Goyard (https://www.mimiz.fr/)",
66
"licenses": [

0 commit comments

Comments
 (0)