http_stub 0.13.3 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/http_stub/rake/server_tasks.rb +9 -1
- data/lib/http_stub/version.rb +1 -1
- data/spec/lib/http_stub/rake/server_tasks_spec.rb +41 -10
- metadata +153 -153
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4b66f83860993b5275ae09eb7d036184e0e19d0
|
4
|
+
data.tar.gz: 3e7adaa3cf66591de7cd36ac147ef04f8ccbf6cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb06ac8af51c657cf65f26aa690a5c3007c6a8cd7716d4a2d2f38a69368fd71dfab30616a153fc542c05b0663c533b0bdff3520ca3e5b23013271515be631608
|
7
|
+
data.tar.gz: 5b122f98db1a5e29e5e5e3bcb5cef521b9baab8c0b05cd9c5214eb5fd3af11b06e63f0475a0401172ba901d453be32aa418fe3315bac48236a43c1d06d33f867
|
@@ -6,7 +6,10 @@ module HttpStub
|
|
6
6
|
def initialize(args)
|
7
7
|
namespace args[:name] do
|
8
8
|
define_start_task(args)
|
9
|
-
|
9
|
+
if args[:configurer]
|
10
|
+
define_initialize_task(args)
|
11
|
+
define_reset_task(args)
|
12
|
+
end
|
10
13
|
end
|
11
14
|
end
|
12
15
|
|
@@ -30,6 +33,11 @@ module HttpStub
|
|
30
33
|
task(:configure) { args[:configurer].initialize! }
|
31
34
|
end
|
32
35
|
|
36
|
+
def define_reset_task(args)
|
37
|
+
desc "Resets stub #{args[:name]} to its configured state"
|
38
|
+
task(:reset) { args[:configurer].reset! }
|
39
|
+
end
|
40
|
+
|
33
41
|
end
|
34
42
|
|
35
43
|
end
|
data/lib/http_stub/version.rb
CHANGED
@@ -1,22 +1,53 @@
|
|
1
1
|
describe HttpStub::Rake::ServerTasks do
|
2
2
|
|
3
|
-
|
3
|
+
let(:default_args) { { port: 8001 } }
|
4
|
+
let(:configurer) { double(HttpStub::Configurer) }
|
4
5
|
|
5
|
-
|
6
|
+
before(:each) { HttpStub::Rake::ServerTasks.new(default_args.merge(args)) }
|
6
7
|
|
7
|
-
|
8
|
+
describe "the configure task" do
|
8
9
|
|
9
10
|
context "when a configurer is provided" do
|
10
11
|
|
11
|
-
let(:
|
12
|
-
let(:args) { { name: :tasks_configurer_provided_test, configurer: configurer } }
|
12
|
+
let(:args) { { name: :configure_task_configurer_provided_test, configurer: configurer } }
|
13
13
|
|
14
14
|
context "and the task is executed" do
|
15
15
|
|
16
|
-
it "
|
16
|
+
it "initializes the provided configurer" do
|
17
17
|
configurer.should_receive(:initialize!)
|
18
18
|
|
19
|
-
Rake::Task["
|
19
|
+
Rake::Task["configure_task_configurer_provided_test:configure"].execute
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
context "when a configurer is not provided" do
|
27
|
+
|
28
|
+
let(:args) { { name: :configure_task_configurer_not_provided_test } }
|
29
|
+
|
30
|
+
it "does not generate a task" do
|
31
|
+
lambda { Rake::Task["configure_task_configurer_not_provided_test:configure"] }.should
|
32
|
+
raise_error(/Don't know how to build task/)
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
describe "the reset task" do
|
40
|
+
|
41
|
+
context "when a configurer is provided" do
|
42
|
+
|
43
|
+
let(:args) { { name: :reset_task_configurer_provided_test, configurer: configurer } }
|
44
|
+
|
45
|
+
context "and the task is executed" do
|
46
|
+
|
47
|
+
it "resets the provided configurer" do
|
48
|
+
configurer.should_receive(:reset!)
|
49
|
+
|
50
|
+
Rake::Task["reset_task_configurer_provided_test:reset"].execute
|
20
51
|
end
|
21
52
|
|
22
53
|
end
|
@@ -25,10 +56,10 @@ describe HttpStub::Rake::ServerTasks do
|
|
25
56
|
|
26
57
|
context "when a configurer is not provided" do
|
27
58
|
|
28
|
-
let(:args) { { name: :
|
59
|
+
let(:args) { { name: :reset_task_configurer_not_provided_test } }
|
29
60
|
|
30
|
-
it "
|
31
|
-
lambda { Rake::Task["
|
61
|
+
it "does not generate a task" do
|
62
|
+
lambda { Rake::Task["reset_task_configurer_not_provided_test:reset"] }.should
|
32
63
|
raise_error(/Don't know how to build task/)
|
33
64
|
end
|
34
65
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_stub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ueckerman
|
@@ -9,216 +9,216 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '10.1'
|
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: '10.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: sinatra
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '1.4'
|
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: '1.4'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: sinatra-partial
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0.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: '0.4'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: haml
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '4.0'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '4.0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: sass
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - ~>
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '3.2'
|
77
77
|
type: :runtime
|
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.2'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: http_server_manager
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - ~>
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0.4'
|
91
91
|
type: :runtime
|
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.4'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: travis-lint
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - ~>
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '1.7'
|
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.7'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: metric_fu
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - ~>
|
116
|
+
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '4.7'
|
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: '4.7'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rspec
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - ~>
|
130
|
+
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '2.14'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - ~>
|
137
|
+
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '2.14'
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: simplecov
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- - ~>
|
144
|
+
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0.8'
|
147
147
|
type: :development
|
148
148
|
prerelease: false
|
149
149
|
version_requirements: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
|
-
- - ~>
|
151
|
+
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0.8'
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
155
|
name: rack-test
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- - ~>
|
158
|
+
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '0.6'
|
161
161
|
type: :development
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
|
-
- - ~>
|
165
|
+
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0.6'
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: nokogiri
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
|
-
- - ~>
|
172
|
+
- - "~>"
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '1.6'
|
175
175
|
type: :development
|
176
176
|
prerelease: false
|
177
177
|
version_requirements: !ruby/object:Gem::Requirement
|
178
178
|
requirements:
|
179
|
-
- - ~>
|
179
|
+
- - "~>"
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '1.6'
|
182
182
|
- !ruby/object:Gem::Dependency
|
183
183
|
name: httparty
|
184
184
|
requirement: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
|
-
- - ~>
|
186
|
+
- - "~>"
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0.12'
|
189
189
|
type: :development
|
190
190
|
prerelease: false
|
191
191
|
version_requirements: !ruby/object:Gem::Requirement
|
192
192
|
requirements:
|
193
|
-
- - ~>
|
193
|
+
- - "~>"
|
194
194
|
- !ruby/object:Gem::Version
|
195
195
|
version: '0.12'
|
196
196
|
- !ruby/object:Gem::Dependency
|
197
197
|
name: wait_until
|
198
198
|
requirement: !ruby/object:Gem::Requirement
|
199
199
|
requirements:
|
200
|
-
- - ~>
|
200
|
+
- - "~>"
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0.1'
|
203
203
|
type: :development
|
204
204
|
prerelease: false
|
205
205
|
version_requirements: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
|
-
- - ~>
|
207
|
+
- - "~>"
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0.1'
|
210
210
|
- !ruby/object:Gem::Dependency
|
211
211
|
name: json
|
212
212
|
requirement: !ruby/object:Gem::Requirement
|
213
213
|
requirements:
|
214
|
-
- - ~>
|
214
|
+
- - "~>"
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: '1.8'
|
217
217
|
type: :development
|
218
218
|
prerelease: false
|
219
219
|
version_requirements: !ruby/object:Gem::Requirement
|
220
220
|
requirements:
|
221
|
-
- - ~>
|
221
|
+
- - "~>"
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: '1.8'
|
224
224
|
description: fakeweb for a HTTP server, informing it to stub / fake responses.
|
@@ -227,85 +227,85 @@ executables: []
|
|
227
227
|
extensions: []
|
228
228
|
extra_rdoc_files: []
|
229
229
|
files:
|
230
|
-
- ./lib/http_stub.rb
|
231
|
-
- ./lib/http_stub/configurer.rb
|
232
|
-
- ./lib/http_stub/configurer/command.rb
|
233
|
-
- ./lib/http_stub/configurer/command_processor.rb
|
234
|
-
- ./lib/http_stub/configurer/impatient_command_chain.rb
|
235
|
-
- ./lib/http_stub/configurer/patient_command_chain.rb
|
236
|
-
- ./lib/http_stub/configurer/request/controllable_value.rb
|
237
|
-
- ./lib/http_stub/configurer/request/omittable.rb
|
238
|
-
- ./lib/http_stub/configurer/request/regexpable.rb
|
239
|
-
- ./lib/http_stub/configurer/request/stub.rb
|
240
|
-
- ./lib/http_stub/configurer/request/stub_activator.rb
|
241
|
-
- ./lib/http_stub/controllers/stub_activator_controller.rb
|
242
|
-
- ./lib/http_stub/controllers/stub_controller.rb
|
243
|
-
- ./lib/http_stub/hash_extensions.rb
|
244
|
-
- ./lib/http_stub/models/exact_value_matcher.rb
|
245
|
-
- ./lib/http_stub/models/hash_with_string_value_matchers.rb
|
246
|
-
- ./lib/http_stub/models/headers.rb
|
247
|
-
- ./lib/http_stub/models/omitted_value_matcher.rb
|
248
|
-
- ./lib/http_stub/models/regexp_value_matcher.rb
|
249
|
-
- ./lib/http_stub/models/registry.rb
|
250
|
-
- ./lib/http_stub/models/request_header_parser.rb
|
251
|
-
- ./lib/http_stub/models/request_pipeline.rb
|
252
|
-
- ./lib/http_stub/models/response.rb
|
253
|
-
- ./lib/http_stub/models/string_value_matcher.rb
|
254
|
-
- ./lib/http_stub/models/stub.rb
|
255
|
-
- ./lib/http_stub/models/stub_activator.rb
|
256
|
-
- ./lib/http_stub/models/stub_headers.rb
|
257
|
-
- ./lib/http_stub/models/stub_parameters.rb
|
258
|
-
- ./lib/http_stub/models/stub_uri.rb
|
259
|
-
- ./lib/http_stub/rake/server_daemon_tasks.rb
|
260
|
-
- ./lib/http_stub/rake/server_tasks.rb
|
261
|
-
- ./lib/http_stub/rake/task_generators.rb
|
262
|
-
- ./lib/http_stub/server.rb
|
263
|
-
- ./lib/http_stub/server_daemon.rb
|
264
|
-
- ./lib/http_stub/version.rb
|
265
|
-
- ./lib/http_stub/views/_stub.haml
|
266
|
-
- ./lib/http_stub/views/application.sass
|
267
|
-
- ./lib/http_stub/views/layout.haml
|
268
|
-
- ./lib/http_stub/views/stub_activators.haml
|
269
|
-
- ./lib/http_stub/views/stubs.haml
|
270
|
-
- ./spec/curl_samples.txt
|
271
|
-
- ./spec/lib/http_stub/configurer/command_processor_integration_spec.rb
|
272
|
-
- ./spec/lib/http_stub/configurer/command_spec.rb
|
273
|
-
- ./spec/lib/http_stub/configurer/impatient_command_chain_spec.rb
|
274
|
-
- ./spec/lib/http_stub/configurer/patient_command_chain_spec.rb
|
275
|
-
- ./spec/lib/http_stub/configurer/request/controllable_value_spec.rb
|
276
|
-
- ./spec/lib/http_stub/configurer/request/omittable_spec.rb
|
277
|
-
- ./spec/lib/http_stub/configurer/request/regexpable_spec.rb
|
278
|
-
- ./spec/lib/http_stub/configurer/request/stub_activator_spec.rb
|
279
|
-
- ./spec/lib/http_stub/configurer/request/stub_spec.rb
|
280
|
-
- ./spec/lib/http_stub/configurer_integration_spec.rb
|
281
|
-
- ./spec/lib/http_stub/configurer_spec.rb
|
282
|
-
- ./spec/lib/http_stub/controllers/stub_activator_controller_spec.rb
|
283
|
-
- ./spec/lib/http_stub/controllers/stub_controller_spec.rb
|
284
|
-
- ./spec/lib/http_stub/hash_extensions_spec.rb
|
285
|
-
- ./spec/lib/http_stub/models/exact_value_matcher_spec.rb
|
286
|
-
- ./spec/lib/http_stub/models/hash_with_string_value_matchers_spec.rb
|
287
|
-
- ./spec/lib/http_stub/models/headers_spec.rb
|
288
|
-
- ./spec/lib/http_stub/models/omitted_value_matcher_spec.rb
|
289
|
-
- ./spec/lib/http_stub/models/regexp_value_matcher_spec.rb
|
290
|
-
- ./spec/lib/http_stub/models/registry_spec.rb
|
291
|
-
- ./spec/lib/http_stub/models/request_header_parser_spec.rb
|
292
|
-
- ./spec/lib/http_stub/models/request_pipeline_spec.rb
|
293
|
-
- ./spec/lib/http_stub/models/response_spec.rb
|
294
|
-
- ./spec/lib/http_stub/models/string_value_matcher_spec.rb
|
295
|
-
- ./spec/lib/http_stub/models/stub_activator_spec.rb
|
296
|
-
- ./spec/lib/http_stub/models/stub_headers_spec.rb
|
297
|
-
- ./spec/lib/http_stub/models/stub_parameters_spec.rb
|
298
|
-
- ./spec/lib/http_stub/models/stub_spec.rb
|
299
|
-
- ./spec/lib/http_stub/models/stub_uri_spec.rb
|
300
|
-
- ./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb
|
301
|
-
- ./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb
|
302
|
-
- ./spec/lib/http_stub/rake/server_tasks_spec.rb
|
303
|
-
- ./spec/lib/http_stub/server_daemon_integration_spec.rb
|
304
|
-
- ./spec/lib/http_stub/server_daemon_spec.rb
|
305
|
-
- ./spec/lib/http_stub/server_integration_spec.rb
|
306
|
-
- ./spec/lib/http_stub/server_spec.rb
|
307
|
-
- ./spec/spec_helper.rb
|
308
|
-
- ./spec/support/server_integration.rb
|
230
|
+
- "./lib/http_stub.rb"
|
231
|
+
- "./lib/http_stub/configurer.rb"
|
232
|
+
- "./lib/http_stub/configurer/command.rb"
|
233
|
+
- "./lib/http_stub/configurer/command_processor.rb"
|
234
|
+
- "./lib/http_stub/configurer/impatient_command_chain.rb"
|
235
|
+
- "./lib/http_stub/configurer/patient_command_chain.rb"
|
236
|
+
- "./lib/http_stub/configurer/request/controllable_value.rb"
|
237
|
+
- "./lib/http_stub/configurer/request/omittable.rb"
|
238
|
+
- "./lib/http_stub/configurer/request/regexpable.rb"
|
239
|
+
- "./lib/http_stub/configurer/request/stub.rb"
|
240
|
+
- "./lib/http_stub/configurer/request/stub_activator.rb"
|
241
|
+
- "./lib/http_stub/controllers/stub_activator_controller.rb"
|
242
|
+
- "./lib/http_stub/controllers/stub_controller.rb"
|
243
|
+
- "./lib/http_stub/hash_extensions.rb"
|
244
|
+
- "./lib/http_stub/models/exact_value_matcher.rb"
|
245
|
+
- "./lib/http_stub/models/hash_with_string_value_matchers.rb"
|
246
|
+
- "./lib/http_stub/models/headers.rb"
|
247
|
+
- "./lib/http_stub/models/omitted_value_matcher.rb"
|
248
|
+
- "./lib/http_stub/models/regexp_value_matcher.rb"
|
249
|
+
- "./lib/http_stub/models/registry.rb"
|
250
|
+
- "./lib/http_stub/models/request_header_parser.rb"
|
251
|
+
- "./lib/http_stub/models/request_pipeline.rb"
|
252
|
+
- "./lib/http_stub/models/response.rb"
|
253
|
+
- "./lib/http_stub/models/string_value_matcher.rb"
|
254
|
+
- "./lib/http_stub/models/stub.rb"
|
255
|
+
- "./lib/http_stub/models/stub_activator.rb"
|
256
|
+
- "./lib/http_stub/models/stub_headers.rb"
|
257
|
+
- "./lib/http_stub/models/stub_parameters.rb"
|
258
|
+
- "./lib/http_stub/models/stub_uri.rb"
|
259
|
+
- "./lib/http_stub/rake/server_daemon_tasks.rb"
|
260
|
+
- "./lib/http_stub/rake/server_tasks.rb"
|
261
|
+
- "./lib/http_stub/rake/task_generators.rb"
|
262
|
+
- "./lib/http_stub/server.rb"
|
263
|
+
- "./lib/http_stub/server_daemon.rb"
|
264
|
+
- "./lib/http_stub/version.rb"
|
265
|
+
- "./lib/http_stub/views/_stub.haml"
|
266
|
+
- "./lib/http_stub/views/application.sass"
|
267
|
+
- "./lib/http_stub/views/layout.haml"
|
268
|
+
- "./lib/http_stub/views/stub_activators.haml"
|
269
|
+
- "./lib/http_stub/views/stubs.haml"
|
270
|
+
- "./spec/curl_samples.txt"
|
271
|
+
- "./spec/lib/http_stub/configurer/command_processor_integration_spec.rb"
|
272
|
+
- "./spec/lib/http_stub/configurer/command_spec.rb"
|
273
|
+
- "./spec/lib/http_stub/configurer/impatient_command_chain_spec.rb"
|
274
|
+
- "./spec/lib/http_stub/configurer/patient_command_chain_spec.rb"
|
275
|
+
- "./spec/lib/http_stub/configurer/request/controllable_value_spec.rb"
|
276
|
+
- "./spec/lib/http_stub/configurer/request/omittable_spec.rb"
|
277
|
+
- "./spec/lib/http_stub/configurer/request/regexpable_spec.rb"
|
278
|
+
- "./spec/lib/http_stub/configurer/request/stub_activator_spec.rb"
|
279
|
+
- "./spec/lib/http_stub/configurer/request/stub_spec.rb"
|
280
|
+
- "./spec/lib/http_stub/configurer_integration_spec.rb"
|
281
|
+
- "./spec/lib/http_stub/configurer_spec.rb"
|
282
|
+
- "./spec/lib/http_stub/controllers/stub_activator_controller_spec.rb"
|
283
|
+
- "./spec/lib/http_stub/controllers/stub_controller_spec.rb"
|
284
|
+
- "./spec/lib/http_stub/hash_extensions_spec.rb"
|
285
|
+
- "./spec/lib/http_stub/models/exact_value_matcher_spec.rb"
|
286
|
+
- "./spec/lib/http_stub/models/hash_with_string_value_matchers_spec.rb"
|
287
|
+
- "./spec/lib/http_stub/models/headers_spec.rb"
|
288
|
+
- "./spec/lib/http_stub/models/omitted_value_matcher_spec.rb"
|
289
|
+
- "./spec/lib/http_stub/models/regexp_value_matcher_spec.rb"
|
290
|
+
- "./spec/lib/http_stub/models/registry_spec.rb"
|
291
|
+
- "./spec/lib/http_stub/models/request_header_parser_spec.rb"
|
292
|
+
- "./spec/lib/http_stub/models/request_pipeline_spec.rb"
|
293
|
+
- "./spec/lib/http_stub/models/response_spec.rb"
|
294
|
+
- "./spec/lib/http_stub/models/string_value_matcher_spec.rb"
|
295
|
+
- "./spec/lib/http_stub/models/stub_activator_spec.rb"
|
296
|
+
- "./spec/lib/http_stub/models/stub_headers_spec.rb"
|
297
|
+
- "./spec/lib/http_stub/models/stub_parameters_spec.rb"
|
298
|
+
- "./spec/lib/http_stub/models/stub_spec.rb"
|
299
|
+
- "./spec/lib/http_stub/models/stub_uri_spec.rb"
|
300
|
+
- "./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb"
|
301
|
+
- "./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb"
|
302
|
+
- "./spec/lib/http_stub/rake/server_tasks_spec.rb"
|
303
|
+
- "./spec/lib/http_stub/server_daemon_integration_spec.rb"
|
304
|
+
- "./spec/lib/http_stub/server_daemon_spec.rb"
|
305
|
+
- "./spec/lib/http_stub/server_integration_spec.rb"
|
306
|
+
- "./spec/lib/http_stub/server_spec.rb"
|
307
|
+
- "./spec/spec_helper.rb"
|
308
|
+
- "./spec/support/server_integration.rb"
|
309
309
|
homepage: http://github.com/MYOB-Technology/http_stub
|
310
310
|
licenses:
|
311
311
|
- MIT
|
@@ -316,57 +316,57 @@ require_paths:
|
|
316
316
|
- lib
|
317
317
|
required_ruby_version: !ruby/object:Gem::Requirement
|
318
318
|
requirements:
|
319
|
-
- -
|
319
|
+
- - ">="
|
320
320
|
- !ruby/object:Gem::Version
|
321
321
|
version: 1.9.3
|
322
322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
323
323
|
requirements:
|
324
|
-
- -
|
324
|
+
- - ">="
|
325
325
|
- !ruby/object:Gem::Version
|
326
326
|
version: '0'
|
327
327
|
requirements: []
|
328
328
|
rubyforge_project: http_stub
|
329
|
-
rubygems_version: 2.2.
|
329
|
+
rubygems_version: 2.2.2
|
330
330
|
signing_key:
|
331
331
|
specification_version: 4
|
332
332
|
summary: A HTTP Server replaying configured stub responses.
|
333
333
|
test_files:
|
334
|
-
- ./spec/curl_samples.txt
|
335
|
-
- ./spec/lib/http_stub/configurer/command_processor_integration_spec.rb
|
336
|
-
- ./spec/lib/http_stub/configurer/command_spec.rb
|
337
|
-
- ./spec/lib/http_stub/configurer/impatient_command_chain_spec.rb
|
338
|
-
- ./spec/lib/http_stub/configurer/patient_command_chain_spec.rb
|
339
|
-
- ./spec/lib/http_stub/configurer/request/controllable_value_spec.rb
|
340
|
-
- ./spec/lib/http_stub/configurer/request/omittable_spec.rb
|
341
|
-
- ./spec/lib/http_stub/configurer/request/regexpable_spec.rb
|
342
|
-
- ./spec/lib/http_stub/configurer/request/stub_activator_spec.rb
|
343
|
-
- ./spec/lib/http_stub/configurer/request/stub_spec.rb
|
344
|
-
- ./spec/lib/http_stub/configurer_integration_spec.rb
|
345
|
-
- ./spec/lib/http_stub/configurer_spec.rb
|
346
|
-
- ./spec/lib/http_stub/controllers/stub_activator_controller_spec.rb
|
347
|
-
- ./spec/lib/http_stub/controllers/stub_controller_spec.rb
|
348
|
-
- ./spec/lib/http_stub/hash_extensions_spec.rb
|
349
|
-
- ./spec/lib/http_stub/models/exact_value_matcher_spec.rb
|
350
|
-
- ./spec/lib/http_stub/models/hash_with_string_value_matchers_spec.rb
|
351
|
-
- ./spec/lib/http_stub/models/headers_spec.rb
|
352
|
-
- ./spec/lib/http_stub/models/omitted_value_matcher_spec.rb
|
353
|
-
- ./spec/lib/http_stub/models/regexp_value_matcher_spec.rb
|
354
|
-
- ./spec/lib/http_stub/models/registry_spec.rb
|
355
|
-
- ./spec/lib/http_stub/models/request_header_parser_spec.rb
|
356
|
-
- ./spec/lib/http_stub/models/request_pipeline_spec.rb
|
357
|
-
- ./spec/lib/http_stub/models/response_spec.rb
|
358
|
-
- ./spec/lib/http_stub/models/string_value_matcher_spec.rb
|
359
|
-
- ./spec/lib/http_stub/models/stub_activator_spec.rb
|
360
|
-
- ./spec/lib/http_stub/models/stub_headers_spec.rb
|
361
|
-
- ./spec/lib/http_stub/models/stub_parameters_spec.rb
|
362
|
-
- ./spec/lib/http_stub/models/stub_spec.rb
|
363
|
-
- ./spec/lib/http_stub/models/stub_uri_spec.rb
|
364
|
-
- ./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb
|
365
|
-
- ./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb
|
366
|
-
- ./spec/lib/http_stub/rake/server_tasks_spec.rb
|
367
|
-
- ./spec/lib/http_stub/server_daemon_integration_spec.rb
|
368
|
-
- ./spec/lib/http_stub/server_daemon_spec.rb
|
369
|
-
- ./spec/lib/http_stub/server_integration_spec.rb
|
370
|
-
- ./spec/lib/http_stub/server_spec.rb
|
371
|
-
- ./spec/spec_helper.rb
|
372
|
-
- ./spec/support/server_integration.rb
|
334
|
+
- "./spec/curl_samples.txt"
|
335
|
+
- "./spec/lib/http_stub/configurer/command_processor_integration_spec.rb"
|
336
|
+
- "./spec/lib/http_stub/configurer/command_spec.rb"
|
337
|
+
- "./spec/lib/http_stub/configurer/impatient_command_chain_spec.rb"
|
338
|
+
- "./spec/lib/http_stub/configurer/patient_command_chain_spec.rb"
|
339
|
+
- "./spec/lib/http_stub/configurer/request/controllable_value_spec.rb"
|
340
|
+
- "./spec/lib/http_stub/configurer/request/omittable_spec.rb"
|
341
|
+
- "./spec/lib/http_stub/configurer/request/regexpable_spec.rb"
|
342
|
+
- "./spec/lib/http_stub/configurer/request/stub_activator_spec.rb"
|
343
|
+
- "./spec/lib/http_stub/configurer/request/stub_spec.rb"
|
344
|
+
- "./spec/lib/http_stub/configurer_integration_spec.rb"
|
345
|
+
- "./spec/lib/http_stub/configurer_spec.rb"
|
346
|
+
- "./spec/lib/http_stub/controllers/stub_activator_controller_spec.rb"
|
347
|
+
- "./spec/lib/http_stub/controllers/stub_controller_spec.rb"
|
348
|
+
- "./spec/lib/http_stub/hash_extensions_spec.rb"
|
349
|
+
- "./spec/lib/http_stub/models/exact_value_matcher_spec.rb"
|
350
|
+
- "./spec/lib/http_stub/models/hash_with_string_value_matchers_spec.rb"
|
351
|
+
- "./spec/lib/http_stub/models/headers_spec.rb"
|
352
|
+
- "./spec/lib/http_stub/models/omitted_value_matcher_spec.rb"
|
353
|
+
- "./spec/lib/http_stub/models/regexp_value_matcher_spec.rb"
|
354
|
+
- "./spec/lib/http_stub/models/registry_spec.rb"
|
355
|
+
- "./spec/lib/http_stub/models/request_header_parser_spec.rb"
|
356
|
+
- "./spec/lib/http_stub/models/request_pipeline_spec.rb"
|
357
|
+
- "./spec/lib/http_stub/models/response_spec.rb"
|
358
|
+
- "./spec/lib/http_stub/models/string_value_matcher_spec.rb"
|
359
|
+
- "./spec/lib/http_stub/models/stub_activator_spec.rb"
|
360
|
+
- "./spec/lib/http_stub/models/stub_headers_spec.rb"
|
361
|
+
- "./spec/lib/http_stub/models/stub_parameters_spec.rb"
|
362
|
+
- "./spec/lib/http_stub/models/stub_spec.rb"
|
363
|
+
- "./spec/lib/http_stub/models/stub_uri_spec.rb"
|
364
|
+
- "./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb"
|
365
|
+
- "./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb"
|
366
|
+
- "./spec/lib/http_stub/rake/server_tasks_spec.rb"
|
367
|
+
- "./spec/lib/http_stub/server_daemon_integration_spec.rb"
|
368
|
+
- "./spec/lib/http_stub/server_daemon_spec.rb"
|
369
|
+
- "./spec/lib/http_stub/server_integration_spec.rb"
|
370
|
+
- "./spec/lib/http_stub/server_spec.rb"
|
371
|
+
- "./spec/spec_helper.rb"
|
372
|
+
- "./spec/support/server_integration.rb"
|