http_server_manager 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module HttpServerManager
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  describe HttpServerManager::Rake::ServerTasks do
2
- include_context "server integration utilities"
2
+ include_context "managed http server integration utilities"
3
3
  include ::Rake::DSL
4
4
 
5
5
  before(:all) do
@@ -1,5 +1,5 @@
1
1
  describe HttpServerManager::Server do
2
- include_context "server integration utilities"
2
+ include_context "managed http server integration utilities"
3
3
 
4
4
  let(:server) { RackServer.new(port: 4001) }
5
5
 
data/spec/spec_helper.rb CHANGED
@@ -8,6 +8,8 @@ end if ENV["coverage"]
8
8
  require_relative '../lib/http_server_manager'
9
9
  require_relative '../lib/http_server_manager/rake/task_generators'
10
10
 
11
+ Bundler.require(:test)
12
+
11
13
  module HttpServerManager
12
14
 
13
15
  def self.root
@@ -16,13 +18,9 @@ module HttpServerManager
16
18
 
17
19
  end
18
20
 
19
- require_relative 'support/http_server_manager/test/silent_logger'
21
+ require_relative 'support/http_server_manager/test'
20
22
  HttpServerManager.logger = HttpServerManager::Test::SilentLogger
21
23
  HttpServerManager.pid_dir = "#{HttpServerManager.root}/tmp/pids"
22
24
  HttpServerManager.log_dir = "#{HttpServerManager.root}/tmp/logs"
23
25
 
24
- Bundler.require(:test)
25
-
26
26
  require_relative '../examples/rack_server'
27
-
28
- Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |file| require file }
@@ -0,0 +1,3 @@
1
+ require_relative 'test/server_integration_utilities'
2
+ require_relative 'test/server_integration_utilities_spec_context'
3
+ require_relative 'test/silent_logger'
@@ -1,4 +1,4 @@
1
- shared_context "server integration utilities" do
1
+ shared_context "managed http server integration utilities" do
2
2
  include HttpServerManager::Test::ServerIntegrationUtilities
3
3
 
4
4
  before(:each) do
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.0.2
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -154,6 +154,7 @@ files:
154
154
  - ./spec/support/http_server_manager/test/server_integration_utilities.rb
155
155
  - ./spec/support/http_server_manager/test/server_integration_utilities_spec_context.rb
156
156
  - ./spec/support/http_server_manager/test/silent_logger.rb
157
+ - ./spec/support/http_server_manager/test.rb
157
158
  - ./spec/lib/http_server_manager/rake/server_tasks_integration_spec.rb
158
159
  - ./spec/lib/http_server_manager/server_integration_spec.rb
159
160
  - ./spec/lib/http_server_manager/stdout_logger_spec.rb
@@ -181,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
182
  version: '0'
182
183
  segments:
183
184
  - 0
184
- hash: -1567295566302412530
185
+ hash: 1740242006603361375
185
186
  requirements: []
186
187
  rubyforge_project: http_server_manager
187
188
  rubygems_version: 1.8.25
@@ -197,3 +198,4 @@ test_files:
197
198
  - ./spec/support/http_server_manager/test/server_integration_utilities.rb
198
199
  - ./spec/support/http_server_manager/test/server_integration_utilities_spec_context.rb
199
200
  - ./spec/support/http_server_manager/test/silent_logger.rb
201
+ - ./spec/support/http_server_manager/test.rb