ssproto 1.0.5 → 1.0.6
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/lib/ssproto.rb +3 -0
- data/template/coffee/example.coffee +1 -0
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13764d6bbcf85da90246bc9d98ff30962758b9dc
|
|
4
|
+
data.tar.gz: 7a20e74a3249651bb033bb640ccdc0f082089f55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f00594e1c03ef2c120144fdf14a8d3b87ed70b797b64af02f341fe4ca6da4c53bb3b92708c074e7b0a7d4b24d814bea4a6fe5a0b799e969051d7a67370aad1ee
|
|
7
|
+
data.tar.gz: e03f67e22d697fee95270b916543c63eab429b671e7c478e7b0057739d28ddba858d4ed7b7f57763d01457195d35b595706f77ef9dd7e985e09ff478d6377e3a
|
data/lib/ssproto.rb
CHANGED
|
@@ -9,6 +9,8 @@ class SSProto
|
|
|
9
9
|
begin
|
|
10
10
|
sass =Process.spawn("sass --watch sass/:css/ --style compressed")
|
|
11
11
|
Process.detach sass
|
|
12
|
+
coffee = Process.spawn("coffee -o js -cw coffee")
|
|
13
|
+
Process.detach coffee
|
|
12
14
|
SSProto::Slim.setSlimOptions :pretty => true,:sort_attrs => false
|
|
13
15
|
directories_to_watch = ["index.slim","config.rb","css/","js/"]
|
|
14
16
|
puts "Watching:\n #{directories_to_watch.join("\n ")}\n"
|
|
@@ -19,6 +21,7 @@ class SSProto
|
|
|
19
21
|
end
|
|
20
22
|
rescue SystemExit, Interrupt
|
|
21
23
|
Process.kill "SIGINT",sass
|
|
24
|
+
Process.kill "SIGINT",coffee
|
|
22
25
|
end
|
|
23
26
|
end
|
|
24
27
|
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.log "example included"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ssproto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Johnydays
|
|
@@ -66,22 +66,23 @@ dependencies:
|
|
|
66
66
|
- - '>='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
description: Single page slim prototyping (use of sass is encouraged)
|
|
69
|
+
description: Single page slim prototyping (use of sass and coffeescript is encouraged)
|
|
70
70
|
email: nick@quaran.to
|
|
71
71
|
executables:
|
|
72
72
|
- ssproto
|
|
73
73
|
extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
|
-
-
|
|
76
|
+
- bin/ssproto
|
|
77
77
|
- lib/slim/slim.rb
|
|
78
|
+
- lib/ssproto.rb
|
|
79
|
+
- template/coffee/example.coffee
|
|
78
80
|
- template/config.rb
|
|
79
81
|
- template/css/example.css
|
|
80
82
|
- template/index.html
|
|
81
83
|
- template/index.slim
|
|
82
84
|
- template/js/example.js
|
|
83
85
|
- template/sass/example.sass
|
|
84
|
-
- bin/ssproto
|
|
85
86
|
homepage: https://github.com/JohnyDays/spsp
|
|
86
87
|
licenses:
|
|
87
88
|
- MIT
|
|
@@ -102,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
103
|
version: '0'
|
|
103
104
|
requirements: []
|
|
104
105
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.
|
|
106
|
+
rubygems_version: 2.2.2
|
|
106
107
|
signing_key:
|
|
107
108
|
specification_version: 4
|
|
108
109
|
summary: Rapid slim prototyping
|