jekyll-watch 1.0.0.rc1 → 1.0.0.rc2

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: e5fbbf4e7019eff33b6723a206af464afca5a70a
4
- data.tar.gz: c6c419eb020b7db6bca920bd82168e5bd3e8969f
3
+ metadata.gz: f167880f342b512cf379845486ddac9e1875f328
4
+ data.tar.gz: b8b225442233578599abf2e6590f411a6cb34b71
5
5
  SHA512:
6
- metadata.gz: df39074154d3dcb19a1c5404a2d46bacdc281e552eb27ef3563effd5a11d23919fbc741f8ed6b57419a9fac021e47245c58aff636ba00b9d059ea0e93d60051c
7
- data.tar.gz: acc2550fe560040a3c156c9cd3b0a60d4d082e8287113c4bf7eeb921c933a66cec7c5d8566f2e319a1c82b15b0165a107b2902e68de58f8ea6a1cfa005135b5f
6
+ metadata.gz: e1a73504f37320943c3135624999ef413b96e22ebb1ed07257671dbbfef20ac66b1595dd9ad6a5e873395e4ab9be723a35eef0e9312dd8d101c07a6931168aa7
7
+ data.tar.gz: 99cf60e332dd7de54ec4aed37caa2a8a05ac5317d815dd97b006224e2d3b2e49e91af879a14352fe5982804c609033eb72b70744bacdfc8ed6aca63900489675
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "jekyll-watch"
5
- spec.version = "1.0.0.rc1"
5
+ spec.version = "1.0.0.rc2"
6
6
  spec.authors = ["Parker Moore"]
7
7
  spec.email = ["parkrmoore@gmail.com"]
8
8
  spec.summary = %q{Rebuild your Jekyll site when a file changes with the `--watch` switch.}
@@ -16,6 +16,12 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.add_runtime_dependency "listen", "~> 2.7"
18
18
 
19
+ require 'rbconfig'
20
+ if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/
21
+ spec.add_runtime_dependency "wdm", "~> 0.1.0"
22
+ end
23
+
24
+
19
25
  spec.add_development_dependency "bundler", "~> 1.6"
20
26
  spec.add_development_dependency "rake"
21
27
  end
@@ -1,7 +1,6 @@
1
1
  module Jekyll
2
2
  module Commands
3
3
  class Watch < Command
4
-
5
4
  class << self
6
5
 
7
6
  def init_with_program(prog)
@@ -43,7 +42,7 @@ module Jekyll
43
42
  end
44
43
  listener.start
45
44
 
46
- Jekyll.logger.info "Auto-regeneration:", "enabled for '#{source}'"
45
+ Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options['source']}'"
47
46
 
48
47
  unless options['serving']
49
48
  trap("INT") do
@@ -56,8 +55,7 @@ module Jekyll
56
55
  end
57
56
  end
58
57
 
59
- end # end of class << self
60
-
58
+ end
61
59
  end
62
60
  end
63
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: listen