pave 0.15.0 → 0.16.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: 4ff4bfda4339f7822940b422dceacff496933bae
4
- data.tar.gz: a33593d9f7d0f64036223e79a303f077786e0d35
3
+ metadata.gz: 22bddc75d1dfcaaba98e11a18d318fee148c47dd
4
+ data.tar.gz: d927c014f275c6104a77986c9779d50ac66c4106
5
5
  SHA512:
6
- metadata.gz: 726112c791f2752da003130870ef703c6d93d3ad6e950650636f758d176676fb65ab6a7a921784b41d2b774844c9df7d0d1975400a51ace5d85fb5b957f8ee9b
7
- data.tar.gz: 4ad862c750b2477af78ff2fe28a62d0dbeb6d96ceb5d302d9a9286bf21eef627e823e59cd2a15b8e57067d4aa5a1d6bb2915493d3d174477a3055038f562c551
6
+ metadata.gz: 7fed93e259f84312c5e0c6b4a3d6b925bf234ea1958e492947dca30679453943d4ed49016706336e1087507115fe8d13085f6bee178e4a2ff9c07ca9162908d2
7
+ data.tar.gz: 665706f873741c20bf04965774ca77b958fff08913c1eb30ba6a232dad827fd4f9796c9e300294e019db94a283f0e66ee239259c518de9718e0606033fb6d7a5
@@ -12,7 +12,7 @@ module Pave
12
12
  processes = []
13
13
  processes << Process.spawn("pave livereload #{browser}", out: $stdout, err: $stderr)
14
14
  processes << Process.spawn("sass --watch ./themes/ --style compressed", out: $stdout, err: $stderr)
15
- processes << Process.spawn("coffee -wcj ./themes/#{name}/js/app.js ./themes/#{name}/js/", out: $stdout, err: $stderr)
15
+ processes << Process.spawn("coffee -wcj #{coffee_folder}app.js #{coffee_folder}", out: $stdout, err: $stderr)
16
16
 
17
17
  Signal.trap("INT") do
18
18
  processes.map do |pid|
@@ -29,6 +29,11 @@ module Pave
29
29
  @name = name
30
30
  end
31
31
 
32
+ def coffee_folder
33
+ coffee_path = `find ./themes -name 'app.js'`
34
+ coffee_path.gsub("/app.js", "/").strip
35
+ end
36
+
32
37
  def install_sass
33
38
  say "Installing SASS..."
34
39
  sh "gem install sass"
@@ -1,3 +1,3 @@
1
1
  module Pave
2
- VERSION = "0.15.0"
2
+ VERSION = "0.16.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pave
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamon Holmgren
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-14 00:00:00.000000000 Z
12
+ date: 2014-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler