Skip to content

Commit 4ca9ac1

Browse files
Adam DraperAdam Draper
Adam Draper
authored and
Adam Draper
committed
update numeral version
1 parent 2a69b18 commit 4ca9ac1

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

Gruntfile.js

+20-1
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,27 @@ module.exports = function(grunt) {
211211
}
212212
});
213213

214+
grunt.config('string-replace.numeral', {
215+
files: {
216+
'src/numeral.js': 'src/numeral.js'
217+
},
218+
options: {
219+
replacements: [
220+
{
221+
pattern: /version : .*/,
222+
replacement: 'version : ' + version
223+
},
224+
{
225+
pattern: /VERSION = .*/,
226+
replacement: 'VERSION = \'' + version + '\','
227+
}
228+
]
229+
}
230+
});
231+
214232
grunt.task.run([
215-
'string-replace:json'
233+
'string-replace:json',
234+
'string-replace:numeral'
216235
]);
217236
});
218237

src/numeral.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*! @preserve
22
* numeral.js
3-
* version : 2.0.3
3+
* version : 2.0.4
44
* author : Adam Draper
55
* license : MIT
66
* http://adamwdraper.github.com/Numeral-js/
@@ -21,7 +21,7 @@
2121

2222
var numeral,
2323
_,
24-
VERSION = '2.0.3',
24+
VERSION = '2.0.4',
2525
formats = {},
2626
locales = {},
2727
defaults = {

0 commit comments

Comments
 (0)