http_server_manager 0.2.0 → 0.3.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.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -3,6 +3,7 @@ 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) }
6
7
  let(:server) { double(HttpServerManager::Server, name: "test_server") }
7
8
 
8
9
  let(:server_tasks) { HttpServerManager::Rake::ServerTasks.new(server) }
@@ -13,7 +14,7 @@ describe HttpServerManager::Rake::ServerTasks do
13
14
  end
14
15
  end
15
16
 
16
- after(:each) { Rake.application.tasks_in_scope([task_namespace]).each(&:clear) }
17
+ after(:each) { Rake.application.tasks_in_scope(task_scope).each(&:clear) }
17
18
 
18
19
  describe "start task" do
19
20
 
@@ -55,7 +56,7 @@ describe HttpServerManager::Rake::ServerTasks do
55
56
  let(:task) { ::Rake::Task["#{task_namespace}:status"] }
56
57
 
57
58
  it "should write the server name and it's status to stdout" do
58
- server.stub!(:status).and_return("stopped")
59
+ server.stub(:status).and_return("stopped")
59
60
  server_tasks.should_receive(:puts).with("test_server is stopped")
60
61
 
61
62
  task.execute
@@ -11,8 +11,8 @@ describe HttpServerManager::Server do
11
11
  let(:server) { HttpServerManager::TestableServer.new(name: "Test Server", port: 8888) }
12
12
 
13
13
  before(:each) do
14
- server.stub!(:start!)
15
- server.stub!(:stop!)
14
+ server.stub(:start!)
15
+ server.stub(:stop!)
16
16
  end
17
17
 
18
18
  describe "#restart!" do
@@ -2,7 +2,7 @@ shared_context "managed http server integration utilities" do
2
2
  include HttpServerManager::Test::ServerIntegrationUtilities
3
3
 
4
4
  before(:each) do
5
- HttpServerManager.logger.stub!(:info)
5
+ HttpServerManager.logger.stub(:info)
6
6
 
7
7
  ensure_pid_file_backup_directory_exists!
8
8
  end
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.2.0
4
+ version: 0.3.0
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-04-15 00:00:00.000000000 Z
12
+ date: 2013-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 10.0.3
21
+ version: 10.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 10.0.3
29
+ version: 10.1.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: sys-proctree
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '2.12'
69
+ version: '2.14'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '2.12'
77
+ version: '2.14'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: simplecov
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 3.2.2
101
+ version: 4.1.1
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 3.2.2
109
+ version: 4.1.1
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: travis-lint
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 1.6.0
117
+ version: 1.7.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 1.6.0
125
+ version: 1.7.0
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: rack
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -181,9 +181,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - - ! '>='
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
- segments:
185
- - 0
186
- hash: 4335751342114545117
187
184
  requirements: []
188
185
  rubyforge_project: http_server_manager
189
186
  rubygems_version: 1.8.25