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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32d3ab4dfc2b5df9854da0dc5b4d856f23007e6a
4
- data.tar.gz: ea8f82be97382591d8479a64a53f7a38bdf36755
3
+ metadata.gz: 13764d6bbcf85da90246bc9d98ff30962758b9dc
4
+ data.tar.gz: 7a20e74a3249651bb033bb640ccdc0f082089f55
5
5
  SHA512:
6
- metadata.gz: cfcf28cee7c43ab39353c4122759b703730b26d9752aaed42c752a6992b9bd40b0dab24cfc2ef73e576e6edc2fc7473e8f0074216196aea1fea8d6968c999623
7
- data.tar.gz: 6c517f6f16fc130f62de7bccb4bbb090d8985ebc5cb2a62470cded19e036bf5e8a18265c4722f5e9ee5ceab25360c611f2adda063e4d452a5cc4054b17201d61
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.5
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
- - lib/ssproto.rb
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.0.2
106
+ rubygems_version: 2.2.2
106
107
  signing_key:
107
108
  specification_version: 4
108
109
  summary: Rapid slim prototyping