guard-jekyll-plus 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -68,3 +68,7 @@ New config options
68
68
 
69
69
  - Rack process is now succesfully killed on Guard stop
70
70
 
71
+ ### 1.4.5
72
+
73
+ - Rack is now actually optional (oops).
74
+
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class JekyllPlusVersion
3
- VERSION = "1.4.5"
3
+ VERSION = "1.4.6"
4
4
  end
5
5
  end
@@ -2,12 +2,11 @@
2
2
 
3
3
  require 'guard'
4
4
  require 'guard/guard'
5
-
6
5
  require 'jekyll'
7
- #begin require 'thin' rescue false end
6
+
8
7
  begin
9
8
  require 'rack'
10
- USE_RACK = true
9
+ @use_rack = true
11
10
  rescue LoadError
12
11
  end
13
12
 
@@ -58,7 +57,7 @@ module Guard
58
57
  # Create a Jekyll site
59
58
  #
60
59
  @site = ::Jekyll::Site.new @config
61
- @rack = ::Rack::Server.new(rack_config(@destination)) if USE_RACK
60
+ @rack = ::Rack::Server.new(rack_config(@destination)) if @use_rack
62
61
 
63
62
  end
64
63
 
data/test/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'guard-jekyll-plus', :path => "../"
4
- gem 'rack'
data/test/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- guard-jekyll-plus (1.4.4)
4
+ guard-jekyll-plus (1.4.6)
5
5
  guard (>= 1.1.0)
6
6
  jekyll (>= 1.0.0)
7
7
 
@@ -38,7 +38,7 @@ GEM
38
38
  safe_yaml (~> 0.7.0)
39
39
  kramdown (1.0.2)
40
40
  liquid (2.5.1)
41
- listen (1.2.2)
41
+ listen (1.2.3)
42
42
  rb-fsevent (>= 0.9.3)
43
43
  rb-inotify (>= 0.9)
44
44
  rb-kqueue (>= 0.2)
@@ -54,7 +54,6 @@ GEM
54
54
  pygments.rb (0.5.2)
55
55
  posix-spawn (~> 0.3.6)
56
56
  yajl-ruby (~> 1.1.0)
57
- rack (1.5.2)
58
57
  rb-fsevent (0.9.3)
59
58
  rb-inotify (0.9.0)
60
59
  ffi (>= 0.5.0)
@@ -72,4 +71,3 @@ PLATFORMS
72
71
 
73
72
  DEPENDENCIES
74
73
  guard-jekyll-plus!
75
- rack
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-jekyll-plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-09 00:00:00.000000000 Z
12
+ date: 2013-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard