starch 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dbb26c89145297f806dbaf3f01e60d896669802
4
- data.tar.gz: 39d72079f264416902ad25d1906a2265c95cd3e6
3
+ metadata.gz: 001260d36c04da6ab36e809b03a31fa0b3c201f3
4
+ data.tar.gz: 0dc835c3969b979b421aec0f18642e14b9a47fae
5
5
  SHA512:
6
- metadata.gz: 664a17c1641bd6da3285b4a19f339a4ea2fde063ab299f16a4211ad1607dfac3c040f78bcec6b6dc697b251495f2c41526925d556433742cdaa0eec36aba722c
7
- data.tar.gz: 05eab8ee19f3354c4c0155a14247d65e3800403b33f2dc09323480c6430305d6f15068e21a958ed01087b66969811caeeca5a903c750ee9aad89802d23d7c629
6
+ metadata.gz: 5cf3dd7e1b13d1d9f0ec852e2df3e137e4ee8eef5d45bd9b355c5765997a6129e3c051dfe7d29b3428efcd8b7cf7224daa223001c47baf10aea7291e45330d9b
7
+ data.tar.gz: 77846452656d43ea9332bcce7bbbe2db779ba8753cb329620ec8ddc3cbdac4fceea7f61f13491aa198d0b77d94e1b360e60880e0b4c03c8ac90e3a993586583b
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.2
4
+ - 2.1.1
5
+ - 2.1.0
6
+ - 2.0.0
7
+ - 1.9.3
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}}` ).
@@ -1,3 +1,3 @@
1
1
  module Starch
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
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: ['staging'],
6
- build: ['public_html']
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: 'staging',
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: 'public_html',
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: 'staging'
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: 'public_html'
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: 'staging',
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: 'public_html',
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: 'staging'
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: 'public_html'
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.1.0
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-20 00:00:00.000000000 Z
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