http_server_manager 0.4.15 → 0.5.0

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: d5011647dc9079d4adf4434fe258eb22dc09a1f8
4
- data.tar.gz: bd3f09b9bda5aceec005f178593b4ded5c2a99fa
3
+ metadata.gz: 974266fa991dd57590789d1eb1483a547205f78f
4
+ data.tar.gz: 136048206eed989d2b137ac240d1ea151173715f
5
5
  SHA512:
6
- metadata.gz: 4a162a60b0d7c021ad8965f1098ac16673bd426ae363a4c9daa4aad4f9fcf6abdf0ed4ab9a9f3a88a91bd88aaac657e6bb0daae165e73252d2afdb66786a262d
7
- data.tar.gz: da06c1fec452d2cb16262266d8d51d22094f10a9111588176eecdea14aa150616d8a5c010b3c7e950af47edc583a79fe3332716e60ff3a18da7133f8a440332b
6
+ metadata.gz: ed6a746de7595d9a113c9deb7ca70a1fb8657486ea3deca4383b9eabeda944186d47b2e5ed81714033c4463cc6f070b6b6ee4c51c1004b9fa6cc5c9e172a1119
7
+ data.tar.gz: aed4499162511bf7f7fea4a711a6c03eafa575c6220c220c3e461e341cc3d06566ff26a60af82d6d30694fe606628e48f44a76813dfd916b9a9589513d44f0a6
@@ -8,6 +8,7 @@ module HttpServerManager
8
8
  @name = options[:name]
9
9
  @host = options[:host]
10
10
  @port = options[:port]
11
+ @ping_uri = options[:ping_uri] || "/"
11
12
  @timeout_in_seconds = options[:timeout_in_seconds] || (ENV["timeout"] ? ENV["timeout"].to_i : 20)
12
13
  @deletable_artifacts = [ pid_file_path ]
13
14
  end
@@ -56,7 +57,7 @@ module HttpServerManager
56
57
  def running?
57
58
  !!(Net::HTTP.new(@host, @port).start do |http|
58
59
  http.open_timeout = http.read_timeout = @timeout_in_seconds
59
- http.request_get("/")
60
+ http.request_get(@ping_uri)
60
61
  end)
61
62
  rescue
62
63
  false
@@ -1,3 +1,3 @@
1
1
  module HttpServerManager
2
- VERSION = "0.4.15".freeze
2
+ VERSION = "0.5.0".freeze
3
3
  end
@@ -3,24 +3,24 @@ describe HttpServerManager::Rake::ServerTasks do
3
3
  include ::Rake::DSL
4
4
 
5
5
  let(:task_namespace) { :test_server_namespace }
6
- let(:task_scope) { double("TaskScope", path: task_namespace) }
7
- let(:server) { double(HttpServerManager::Server, name: "test_server") }
6
+ let(:task_scope) { double("TaskScope", path: task_namespace) }
7
+ let(:server) { instance_double(HttpServerManager::Server, name: "test_server") }
8
8
 
9
- let(:server_tasks) { HttpServerManager::Rake::ServerTasks.new(server) }
9
+ let(:server_tasks) { described_class.new(server) }
10
10
 
11
- before(:each) do
11
+ before(:example) do
12
12
  namespace task_namespace do
13
13
  server_tasks
14
14
  end
15
15
  end
16
16
 
17
- after(:each) { Rake.application.tasks_in_scope(task_scope).each(&:clear) }
17
+ after(:example) { Rake.application.tasks_in_scope(task_scope).each(&:clear) }
18
18
 
19
19
  describe "start task" do
20
20
 
21
21
  let(:task) { ::Rake::Task["#{task_namespace}:start"] }
22
22
 
23
- it "should start the server" do
23
+ it "starts the server" do
24
24
  expect(server).to receive(:start!)
25
25
 
26
26
  task.execute
@@ -32,7 +32,7 @@ describe HttpServerManager::Rake::ServerTasks do
32
32
 
33
33
  let(:task) { ::Rake::Task["#{task_namespace}:stop"] }
34
34
 
35
- it "should stop the server" do
35
+ it "stops the server" do
36
36
  expect(server).to receive(:stop!)
37
37
 
38
38
  task.execute
@@ -44,7 +44,7 @@ describe HttpServerManager::Rake::ServerTasks do
44
44
 
45
45
  let(:task) { ::Rake::Task["#{task_namespace}:restart"] }
46
46
 
47
- it "should restart the server" do
47
+ it "restarts the server" do
48
48
  expect(server).to receive(:restart!)
49
49
  task.execute
50
50
  end
@@ -55,7 +55,7 @@ describe HttpServerManager::Rake::ServerTasks do
55
55
 
56
56
  let(:task) { ::Rake::Task["#{task_namespace}:status"] }
57
57
 
58
- it "should write the server name and it's status to stdout" do
58
+ it "writes the server name and its status to stdout" do
59
59
  allow(server).to receive(:status).and_return("stopped")
60
60
  expect(server_tasks).to receive(:puts).with("test_server is stopped")
61
61
 
@@ -1,33 +1,35 @@
1
1
  describe HttpServerManager::Server, "managing a real server" do
2
2
  include_context "managed http server integration utilities"
3
3
 
4
- let(:name) { "test_server" }
5
- let(:host) { "localhost" }
6
- let(:port) { 4001 }
4
+ let(:name) { "test_server" }
5
+ let(:host) { "localhost" }
6
+ let(:port) { 4001 }
7
+ let(:additional_server_args) { {} }
8
+ let(:server_args) { { name: name, host: host, port: port }.merge(additional_server_args) }
7
9
 
8
- let(:server) { RackServer.new(name: name, host: host, port: port) }
10
+ let(:server) { RackServer.new(server_args) }
9
11
 
10
12
  describe "#start!" do
11
13
 
12
- after(:each) { force_stop! }
14
+ after(:example) { force_stop! }
13
15
 
14
- describe "when the server is not running" do
16
+ context "when the server is not running" do
15
17
 
16
- after(:each) { wait_until_started! } # Ensure server has completely started
18
+ after(:example) { wait_until_started! } # Ensure server has completely started
17
19
 
18
- it "should start the server via the provided command" do
20
+ it "starts the server via the provided command" do
19
21
  server.start!
20
22
 
21
23
  wait_until_started!
22
24
  end
23
25
 
24
- it "should create a pid file for the server in the configured pid directory" do
26
+ it "creates a pid file for the server in the configured pid directory" do
25
27
  server.start!
26
28
 
27
29
  ::Wait.until_true!(description: "server pid created") { pid_file_exists? }
28
30
  end
29
31
 
30
- it "should create a log file capturing the stdout and stderr of the server in the configured log directory" do
32
+ it "creates a log file capturing the stdout and stderr of the server in the configured log directory" do
31
33
  server.start!
32
34
 
33
35
  ::Wait.until_true!(description: "log file is created") do
@@ -35,22 +37,36 @@ describe HttpServerManager::Server, "managing a real server" do
35
37
  end
36
38
  end
37
39
 
38
- it "should log that the server started on the configured port" do
40
+ it "logs that the server started on the configured port" do
39
41
  expect(logger).to receive(:info).with(/started on #{host}:#{port}/)
40
42
 
41
43
  server.start!
42
44
  end
43
45
 
46
+ context "and a ping_uri is configured" do
47
+
48
+ let(:additional_server_args) { { ping_uri: "/ping" } }
49
+
50
+ let(:ping_count_endpoint) { URI("http://#{host}:#{port}/ping_count") }
51
+
52
+ it "requests the configured ping uri when determining if the server is running" do
53
+ server.start!
54
+
55
+ expect(Net::HTTP.get(ping_count_endpoint)).to eql("1")
56
+ end
57
+
58
+ end
59
+
44
60
  end
45
61
 
46
- describe "when the server is already running" do
62
+ context "when the server is already running" do
47
63
 
48
- before(:each) do
64
+ before(:example) do
49
65
  server.start!
50
66
  wait_until_started!
51
67
  end
52
68
 
53
- it "should log that the server is already running on the configured port" do
69
+ it "logs that the server is already running on the configured port" do
54
70
  expect(logger).to receive(:info).with(/already running on #{host}:#{port}/)
55
71
 
56
72
  server.start!
@@ -62,19 +78,19 @@ describe HttpServerManager::Server, "managing a real server" do
62
78
 
63
79
  describe "#stop!" do
64
80
 
65
- describe "when the server is running" do
81
+ context "when the server is running" do
66
82
 
67
- before(:each) { force_start! }
83
+ before(:example) { force_start! }
68
84
 
69
- after(:each) { force_stop! } # Ensure server has completely stopped
85
+ after(:example) { force_stop! } # Ensure server has completely stopped
70
86
 
71
- it "should stop the server" do
87
+ it "stops the server" do
72
88
  server.stop!
73
89
 
74
90
  wait_until_stopped!
75
91
  end
76
92
 
77
- it "should delete the servers pid file" do
93
+ it "deletes the servers pid file" do
78
94
  server.stop!
79
95
 
80
96
  ::Wait.until_false!(description: "server pid is deleted") do
@@ -82,7 +98,7 @@ describe HttpServerManager::Server, "managing a real server" do
82
98
  end
83
99
  end
84
100
 
85
- it "should log that the server has stopped" do
101
+ it "logs that the server has stopped" do
86
102
  expect(logger).to receive(:info).with(/stopped/)
87
103
 
88
104
  server.stop!
@@ -90,9 +106,9 @@ describe HttpServerManager::Server, "managing a real server" do
90
106
 
91
107
  end
92
108
 
93
- describe "when the server is not running" do
109
+ context "when the server is not running" do
94
110
 
95
- it "should log that the server is not running" do
111
+ it "logs that the server is not running" do
96
112
  expect(logger).to receive(:info).with(/not running/)
97
113
 
98
114
  server.stop!
@@ -104,27 +120,27 @@ describe HttpServerManager::Server, "managing a real server" do
104
120
 
105
121
  describe "#status" do
106
122
 
107
- describe "when the server is running" do
123
+ context "when the server is running" do
108
124
 
109
- before(:each) { force_start! }
125
+ before(:example) { force_start! }
110
126
 
111
- after(:each) { force_stop! }
127
+ after(:example) { force_stop! }
112
128
 
113
- describe "and the pid file exists" do
129
+ context "and the pid file exists" do
114
130
 
115
- it "should return :started" do
131
+ it "returns :started" do
116
132
  expect(server.status).to eql(:started)
117
133
  end
118
134
 
119
135
  end
120
136
 
121
- describe "and the pid file does not exist" do
137
+ context "and the pid file does not exist" do
122
138
 
123
- before(:each) { force_pid_file_deletion! }
139
+ before(:example) { force_pid_file_deletion! }
124
140
 
125
- after(:each) { restore_pid_file! }
141
+ after(:example) { restore_pid_file! }
126
142
 
127
- it "should return :started" do
143
+ it "returns :started" do
128
144
  expect(server.status).to eql(:started)
129
145
  end
130
146
 
@@ -132,23 +148,23 @@ describe HttpServerManager::Server, "managing a real server" do
132
148
 
133
149
  end
134
150
 
135
- describe "when the server is not running" do
151
+ context "when the server is not running" do
136
152
 
137
- describe "and the pid file does not exist" do
153
+ context "and the pid file does not exist" do
138
154
 
139
- it "should return :stopped" do
155
+ it "returns :stopped" do
140
156
  expect(server.status).to eql(:stopped)
141
157
  end
142
158
 
143
159
  end
144
160
 
145
- describe "and the pid file exists" do
161
+ context "and the pid file exists" do
146
162
 
147
- before(:each) { force_pid_file_creation! }
163
+ before(:example) { force_pid_file_creation! }
148
164
 
149
- after(:each) { force_pid_file_deletion! }
165
+ after(:example) { force_pid_file_deletion! }
150
166
 
151
- it "should return :stopped" do
167
+ it "returns :stopped" do
152
168
  expect(server.status).to eql(:stopped)
153
169
  end
154
170
 
@@ -160,15 +176,15 @@ describe HttpServerManager::Server, "managing a real server" do
160
176
 
161
177
  describe "#to_s" do
162
178
 
163
- it "should return a string containing the servers name" do
179
+ it "returns a string containing the servers name" do
164
180
  expect(server.to_s).to match(name)
165
181
  end
166
182
 
167
- it "should return a string containing the servers host" do
183
+ it "returns a string containing the servers host" do
168
184
  expect(server.to_s).to match(host)
169
185
  end
170
186
 
171
- it "should return a string containing the servers port" do
187
+ it "returns a string containing the servers port" do
172
188
  expect(server.to_s).to match(port.to_s)
173
189
  end
174
190
 
@@ -14,19 +14,19 @@ describe HttpServerManager::Server do
14
14
 
15
15
  describe "#start!" do
16
16
 
17
- before(:each) { allow(Wait).to receive(:until_true!) }
17
+ before(:example) { allow(Wait).to receive(:until_true!) }
18
18
 
19
19
  context "when the server is not running" do
20
20
 
21
21
  let(:env_timeout) { nil }
22
22
 
23
- before(:each) do
23
+ before(:example) do
24
24
  allow(ENV).to receive(:[]).with("timeout").and_return(env_timeout)
25
25
  allow(server).to receive(:running?).and_return(false)
26
26
  allow(Process).to receive(:spawn)
27
27
  end
28
28
 
29
- it "should start the server by spawning a process that executes the start command" do
29
+ it "starts the server by spawning a process that executes the start command" do
30
30
  expect(Process).to receive(:spawn).with("some command", anything).and_return(888)
31
31
 
32
32
  server.start!
@@ -36,7 +36,7 @@ describe HttpServerManager::Server do
36
36
 
37
37
  let(:server_options) { { name: "Test Server", host: "localhost", port: 8888, timeout_in_seconds: 3 } }
38
38
 
39
- it "should wait for the specified amount of time in seconds for the server to start" do
39
+ it "waits for the specified amount of time in seconds for the server to start" do
40
40
  expect(Wait).to receive(:until_true!).with(hash_including(timeout_in_seconds: 3))
41
41
 
42
42
  server.start!
@@ -48,7 +48,7 @@ describe HttpServerManager::Server do
48
48
 
49
49
  let(:env_timeout) { "8" }
50
50
 
51
- it "should wait for the specified amount of time in seconds for the server to start" do
51
+ it "waits for the specified amount of time in seconds for the server to start" do
52
52
  expect(Wait).to receive(:until_true!).with(hash_including(timeout_in_seconds: 8))
53
53
 
54
54
  server.start!
@@ -58,7 +58,7 @@ describe HttpServerManager::Server do
58
58
 
59
59
  context "when no timeout is provided" do
60
60
 
61
- it "should wait 20 seconds for the server to start" do
61
+ it "waits 20 seconds for the server to start" do
62
62
  expect(Wait).to receive(:until_true!).with(hash_including(timeout_in_seconds: 20))
63
63
 
64
64
  server.start!
@@ -72,12 +72,12 @@ describe HttpServerManager::Server do
72
72
 
73
73
  describe "#restart!" do
74
74
 
75
- before(:each) do
75
+ before(:example) do
76
76
  allow(server).to receive(:start!)
77
77
  allow(server).to receive(:stop!)
78
78
  end
79
79
 
80
- it "should first stop the server and then start the server" do
80
+ it "stops the server first and then starts the server" do
81
81
  expect(server).to receive(:stop!).ordered
82
82
  expect(server).to receive(:start!).ordered
83
83
 
@@ -4,7 +4,7 @@ describe HttpServerManager::StdOutLogger do
4
4
 
5
5
  describe "#info" do
6
6
 
7
- it "should write the message to stdout" do
7
+ it "writes the message to stdout" do
8
8
  message = "Some message"
9
9
  expect(logger).to receive(:puts).with(message)
10
10
 
@@ -2,6 +2,6 @@ describe "server_integration_examples" do
2
2
 
3
3
  let(:server) { RackServer.new(name: "test_server", host: "localhost", port: 4001) }
4
4
 
5
- it_should_behave_like "a managed http server"
5
+ it_behaves_like "a managed http server"
6
6
 
7
7
  end
@@ -1,26 +1,26 @@
1
1
  describe HttpServerManager do
2
2
 
3
- describe ".logger" do
3
+ describe "::logger" do
4
4
 
5
- describe "when no logger has been explicitly configured" do
5
+ context "when no logger has been explicitly configured" do
6
6
 
7
- before(:each) { HttpServerManager.logger = nil }
7
+ before(:example) { HttpServerManager.logger = nil }
8
8
 
9
- it "should default to the stdout logger" do
9
+ it "defaults to the stdout logger" do
10
10
  expect(HttpServerManager.logger).to be_a(HttpServerManager::StdOutLogger)
11
11
  end
12
12
 
13
13
  end
14
14
 
15
- describe "when a logger has been explicitly configured" do
15
+ context "when a logger has been explicitly configured" do
16
16
 
17
17
  let(:logger) { double("Logger").as_null_object }
18
18
 
19
- before(:each) { HttpServerManager.logger = logger }
19
+ before(:example) { HttpServerManager.logger = logger }
20
20
 
21
- after(:each) { HttpServerManager.logger = nil }
21
+ after(:example) { HttpServerManager.logger = nil }
22
22
 
23
- it "should return the configured logger" do
23
+ it "returns the configured logger" do
24
24
  expect(HttpServerManager.logger).to eql(logger)
25
25
  end
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_server_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.15
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ueckerman
@@ -9,118 +9,118 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-07-18 00:00:00.000000000 Z
12
+ date: 2016-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sys-proctree
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: wait_until
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0.3'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0.3'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '10.4'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '10.4'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rubocop
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: '0.41'
62
+ version: '0.44'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '0.41'
69
+ version: '0.44'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: '3.5'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ~>
82
82
  - !ruby/object:Gem::Version
83
83
  version: '3.5'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: simplecov
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0.12'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ~>
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0.12'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rack
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ~>
103
103
  - !ruby/object:Gem::Version
104
104
  version: '1.6'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
111
  version: '1.6'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: travis-lint
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
118
  version: '2.0'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
125
  version: '2.0'
126
126
  description: Manages the lifecycle of HTTP server processes
@@ -129,24 +129,24 @@ executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
- - "./lib/http_server_manager.rb"
133
- - "./lib/http_server_manager/rake/server_tasks.rb"
134
- - "./lib/http_server_manager/rake/task_generators.rb"
135
- - "./lib/http_server_manager/server.rb"
136
- - "./lib/http_server_manager/stdout_logger.rb"
137
- - "./lib/http_server_manager/version.rb"
138
- - "./spec/lib/http_server_manager/rake/server_tasks_spec.rb"
139
- - "./spec/lib/http_server_manager/server_integration_spec.rb"
140
- - "./spec/lib/http_server_manager/server_spec.rb"
141
- - "./spec/lib/http_server_manager/stdout_logger_spec.rb"
142
- - "./spec/lib/http_server_manager/test/server_integration_examples_spec.rb"
143
- - "./spec/lib/http_server_manager_spec.rb"
144
- - "./spec/spec_helper.rb"
145
- - "./spec/support/http_server_manager/test/server_integration_examples.rb"
146
- - "./spec/support/http_server_manager/test/server_integration_utilities.rb"
147
- - "./spec/support/http_server_manager/test/server_integration_utilities_spec_context.rb"
148
- - "./spec/support/http_server_manager/test/silent_logger.rb"
149
- - "./spec/support/http_server_manager/test_support.rb"
132
+ - ./lib/http_server_manager.rb
133
+ - ./lib/http_server_manager/rake/server_tasks.rb
134
+ - ./lib/http_server_manager/rake/task_generators.rb
135
+ - ./lib/http_server_manager/server.rb
136
+ - ./lib/http_server_manager/stdout_logger.rb
137
+ - ./lib/http_server_manager/version.rb
138
+ - ./spec/lib/http_server_manager/rake/server_tasks_spec.rb
139
+ - ./spec/lib/http_server_manager/server_integration_spec.rb
140
+ - ./spec/lib/http_server_manager/server_spec.rb
141
+ - ./spec/lib/http_server_manager/stdout_logger_spec.rb
142
+ - ./spec/lib/http_server_manager/test/server_integration_examples_spec.rb
143
+ - ./spec/lib/http_server_manager_spec.rb
144
+ - ./spec/spec_helper.rb
145
+ - ./spec/support/http_server_manager/test/server_integration_examples.rb
146
+ - ./spec/support/http_server_manager/test/server_integration_utilities.rb
147
+ - ./spec/support/http_server_manager/test/server_integration_utilities_spec_context.rb
148
+ - ./spec/support/http_server_manager/test/silent_logger.rb
149
+ - ./spec/support/http_server_manager/test_support.rb
150
150
  homepage: http://github.com/MYOB-Technology/http_server_manager
151
151
  licenses:
152
152
  - MIT
@@ -158,30 +158,30 @@ require_paths:
158
158
  - spec/support
159
159
  required_ruby_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - ">="
161
+ - - '>='
162
162
  - !ruby/object:Gem::Version
163
163
  version: '2.0'
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - ">="
166
+ - - '>='
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubyforge_project: http_server_manager
171
- rubygems_version: 2.5.1
171
+ rubygems_version: 2.4.8
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Manages the lifecycle of HTTP server processes
175
175
  test_files:
176
- - "./spec/lib/http_server_manager/rake/server_tasks_spec.rb"
177
- - "./spec/lib/http_server_manager/server_integration_spec.rb"
178
- - "./spec/lib/http_server_manager/server_spec.rb"
179
- - "./spec/lib/http_server_manager/stdout_logger_spec.rb"
180
- - "./spec/lib/http_server_manager/test/server_integration_examples_spec.rb"
181
- - "./spec/lib/http_server_manager_spec.rb"
182
- - "./spec/spec_helper.rb"
183
- - "./spec/support/http_server_manager/test/server_integration_examples.rb"
184
- - "./spec/support/http_server_manager/test/server_integration_utilities.rb"
185
- - "./spec/support/http_server_manager/test/server_integration_utilities_spec_context.rb"
186
- - "./spec/support/http_server_manager/test/silent_logger.rb"
187
- - "./spec/support/http_server_manager/test_support.rb"
176
+ - ./spec/lib/http_server_manager/rake/server_tasks_spec.rb
177
+ - ./spec/lib/http_server_manager/server_integration_spec.rb
178
+ - ./spec/lib/http_server_manager/server_spec.rb
179
+ - ./spec/lib/http_server_manager/stdout_logger_spec.rb
180
+ - ./spec/lib/http_server_manager/test/server_integration_examples_spec.rb
181
+ - ./spec/lib/http_server_manager_spec.rb
182
+ - ./spec/spec_helper.rb
183
+ - ./spec/support/http_server_manager/test/server_integration_examples.rb
184
+ - ./spec/support/http_server_manager/test/server_integration_utilities.rb
185
+ - ./spec/support/http_server_manager/test/server_integration_utilities_spec_context.rb
186
+ - ./spec/support/http_server_manager/test/silent_logger.rb
187
+ - ./spec/support/http_server_manager/test_support.rb