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 +4 -4
- data/lib/pave/theme.rb +6 -1
- data/lib/pave/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22bddc75d1dfcaaba98e11a18d318fee148c47dd
|
4
|
+
data.tar.gz: d927c014f275c6104a77986c9779d50ac66c4106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fed93e259f84312c5e0c6b4a3d6b925bf234ea1958e492947dca30679453943d4ed49016706336e1087507115fe8d13085f6bee178e4a2ff9c07ca9162908d2
|
7
|
+
data.tar.gz: 665706f873741c20bf04965774ca77b958fff08913c1eb30ba6a232dad827fd4f9796c9e300294e019db94a283f0e66ee239259c518de9718e0606033fb6d7a5
|
data/lib/pave/theme.rb
CHANGED
@@ -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
|
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"
|
data/lib/pave/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|