Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit af46c1a

Browse files
committed
Merge pull request #13 from doug-martin/master
v0.2.0
2 parents 018faf2 + b98e270 commit af46c1a

File tree

12 files changed

+599
-204
lines changed

12 files changed

+599
-204
lines changed

.jshintrc

Lines changed: 49 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,56 @@
11
{
22
"predef": [
3-
"jasmine",
4-
"spyOn",
5-
"it",
6-
"console",
7-
"describe",
8-
"expect",
9-
"beforeEach",
10-
"afterEach",
11-
"waits",
12-
"waitsFor",
13-
"runs",
14-
"$",
15-
"jQuery",
16-
"_",
17-
"require",
18-
"define",
19-
"sinon",
20-
"thumbs"
3+
"console"
214
],
225

23-
"node" : true,
24-
"browser" : true,
25-
"devel" : true,
26-
"jquery" : true,
6+
"node": true,
7+
"browser": false,
8+
"devel": true,
9+
"jquery": false,
2710

28-
"bitwise" : false,
29-
"camelcase" : true,
30-
"curly" : true,
31-
"eqeqeq" : true,
32-
"forin" : false,
33-
"immed" : true,
34-
"indent" : 4,
35-
"latedef" : true,
36-
"newcap" : true,
37-
"noarg" : true,
38-
"noempty" : true,
39-
"nonew" : false,
40-
"plusplus" : false,
41-
"quotmark" : false,
42-
"regexp" : false,
43-
"undef" : true,
44-
"unused" : false,
45-
"strict" : false,
46-
"trailing" : true,
47-
"white" : false,
11+
"bitwise": false,
12+
"camelcase": true,
13+
"curly": true,
14+
"eqeqeq": true,
15+
"forin": false,
16+
"immed": true,
17+
"indent": 4,
18+
"latedef": true,
19+
"newcap": true,
20+
"noarg": true,
21+
"noempty": true,
22+
"nonew": false,
23+
"plusplus": false,
24+
"quotmark": false,
25+
"regexp": false,
26+
"undef": true,
27+
"unused": false,
28+
"strict": false,
29+
"trailing": true,
30+
"white": false,
4831

49-
"asi" : false,
50-
"boss" : false,
51-
"debug" : false,
52-
"eqnull" : true,
53-
"es5" : true,
54-
"esnext" : true,
55-
"evil" : false,
56-
"expr" : true,
57-
"funcscope" : false,
58-
"globalstrict" : false,
59-
"iterator" : false,
60-
"lastsemic" : false,
61-
"laxbreak" : false,
62-
"laxcomma" : false,
63-
"loopfunc" : false,
64-
"multistr" : false,
65-
"onecase" : false,
66-
"proto" : false,
67-
"regexdash" : false,
68-
"scripturl" : false,
69-
"smarttabs" : false,
70-
"shadow" : false,
71-
"sub" : true,
72-
"supernew" : true,
73-
"validthis" : false
32+
"asi": false,
33+
"boss": false,
34+
"debug": false,
35+
"eqnull": true,
36+
"esnext": true,
37+
"evil": false,
38+
"expr": true,
39+
"funcscope": false,
40+
"globalstrict": false,
41+
"iterator": false,
42+
"lastsemic": false,
43+
"laxbreak": false,
44+
"laxcomma": false,
45+
"loopfunc": false,
46+
"multistr": false,
47+
"onecase": false,
48+
"proto": false,
49+
"regexdash": false,
50+
"scripturl": false,
51+
"smarttabs": false,
52+
"shadow": false,
53+
"sub": true,
54+
"supernew": true,
55+
"validthis": false
7456
}

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
docs
3+
test
4+
*.iml
5+
.idea

Gruntfile.js

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
/*global module:false*/
22
module.exports = function (grunt) {
3-
var fs = require('fs');
4-
5-
// grunt doesn't natively support reading config from .jshintrc yet
6-
var jshintOptions = JSON.parse(fs.readFileSync('./.jshintrc'));
7-
83
// Project configuration.
94
grunt.initConfig({
10-
pkg: '<json:package.json>',
11-
meta: {
12-
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
13-
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
14-
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
15-
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>;' +
16-
' Licensed <%= pkg.license %> */'
5+
pkg: grunt.file.readJSON('package.json'),
6+
7+
exec: {
8+
removeDocs: "rm -rf docs/*",
9+
createDocs: 'coddoc -f multi-html -d ./lib --dir ./docs'
1710
},
1811

1912
jshint: {
@@ -28,20 +21,16 @@ module.exports = function (grunt) {
2821
src: 'test/**/*.test.js',
2922
options: {
3023
timeout: 3000, // not fully supported yet
31-
reporter: 'dotmatrix'
24+
reporter: 'spec'
3225
}
3326
}
34-
},
35-
watch: {
36-
files: '<config:lint.files>',
37-
tasks: 'lint it'
38-
},
39-
uglify: {}
27+
}
4028
});
4129

30+
// Default task.
31+
grunt.registerTask('default', ['jshint', 'it', "exec"]);
4232
grunt.loadNpmTasks('grunt-it');
4333
grunt.loadNpmTasks('grunt-contrib-jshint');
44-
// Default task.
45-
grunt.registerTask('default', ['jshint', 'it']);
34+
grunt.loadNpmTasks('grunt-exec');
4635

4736
};

HISTORY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# v0.2.0
2+
3+
* Added etcd support [#12](https://github.com/C2FO/gofigure/pull/12) - [@brockwood](https://github.com/brockwood)
4+
5+
# v0.0.1
6+
7+
* Initial release

0 commit comments

Comments
 (0)