guard-rack 2.0.0 → 2.1.0

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: b49da0e890d6242a516c5c1205aaf14bbd44d45d
4
- data.tar.gz: 9be5c0c5f25a654819c6b508ba0eebe29ffc9ec6
3
+ metadata.gz: be1ee005670e98318b8fc1f54989a8396d3b05ba
4
+ data.tar.gz: 37507ca4a46c703f04d9548b3189f53e92525447
5
5
  SHA512:
6
- metadata.gz: 7bbde5d25b4b00a0cead05ce62deea1ab1b2409f239d94a09463f56f1a08bc81149ffbab1c22c456806f285bd36c1c24da9b0941b72486f0f631856f2d67b3b2
7
- data.tar.gz: f40a9827262d2280cf9804433e2dae808de16ef060b0c010b532f2057362fc27243bd9885abd9532386bb1e7ac40ce1e47e3cdff11850ae3f073cda76ae2d151
6
+ metadata.gz: 98780f4397b3f1ccb4ee6644faf3314ce4bac063cea5080a8582612437592f0004ae96bcbd637b1e77533d539c2f549b91812552d76a24727f662672f95e5716
7
+ data.tar.gz: 2b154ec06be93fae99db4e0ab3224905237351adbf80303a78b659c251fe343267366af07b45cbd9a7fb92106b4fe8c20a57af208ab287e4155ba4b62817d9dc
data/.rubocop_todo.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  # This configuration was generated by `rubocop --auto-gen-config`
2
- # on 2014-11-14 17:38:24 -0500 using RuboCop version 0.27.1.
2
+ # on 2015-01-01 18:05:17 -0500 using RuboCop version 0.27.1.
3
3
  # The point is for the user to remove these configuration records
4
4
  # one by one as the offenses are removed from the code base.
5
5
  # Note that changes in the inspected code, or installation of new
@@ -7,14 +7,14 @@
7
7
 
8
8
  # Offense count: 2
9
9
  Metrics/AbcSize:
10
- Max: 22
10
+ Max: 25
11
11
 
12
12
  # Offense count: 14
13
13
  # Configuration parameters: AllowURI, URISchemes.
14
14
  Metrics/LineLength:
15
15
  Max: 155
16
16
 
17
- # Offense count: 1
17
+ # Offense count: 2
18
18
  # Configuration parameters: CountComments.
19
19
  Metrics/MethodLength:
20
20
  Max: 17
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ 2.1.0 (03/06/2015)
2
+ ============
3
+
4
+ * [#17](https://github.com/dblock/guard-rack/pull/17): Added ability to specify host - [@jwhitcraft](https://github.com/jwhitcraft).
5
+ * [#18](https://github.com/dblock/guard-rack/pull/18): Removed explicit dependencies on notification libraries, relying instead on Guard's default behavior - [@michaelherold](https://github.com/michaelherold).
6
+ * [#19](https://github.com/dblock/guard-rack/pull/19): Added the ability to specify the command for mounting the Rack application - [@michaelherold](https://github.com/michaelherold).
7
+
1
8
  2.0.0 (11/15/2014)
2
9
  ==================
3
10
 
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
- Guard::Rack [![Build Status](https://secure.travis-ci.org/dblock/guard-rack.png?branch=master)](https://travis-ci.org/dblock/guard-rack)
1
+ Guard::Rack
2
2
  ===========
3
3
 
4
+ [![Gem Version](http://img.shields.io/gem/v/guard-rack.svg)](http://badge.fury.io/rb/guard-rack)
5
+ [![Build Status](http://img.shields.io/travis/dblock/guard-rack.svg)](https://travis-ci.org/dblock/guard-rack)
6
+ [![Dependency Status](https://gemnasium.com/dblock/guard-rack.svg)](https://gemnasium.com/dblock/guard-rack)
7
+ [![Code Climate](https://codeclimate.com/github/dblock/guard-rack.svg)](https://codeclimate.com/github/dblock/guard-rack)
8
+
4
9
  Want to restart your Rack development with *rackup* whilst you work? Now you can!
5
10
 
6
11
  guard 'rack', :port => 9292 do
@@ -11,9 +16,11 @@ Want to restart your Rack development with *rackup* whilst you work? Now you can
11
16
  Options
12
17
  -------
13
18
 
14
- * `:port` is the port number to run on (default `9292`)
15
- * `:environment` is the environment to use (default `development`)
16
- * `:start_on_start` will start the server when starting Guard (default `true`)
19
+ * `:cmd` is the command to run to mount the Rack application (default `rackup`).
20
+ * `:host` is the host ip address to run on (default `0.0.0.0`).
21
+ * `:port` is the port number to run on (default `9292`).
22
+ * `:environment` is the environment to use (default `development`).
23
+ * `:start_on_start` will start the server when starting Guard (default `true`).
17
24
  * `:force_run` kills any process that's holding open the listen port before attempting to (re)start Rack (default `false`).
18
25
  * `:daemon` runs the server as a daemon, without any output to the terminal that ran `guard` (default `false`).
19
26
  * `:debugger` runs the server with the debugger enabled (default `false`). Required ruby-debug gem.
@@ -31,5 +38,5 @@ Copyright and License
31
38
 
32
39
  MIT License, see [LICENSE](http://github.com/dblock/guard-rack/raw/master/LICENSE.md) for details.
33
40
 
34
- (c) 2012-2014 [Daniel Doubrovkine](http://github.com/dblock) and [Contributors](https://github.com/dblock/guard-rack/graphs/contributors).
41
+ (c) 2012-2015 [Daniel Doubrovkine](http://github.com/dblock) and [Contributors](https://github.com/dblock/guard-rack/graphs/contributors).
35
42
 
data/RELEASING.md ADDED
@@ -0,0 +1,69 @@
1
+ Releasing Guard-Rack
2
+ ====================
3
+
4
+ There're no particular rules about when to release guard-rack. Release bug fixes frequenty, features not so frequently and breaking API changes rarely.
5
+
6
+ ### Release
7
+
8
+ Run tests, check that all tests succeed locally.
9
+
10
+ ```
11
+ bundle install
12
+ rake
13
+ ```
14
+
15
+ Check that the last build succeeded in [Travis CI](https://travis-ci.org/dblock/guard-rack) for all supported platforms.
16
+
17
+ Increment the version, modify [lib/guard/rack/version.rb](lib/guard/rack/version.rb).
18
+
19
+ * Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.5.1` to `0.5.2`).
20
+ * Increment the second number if the release contains major features or breaking API changes (eg. change `0.5.1` to `0.2.0`).
21
+
22
+ Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version.
23
+
24
+ ```
25
+ 0.2.0 (2014-01-27)
26
+ ==================
27
+ ```
28
+
29
+ Remove the line with "Your contribution here.", since there will be no more contributions to this release.
30
+
31
+ Commit your changes.
32
+
33
+ ```
34
+ git add CHANGELOG.md lib/guard/rack/version.rb
35
+ git commit -m "Preparing for release, 0.2.0."
36
+ git push origin master
37
+ ```
38
+
39
+ Release.
40
+
41
+ ```
42
+ $ rake release
43
+
44
+ guard-rack 0.2.0 built to pkg/guard-rack-0.2.0.gem.
45
+ Tagged v0.2.0.
46
+ Pushed git commits and tags.
47
+ Pushed guard-rack 0.2.0 to rubygems.org.
48
+ ```
49
+
50
+ ### Prepare for the Next Version
51
+
52
+ Add the next release to [CHANGELOG.md](CHANGELOG.md).
53
+
54
+ ```
55
+ Next Release
56
+ ============
57
+
58
+ * Your contribution here.
59
+ ```
60
+
61
+ Increment the minor version, modify [lib/guard/rack/version.rb](lib/guard/rack/version.rb).
62
+
63
+ Comit your changes.
64
+
65
+ ```
66
+ git add CHANGELOG.md lib/guard/rack/version.rb
67
+ git commit -m "Preparing for next release, 0.2.1."
68
+ git push origin master
69
+ ```
data/guard-rack.gemspec CHANGED
@@ -18,8 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.add_dependency 'guard', '~> 2.3'
19
19
  gem.add_dependency 'ffi'
20
20
  gem.add_dependency 'spoon'
21
- gem.add_dependency 'rb-inotify'
22
- gem.add_dependency 'libnotify'
23
21
 
24
22
  gem.add_development_dependency 'rake'
25
23
  gem.add_development_dependency 'bundler'
data/lib/guard/rack.rb CHANGED
@@ -9,12 +9,14 @@ module Guard
9
9
 
10
10
  DEFAULT_OPTIONS = {
11
11
  port: 9292,
12
+ host: '0.0.0.0',
12
13
  environment: 'development',
13
14
  start_on_start: true,
14
15
  force_run: false,
15
16
  timeout: 20,
16
17
  debugger: false,
17
- config: 'config.ru'
18
+ config: 'config.ru',
19
+ cmd: 'rackup'
18
20
  }
19
21
 
20
22
  def initialize(options = {})
@@ -0,0 +1,64 @@
1
+ require 'guard/rack'
2
+
3
+ module Guard
4
+ class Rack < Plugin
5
+ class Command < String
6
+ attr_reader :options
7
+
8
+ def initialize(options = {})
9
+ @options = options
10
+ super(build.join(' '))
11
+ end
12
+
13
+ private
14
+
15
+ def build
16
+ cmd = [options[:cmd]]
17
+
18
+ cmd << configuration
19
+ cmd << environment
20
+ cmd << host
21
+ cmd << port
22
+ cmd << daemon
23
+ cmd << debug
24
+ cmd << server
25
+
26
+ cmd.flatten.compact
27
+ end
28
+
29
+ def configuration
30
+ [options[:config]]
31
+ end
32
+
33
+ def daemon
34
+ return unless options[:daemon]
35
+
36
+ ['--daemonize', options[:daemon]]
37
+ end
38
+
39
+ def debug
40
+ return unless options[:debugger]
41
+
42
+ ['--debug', options[:debugger]]
43
+ end
44
+
45
+ def environment
46
+ ['--env', options[:environment]]
47
+ end
48
+
49
+ def host
50
+ ['--host', options[:host]]
51
+ end
52
+
53
+ def port
54
+ ['--port', options[:port]]
55
+ end
56
+
57
+ def server
58
+ return unless options[:server]
59
+
60
+ ['--server', options[:server]]
61
+ end
62
+ end
63
+ end
64
+ end
@@ -1,6 +1,7 @@
1
1
  require 'fileutils'
2
2
  require 'timeout'
3
3
  require 'spoon'
4
+ require 'guard/rack/command'
4
5
 
5
6
  module Guard
6
7
  class RackRunner
@@ -36,21 +37,6 @@ module Guard
36
37
 
37
38
  private
38
39
 
39
- def build_rack_command
40
- command = %w(rackup)
41
- command.push(
42
- options[:config],
43
- '--env', options[:environment].to_s,
44
- '--port', options[:port].to_s
45
- )
46
-
47
- command << '--daemonize' if options[:daemon]
48
- command << '--debug' if options[:debugger]
49
- command.push('--server', options[:server].to_s) if options[:server]
50
-
51
- command
52
- end
53
-
54
40
  def kill(pid, force = false)
55
41
  result = -1
56
42
 
@@ -75,8 +61,8 @@ module Guard
75
61
  end
76
62
 
77
63
  def run_rack_command!
78
- command = build_rack_command
79
- UI.debug("Running Rack with command: #{command.inspect}")
64
+ command = Guard::Rack::Command.new(options)
65
+ UI.debug("Running Rack with command: #{command}")
80
66
  spawn(*command)
81
67
  end
82
68
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RackVersion
3
- VERSION = '2.0.0'
3
+ VERSION = '2.1.0'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require 'guard/rack/runner'
3
3
 
4
4
  describe 'Integration' do
5
5
  let(:runner) { Guard::RackRunner.new(options) }
6
- let(:options) { { environment: 'development', port: 3000, config: 'spec/lib/guard/integration.ru' } }
6
+ let(:options) { { cmd: 'rackup', environment: 'development', port: 3000, config: 'spec/lib/guard/integration.ru' } }
7
7
 
8
8
  describe '#start' do
9
9
  context 'run' do
@@ -0,0 +1,59 @@
1
+ require 'spec_helper'
2
+
3
+ describe Guard::Rack::Command do
4
+ let(:default_options) do
5
+ { cmd: 'rackup', environment: 'development', host: '0.0.0.0',
6
+ port: 3000, config: 'config.ru' }
7
+ end
8
+ let(:options) { default_options }
9
+ let(:command) { Guard::Rack::Command.new(options) }
10
+
11
+ describe '.initialize' do
12
+ subject { command }
13
+
14
+ it { is_expected.to start_with('rackup') }
15
+ it { is_expected.to include('config.ru') }
16
+ it { is_expected.to include('--env development') }
17
+ it { is_expected.to include('--host 0.0.0.0') }
18
+ it { is_expected.to include('--port 3000') }
19
+ it { is_expected.not_to include('--daemonize') }
20
+ it { is_expected.not_to include('--debug') }
21
+ it { is_expected.not_to include('--server') }
22
+
23
+ context 'with a custom command configuration' do
24
+ let(:options) { default_options.merge(cmd: 'bundle exec rackup') }
25
+
26
+ it { is_expected.to start_with('bundle exec rackup') }
27
+ end
28
+
29
+ context 'with a daemon configuration' do
30
+ let(:options) { default_options.merge(daemon: true) }
31
+
32
+ it { is_expected.to include('--daemonize') }
33
+ end
34
+
35
+ context 'with a debugger configuration' do
36
+ let(:options) { default_options.merge(debugger: true) }
37
+
38
+ it { is_expected.to include('--debug') }
39
+ end
40
+
41
+ context 'with an environment configuration' do
42
+ let(:options) { default_options.merge(environment: 'custom') }
43
+
44
+ it { is_expected.to include('--env custom') }
45
+ end
46
+
47
+ context 'with a server configuration' do
48
+ let(:options) { default_options.merge(server: 'thin') }
49
+
50
+ it { is_expected.to include('--server thin') }
51
+ end
52
+
53
+ context 'with a custom config file configuration' do
54
+ let(:options) { default_options.merge(config: 'config2.ru') }
55
+
56
+ it { is_expected.to include('config2.ru') }
57
+ end
58
+ end
59
+ end
@@ -6,7 +6,7 @@ describe Guard::RackRunner do
6
6
  let(:environment) { 'development' }
7
7
  let(:port) { 3000 }
8
8
 
9
- let(:default_options) { { environment: environment, port: port, config: 'config.ru' } }
9
+ let(:default_options) { { environment: environment, port: port, config: 'config.ru', host: '0.0.0.0' } }
10
10
  let(:options) { default_options }
11
11
 
12
12
  before do
@@ -34,57 +34,6 @@ describe Guard::RackRunner do
34
34
  end
35
35
  end
36
36
 
37
- describe '#build_rack_command' do
38
- context 'no daemon' do
39
- it 'should not have a daemon switch' do
40
- expect(runner.send(:build_rack_command)).not_to include('--daemonize')
41
- end
42
- end
43
-
44
- context 'daemon' do
45
- let(:options) { default_options.merge(daemon: true) }
46
-
47
- it 'should have a daemon switch' do
48
- expect(runner.send(:build_rack_command)).to include('--daemonize')
49
- end
50
- end
51
-
52
- context 'debugger' do
53
- let(:options) { default_options.merge(debugger: true) }
54
-
55
- it 'should have a debugger switch' do
56
- expect(runner.send(:build_rack_command)).to include('--debug')
57
- end
58
- end
59
-
60
- context 'server' do
61
- let(:options) { default_options.merge(server: 'thin') }
62
-
63
- it 'should honour server switch' do
64
- command = runner.send(:build_rack_command)
65
- index = command.index('--server')
66
- expect(index).to be >= 0
67
- expect(command[index + 1]).to eq('thin')
68
- end
69
- end
70
-
71
- context 'config file' do
72
- context 'default' do
73
- it 'should default to config.ru' do
74
- expect(runner.send(:build_rack_command)).to include('config.ru')
75
- end
76
- end
77
-
78
- context 'custom' do
79
- let(:options) { default_options.merge(config: 'config2.ru') }
80
- it 'should honour config option' do
81
- default_options.merge(config: 'config2.ru')
82
- expect(runner.send(:build_rack_command)).to include('config2.ru')
83
- end
84
- end
85
- end
86
- end
87
-
88
37
  describe '#start' do
89
38
  let(:unmanaged_pid) { 4567 }
90
39
  let(:pid) { 1234 }
@@ -120,7 +69,6 @@ describe Guard::RackRunner do
120
69
  end
121
70
 
122
71
  describe '#stop' do
123
-
124
72
  context 'pid exists' do
125
73
  let(:pid) { 12_345 }
126
74
  let(:status_stub) { stub('process exit status') }
metadata CHANGED
@@ -1,167 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2015-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ffi
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: spoon
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rb-inotify
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: libnotify
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
52
+ - - ">="
81
53
  - !ruby/object:Gem::Version
82
54
  version: '0'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: rake
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
- - - '>='
59
+ - - ">="
88
60
  - !ruby/object:Gem::Version
89
61
  version: '0'
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
- - - '>='
66
+ - - ">="
95
67
  - !ruby/object:Gem::Version
96
68
  version: '0'
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: bundler
99
71
  requirement: !ruby/object:Gem::Requirement
100
72
  requirements:
101
- - - '>='
73
+ - - ">="
102
74
  - !ruby/object:Gem::Version
103
75
  version: '0'
104
76
  type: :development
105
77
  prerelease: false
106
78
  version_requirements: !ruby/object:Gem::Requirement
107
79
  requirements:
108
- - - '>='
80
+ - - ">="
109
81
  - !ruby/object:Gem::Version
110
82
  version: '0'
111
83
  - !ruby/object:Gem::Dependency
112
84
  name: rspec
113
85
  requirement: !ruby/object:Gem::Requirement
114
86
  requirements:
115
- - - ~>
87
+ - - "~>"
116
88
  - !ruby/object:Gem::Version
117
89
  version: '3.0'
118
90
  type: :development
119
91
  prerelease: false
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
93
  requirements:
122
- - - ~>
94
+ - - "~>"
123
95
  - !ruby/object:Gem::Version
124
96
  version: '3.0'
125
97
  - !ruby/object:Gem::Dependency
126
98
  name: fakefs
127
99
  requirement: !ruby/object:Gem::Requirement
128
100
  requirements:
129
- - - '>='
101
+ - - ">="
130
102
  - !ruby/object:Gem::Version
131
103
  version: '0'
132
104
  type: :development
133
105
  prerelease: false
134
106
  version_requirements: !ruby/object:Gem::Requirement
135
107
  requirements:
136
- - - '>='
108
+ - - ">="
137
109
  - !ruby/object:Gem::Version
138
110
  version: '0'
139
111
  - !ruby/object:Gem::Dependency
140
112
  name: mocha
141
113
  requirement: !ruby/object:Gem::Requirement
142
114
  requirements:
143
- - - ~>
115
+ - - "~>"
144
116
  - !ruby/object:Gem::Version
145
117
  version: '1.1'
146
118
  type: :development
147
119
  prerelease: false
148
120
  version_requirements: !ruby/object:Gem::Requirement
149
121
  requirements:
150
- - - ~>
122
+ - - "~>"
151
123
  - !ruby/object:Gem::Version
152
124
  version: '1.1'
153
125
  - !ruby/object:Gem::Dependency
154
126
  name: rack
155
127
  requirement: !ruby/object:Gem::Requirement
156
128
  requirements:
157
- - - '>='
129
+ - - ">="
158
130
  - !ruby/object:Gem::Version
159
131
  version: '0'
160
132
  type: :development
161
133
  prerelease: false
162
134
  version_requirements: !ruby/object:Gem::Requirement
163
135
  requirements:
164
- - - '>='
136
+ - - ">="
165
137
  - !ruby/object:Gem::Version
166
138
  version: '0'
167
139
  description: Automatically reloads your Rack based app on file change using Guard.
@@ -171,25 +143,28 @@ executables: []
171
143
  extensions: []
172
144
  extra_rdoc_files: []
173
145
  files:
174
- - .gitignore
175
- - .rspec
176
- - .rubocop.yml
177
- - .rubocop_todo.yml
178
- - .travis.yml
146
+ - ".gitignore"
147
+ - ".rspec"
148
+ - ".rubocop.yml"
149
+ - ".rubocop_todo.yml"
150
+ - ".travis.yml"
179
151
  - CHANGELOG.md
180
152
  - Gemfile
181
153
  - Guardfile
182
154
  - LICENSE.md
183
155
  - README.md
156
+ - RELEASING.md
184
157
  - Rakefile
185
158
  - guard-rack.gemspec
186
159
  - lib/guard-rack.rb
187
160
  - lib/guard/rack.rb
161
+ - lib/guard/rack/command.rb
188
162
  - lib/guard/rack/runner.rb
189
163
  - lib/guard/rack/templates/Guardfile
190
164
  - lib/guard/rack/version.rb
191
165
  - spec/lib/guard/integration.ru
192
166
  - spec/lib/guard/integration_spec.rb
167
+ - spec/lib/guard/rack/command_spec.rb
193
168
  - spec/lib/guard/rack_spec.rb
194
169
  - spec/lib/guard/runner_spec.rb
195
170
  - spec/spec_helper.rb
@@ -203,17 +178,17 @@ require_paths:
203
178
  - lib
204
179
  required_ruby_version: !ruby/object:Gem::Requirement
205
180
  requirements:
206
- - - '>='
181
+ - - ">="
207
182
  - !ruby/object:Gem::Version
208
183
  version: '0'
209
184
  required_rubygems_version: !ruby/object:Gem::Requirement
210
185
  requirements:
211
- - - '>='
186
+ - - ">="
212
187
  - !ruby/object:Gem::Version
213
188
  version: '0'
214
189
  requirements: []
215
190
  rubyforge_project:
216
- rubygems_version: 2.0.14
191
+ rubygems_version: 2.4.5
217
192
  signing_key:
218
193
  specification_version: 4
219
194
  summary: Automatically reloads your Rack based app on file change using Guard.