scms 2.1.2 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +13 -5
  2. data/bin/scms +2 -3
  3. data/lib/scms/version.rb +1 -1
  4. data/scms.gemspec +6 -1
  5. metadata +46 -4
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 67aeb5520c7e409fe81f50e84e3c02bad04ff364
4
- data.tar.gz: 4aa673d9e4eac14fa353de89c0d1738a89cf9d5f
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MDg3OTgyZjQ3NWU2MThkYmYwNDk1NzRjNTk1NjU3MmRiNWVhMzhiYw==
5
+ data.tar.gz: !binary |-
6
+ MWMyZGEyNzk4OTU2NzBhNThhMjA2ZDc0YjFjMjA0NGI2ZDMyMDU4NQ==
5
7
  SHA512:
6
- metadata.gz: 7242e1999abbde3814f56370c65631ac4cfd362cb137aa59e20ba6841373be4362936a6c28e75c184a786d7ee57da0be618eb4c7444a1fa3d83707960f2a6874
7
- data.tar.gz: c85a647d2ba582bb952392d56c77a466adb5ea626aaf8852347e23883daeb368b3d17cf295711f8f558281247cf67ed4cbf613a63748ab15dade88c082275534
8
+ metadata.gz: !binary |-
9
+ NmI2MTBkZjRlMzk5ZDhiNzA1MGZjNjg1N2I1YjY0MmY2YzQyNjljOTcyZTQx
10
+ MWY1YzgxNjVlMWIyZGE3YjllZmJlMTY3OWFjMzk4NjAxZWMyODRjYTk1NWVi
11
+ MmZkYjZjODhiM2YzZDI0MDBjNjIwMTcwNjcyYzhjMzVhNTg4MDc=
12
+ data.tar.gz: !binary |-
13
+ ZDAxMjlkY2ZiZjY4NmQ2NzJhOTI5MjA0OGQ2OWM1ZmNhODU2ZDU3ZjhkODNm
14
+ MjQ4MDk1YTJjZmM1ZDY1ODE2NmU5NjVkNjM0NGJlYjUwZWJhNDhiYzU2ZDYz
15
+ YjcxYWQ1ZGVmMjQyNzFmYzI3ZmI1ZGQxYmY2OWI2MjE1NGQxMGE=
data/bin/scms CHANGED
@@ -105,10 +105,9 @@ Scms.upgrade(Folders[:website])
105
105
  Scms.build(Folders[:website], Folders[:config], options[:mode])
106
106
  Scms.copywebsite(Folders[:website], Folders[:pub]) if Folders[:pub] != nil
107
107
 
108
- if options[:action] == "watch"
108
+ if options[:action] == "listen"
109
109
  require 'filewatcher'
110
- puts "Setting up watcher"
111
- FileWatcher.new(["_views"],"Watching files:").watch do |filename|
110
+ FileWatcher.new(["_views", "_templates", "_source"],"Watching files:").watch do |filename|
112
111
  puts "Updated " + filename
113
112
  Scms.build(Folders[:website], Folders[:config], options[:mode])
114
113
  end
data/lib/scms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scms
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.4"
3
3
  end
data/scms.gemspec CHANGED
@@ -6,6 +6,9 @@ require 'Scms/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "scms"
8
8
  spec.version = Scms::VERSION
9
+
10
+ spec.required_ruby_version = '>= 1.9.3'
11
+
9
12
  spec.authors = ["Courtenay Probert"]
10
13
  spec.email = ["courtenay@probert.me.uk"]
11
14
  spec.description = "A static website CMS for Amazon's S3"
@@ -25,7 +28,9 @@ Gem::Specification.new do |spec|
25
28
  spec.add_dependency "sass"
26
29
  spec.add_dependency "packr"
27
30
  spec.add_dependency "filewatcher"
28
- #spec.add_dependency "guard-livereload"
31
+ spec.add_dependency "listen"
32
+ spec.add_dependency "guard"
33
+ spec.add_dependency "guard-livereload"
29
34
 
30
35
  spec.add_development_dependency "bundler", "~> 1.3"
31
36
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Courtenay Probert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-06 00:00:00.000000000 Z
11
+ date: 2013-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cprobert-s3sync
@@ -80,6 +80,48 @@ dependencies:
80
80
  - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: listen
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-livereload
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
83
125
  - !ruby/object:Gem::Dependency
84
126
  name: bundler
85
127
  requirement: !ruby/object:Gem::Requirement
@@ -161,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
203
  requirements:
162
204
  - - ! '>='
163
205
  - !ruby/object:Gem::Version
164
- version: '0'
206
+ version: 1.9.3
165
207
  required_rubygems_version: !ruby/object:Gem::Requirement
166
208
  requirements:
167
209
  - - ! '>='
@@ -169,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
211
  version: '0'
170
212
  requirements: []
171
213
  rubyforge_project:
172
- rubygems_version: 2.1.3
214
+ rubygems_version: 2.1.5
173
215
  signing_key:
174
216
  specification_version: 4
175
217
  summary: Create simple static websites, in a jiffy