starch 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/README.md +1 -1
- data/lib/starch/version.rb +1 -1
- data/skel/Gruntfile.js +14 -10
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 001260d36c04da6ab36e809b03a31fa0b3c201f3
|
|
4
|
+
data.tar.gz: 0dc835c3969b979b421aec0f18642e14b9a47fae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cf3dd7e1b13d1d9f0ec852e2df3e137e4ee8eef5d45bd9b355c5765997a6129e3c051dfe7d29b3428efcd8b7cf7224daa223001c47baf10aea7291e45330d9b
|
|
7
|
+
data.tar.gz: 77846452656d43ea9332bcce7bbbe2db779ba8753cb329620ec8ddc3cbdac4fceea7f61f13491aa198d0b77d94e1b360e60880e0b4c03c8ac90e3a993586583b
|
data/.travis.yml
ADDED
data/README.md
CHANGED
|
@@ -57,7 +57,7 @@ like this:
|
|
|
57
57
|
* These files will be parsed with Handlebars.
|
|
58
58
|
* You can include a YAML block (in between two lines of `---`) at the top of
|
|
59
59
|
the file with frontmatter. The data provided here will be available in the
|
|
60
|
-
file and in the file's template.
|
|
60
|
+
file and in the file's template, via the `page` object.
|
|
61
61
|
* Partials should live in `app/assets/partials/` with `.hbp` extensions.
|
|
62
62
|
* You can use partials in your HTML files and in your templates in standard
|
|
63
63
|
Handlebars fashion ( `{{> my-partial-name}}` ).
|
data/lib/starch/version.rb
CHANGED
data/skel/Gruntfile.js
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
module.exports = function(grunt) {
|
|
2
2
|
grunt.initConfig({
|
|
3
3
|
pkg: grunt.file.readJSON('package.json'),
|
|
4
|
+
config: {
|
|
5
|
+
stagingDir: 'staging',
|
|
6
|
+
buildDir: 'public_html'
|
|
7
|
+
},
|
|
4
8
|
clean: {
|
|
5
|
-
staging: ['
|
|
6
|
-
build: ['
|
|
9
|
+
staging: ['<%= config.stagingDir %>'],
|
|
10
|
+
build: ['<%= config.buildDir %>']
|
|
7
11
|
},
|
|
8
12
|
coffee: {
|
|
9
13
|
staging: {
|
|
10
14
|
expand: true,
|
|
11
15
|
cwd: 'app',
|
|
12
16
|
src: 'assets/js/**/*.coffee',
|
|
13
|
-
dest: '
|
|
17
|
+
dest: '<%= config.stagingDir %>',
|
|
14
18
|
ext: '.js'
|
|
15
19
|
},
|
|
16
20
|
build: {
|
|
17
21
|
expand: true,
|
|
18
22
|
cwd: 'app',
|
|
19
23
|
src: 'assets/js/**/*.coffee',
|
|
20
|
-
dest: '
|
|
24
|
+
dest: '<%= config.buildDir %>',
|
|
21
25
|
ext: '.js'
|
|
22
26
|
}
|
|
23
27
|
},
|
|
@@ -27,7 +31,7 @@ module.exports = function(grunt) {
|
|
|
27
31
|
expand: true,
|
|
28
32
|
cwd: 'app',
|
|
29
33
|
src: 'assets/{files,fonts,images}/**/*',
|
|
30
|
-
dest: '
|
|
34
|
+
dest: '<%= config.stagingDir %>'
|
|
31
35
|
}]
|
|
32
36
|
},
|
|
33
37
|
build: {
|
|
@@ -35,7 +39,7 @@ module.exports = function(grunt) {
|
|
|
35
39
|
expand: true,
|
|
36
40
|
cwd: 'app',
|
|
37
41
|
src: 'assets/{files,fonts,images}/**/*',
|
|
38
|
-
dest: '
|
|
42
|
+
dest: '<%= config.buildDir %>'
|
|
39
43
|
}]
|
|
40
44
|
}
|
|
41
45
|
},
|
|
@@ -62,7 +66,7 @@ module.exports = function(grunt) {
|
|
|
62
66
|
files: [{
|
|
63
67
|
cwd: 'app/pages',
|
|
64
68
|
src: '**/*.html',
|
|
65
|
-
dest: '
|
|
69
|
+
dest: '<%= config.stagingDir %>',
|
|
66
70
|
ext: '.html'
|
|
67
71
|
}]
|
|
68
72
|
},
|
|
@@ -70,7 +74,7 @@ module.exports = function(grunt) {
|
|
|
70
74
|
files: [{
|
|
71
75
|
cwd: 'app/pages',
|
|
72
76
|
src: '**/*.html',
|
|
73
|
-
dest: '
|
|
77
|
+
dest: '<%= config.buildDir %>',
|
|
74
78
|
ext: '.html'
|
|
75
79
|
}]
|
|
76
80
|
}
|
|
@@ -104,7 +108,7 @@ module.exports = function(grunt) {
|
|
|
104
108
|
expand: true,
|
|
105
109
|
cwd: 'app',
|
|
106
110
|
src: 'assets/js/**/*.js',
|
|
107
|
-
dest: '
|
|
111
|
+
dest: '<%= config.stagingDir %>'
|
|
108
112
|
}]
|
|
109
113
|
},
|
|
110
114
|
build: {
|
|
@@ -112,7 +116,7 @@ module.exports = function(grunt) {
|
|
|
112
116
|
expand: true,
|
|
113
117
|
cwd: 'app',
|
|
114
118
|
src: 'assets/js/**/*.js',
|
|
115
|
-
dest: '
|
|
119
|
+
dest: '<%= config.buildDir %>'
|
|
116
120
|
}]
|
|
117
121
|
}
|
|
118
122
|
},
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: starch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian O'Keefe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -75,6 +75,7 @@ extensions: []
|
|
|
75
75
|
extra_rdoc_files: []
|
|
76
76
|
files:
|
|
77
77
|
- ".gitignore"
|
|
78
|
+
- ".travis.yml"
|
|
78
79
|
- Gemfile
|
|
79
80
|
- LICENSE.txt
|
|
80
81
|
- README.md
|