http_stub 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +5 -13
  2. data/lib/http_stub.rb +2 -1
  3. data/lib/http_stub/configurer/dsl/scenario_builder.rb +4 -4
  4. data/lib/http_stub/configurer/request/http/factory.rb +2 -2
  5. data/lib/http_stub/configurer/server/facade.rb +19 -9
  6. data/lib/http_stub/server/application.rb +22 -12
  7. data/lib/http_stub/server/{views → public}/favicon.ico +0 -0
  8. data/lib/http_stub/server/public/jquery-2.2.1.min.js +4 -0
  9. data/lib/http_stub/server/scenario/activator.rb +3 -3
  10. data/lib/http_stub/server/scenario/controller.rb +3 -3
  11. data/lib/http_stub/server/scenario/links.rb +22 -0
  12. data/lib/http_stub/server/scenario/scenario.rb +14 -11
  13. data/lib/http_stub/server/scenario/trigger.rb +18 -0
  14. data/lib/http_stub/server/stub/controller.rb +1 -1
  15. data/lib/http_stub/server/stub/registry.rb +2 -2
  16. data/lib/http_stub/server/views/_activate_scenario.haml +10 -0
  17. data/lib/http_stub/server/views/application.sass +4 -0
  18. data/lib/http_stub/server/views/index.haml +6 -0
  19. data/lib/http_stub/server/views/layout.haml +3 -2
  20. data/lib/http_stub/server/views/matches.haml +1 -0
  21. data/lib/http_stub/server/views/{_scenario.haml → scenario.haml} +4 -3
  22. data/lib/http_stub/server/views/scenarios.haml +10 -3
  23. data/lib/http_stub/server/views/stubs.haml +1 -0
  24. data/lib/http_stub/version.rb +1 -1
  25. data/spec/acceptance/endpoint_template_spec.rb +2 -2
  26. data/spec/acceptance/scenario_spec.rb +3 -3
  27. data/spec/lib/http_stub/configurer/request/http/factory_spec.rb +24 -4
  28. data/spec/lib/http_stub/configurer/request/scenario_spec.rb +2 -2
  29. data/spec/lib/http_stub/configurer/server/facade_spec.rb +18 -8
  30. data/spec/lib/http_stub/server/application_integration_spec.rb +270 -111
  31. data/spec/lib/http_stub/server/application_spec.rb +81 -15
  32. data/spec/lib/http_stub/server/scenario/activator_spec.rb +8 -3
  33. data/spec/lib/http_stub/server/scenario/controller_spec.rb +9 -7
  34. data/spec/lib/http_stub/server/scenario/links_spec.rb +41 -0
  35. data/spec/lib/http_stub/server/scenario/scenario_spec.rb +72 -30
  36. data/spec/lib/http_stub/server/scenario/trigger_spec.rb +36 -0
  37. data/spec/lib/http_stub/server/stub/controller_spec.rb +2 -2
  38. data/spec/lib/http_stub/server/stub/registry_spec.rb +23 -9
  39. data/spec/spec_helper.rb +1 -1
  40. data/spec/support/http_stub/scenario_fixture.rb +3 -3
  41. metadata +334 -342
  42. data/lib/http_stub/server/request_pipeline.rb +0 -27
  43. data/spec/lib/http_stub/server/request_pipeline_spec.rb +0 -80
@@ -0,0 +1,36 @@
1
+ describe HttpStub::Server::Scenario::Trigger do
2
+
3
+ let(:name) { "Some Scenario Name" }
4
+
5
+ let(:trigger) { described_class.new(name) }
6
+
7
+ describe "#name" do
8
+
9
+ subject { trigger.name }
10
+
11
+ it "returns the provided name" do
12
+ expect(subject).to eql(name)
13
+ end
14
+
15
+ end
16
+
17
+ describe "#links" do
18
+
19
+ subject { trigger.links }
20
+
21
+ it "creates links based on the scenario's name" do
22
+ expect(HttpStub::Server::Scenario::Links).to receive(:new).with(name)
23
+
24
+ subject
25
+ end
26
+
27
+ it "returns the created links" do
28
+ links = instance_double(HttpStub::Server::Scenario::Links)
29
+ allow(HttpStub::Server::Scenario::Links).to receive(:new).and_return(links)
30
+
31
+ expect(subject).to eql(links)
32
+ end
33
+
34
+ end
35
+
36
+ end
@@ -72,8 +72,8 @@ describe HttpStub::Server::Stub::Controller do
72
72
 
73
73
  before(:example) { allow(registry).to receive(:find).with(request, logger).and_return(nil) }
74
74
 
75
- it "returns an empty response" do
76
- expect(subject).to eql(HttpStub::Server::Response::EMPTY)
75
+ it "returns a not found response" do
76
+ expect(subject).to eql(HttpStub::Server::Response::NOT_FOUND)
77
77
  end
78
78
 
79
79
  end
@@ -79,18 +79,18 @@ describe HttpStub::Server::Stub::Registry do
79
79
  let(:request) { HttpStub::Server::RequestFixture.create }
80
80
  let(:criteria) { request }
81
81
 
82
- before(:example) { allow(match_registry).to receive(:add) }
82
+ let(:stub_match) { instance_double(HttpStub::Server::Stub::Match::Match) }
83
+
84
+ before(:example) do
85
+ allow(HttpStub::Server::Stub::Match::Match).to receive(:new).and_return(stub_match)
86
+ allow(match_registry).to receive(:add)
87
+ end
83
88
 
84
89
  it_behaves_like "an approach to finding a stub in the registry"
85
90
 
86
91
  context "when a stub is found" do
87
92
 
88
- let(:stub_match) { instance_double(HttpStub::Server::Stub::Match::Match) }
89
-
90
- before(:example) do
91
- allow(underlying_stub_registry).to receive(:find).and_return(stub)
92
- allow(HttpStub::Server::Stub::Match::Match).to receive(:new).and_return(stub_match)
93
- end
93
+ before(:example) { allow(underlying_stub_registry).to receive(:find).and_return(stub) }
94
94
 
95
95
  it "creates a match containing the stub and request" do
96
96
  expect(HttpStub::Server::Stub::Match::Match).to receive(:new).with(stub, request)
@@ -116,8 +116,14 @@ describe HttpStub::Server::Stub::Registry do
116
116
 
117
117
  before(:example) { allow(underlying_stub_registry).to receive(:find).and_return(nil) }
118
118
 
119
- it "does not add a match to the match registry" do
120
- expect(match_registry).to_not receive(:add)
119
+ it "creates a match with a nil stub" do
120
+ expect(HttpStub::Server::Stub::Match::Match).to receive(:new).with(nil, request)
121
+
122
+ subject
123
+ end
124
+
125
+ it "adds the match to the match registry" do
126
+ expect(match_registry).to receive(:add).with(stub_match, logger)
121
127
 
122
128
  subject
123
129
  end
@@ -131,8 +137,16 @@ describe HttpStub::Server::Stub::Registry do
131
137
  let(:id) { SecureRandom.uuid }
132
138
  let(:criteria) { id }
133
139
 
140
+ before(:example) { allow(underlying_stub_registry).to receive(:find).and_return(nil) }
141
+
134
142
  it_behaves_like "an approach to finding a stub in the registry"
135
143
 
144
+ it "does not add a match to the match registry" do
145
+ expect(match_registry).to_not receive(:add)
146
+
147
+ subject
148
+ end
149
+
136
150
  end
137
151
 
138
152
  end
@@ -9,7 +9,7 @@ SimpleCov.start do
9
9
  add_filter "/spec/"
10
10
  add_filter "/vendor/"
11
11
 
12
- minimum_coverage 99.85
12
+ minimum_coverage 100
13
13
  refuse_coverage_drop
14
14
  end if ENV["coverage"]
15
15
 
@@ -3,7 +3,7 @@ module HttpStub
3
3
  class ScenarioFixture
4
4
 
5
5
  def initialize
6
- @name = "some/scenario/name"
6
+ @name = "Some Scenario Name"
7
7
  @stub_fixtures = []
8
8
  @triggered_scenario_names = []
9
9
  end
@@ -16,8 +16,8 @@ module HttpStub
16
16
  self.tap { @stub_fixtures.concat((1..number).map { HttpStub::StubFixture.new }) }
17
17
  end
18
18
 
19
- def with_triggered_scenario_names!(uris)
20
- self.tap { @triggered_scenario_names.concat(uris) }
19
+ def with_triggered_scenario_names!(names)
20
+ self.tap { @triggered_scenario_names.concat(names) }
21
21
  end
22
22
 
23
23
  def server_payload
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.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ueckerman
@@ -9,272 +9,258 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-09 00:00:00.000000000 Z
12
+ date: 2016-04-14 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
- version: '10.4'
20
+ version: '11.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
- version: '10.4'
27
+ version: '11.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
- version: '0.4'
48
+ version: '1.0'
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
- version: '0.4'
55
+ version: '1.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: multipart-post
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ~>
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2.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: '2.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: http_server_manager
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0.4'
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: '0.4'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: json-schema
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '2.5'
90
+ version: '2.6'
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
- version: '2.5'
97
+ version: '2.6'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: activesupport
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '4.2'
105
105
  type: :runtime
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: '4.2'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: haml
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ~>
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
118
  version: '4.0'
119
119
  type: :runtime
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.0'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: sass
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '3.4'
133
133
  type: :runtime
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: '3.4'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: travis-lint
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - ~>
144
+ - - "~>"
145
145
  - !ruby/object:Gem::Version
146
146
  version: '2.0'
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: '2.0'
154
- - !ruby/object:Gem::Dependency
155
- name: metric_fu
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - ~>
159
- - !ruby/object:Gem::Version
160
- version: '4.12'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - ~>
166
- - !ruby/object:Gem::Version
167
- version: '4.12'
168
154
  - !ruby/object:Gem::Dependency
169
155
  name: rspec
170
156
  requirement: !ruby/object:Gem::Requirement
171
157
  requirements:
172
- - - ~>
158
+ - - "~>"
173
159
  - !ruby/object:Gem::Version
174
- version: '3.3'
160
+ version: '3.4'
175
161
  type: :development
176
162
  prerelease: false
177
163
  version_requirements: !ruby/object:Gem::Requirement
178
164
  requirements:
179
- - - ~>
165
+ - - "~>"
180
166
  - !ruby/object:Gem::Version
181
- version: '3.3'
167
+ version: '3.4'
182
168
  - !ruby/object:Gem::Dependency
183
169
  name: simplecov
184
170
  requirement: !ruby/object:Gem::Requirement
185
171
  requirements:
186
- - - ~>
172
+ - - "~>"
187
173
  - !ruby/object:Gem::Version
188
- version: '0.10'
174
+ version: '0.11'
189
175
  type: :development
190
176
  prerelease: false
191
177
  version_requirements: !ruby/object:Gem::Requirement
192
178
  requirements:
193
- - - ~>
179
+ - - "~>"
194
180
  - !ruby/object:Gem::Version
195
- version: '0.10'
181
+ version: '0.11'
196
182
  - !ruby/object:Gem::Dependency
197
183
  name: rack-test
198
184
  requirement: !ruby/object:Gem::Requirement
199
185
  requirements:
200
- - - ~>
186
+ - - "~>"
201
187
  - !ruby/object:Gem::Version
202
188
  version: '0.6'
203
189
  type: :development
204
190
  prerelease: false
205
191
  version_requirements: !ruby/object:Gem::Requirement
206
192
  requirements:
207
- - - ~>
193
+ - - "~>"
208
194
  - !ruby/object:Gem::Version
209
195
  version: '0.6'
210
196
  - !ruby/object:Gem::Dependency
211
197
  name: json
212
198
  requirement: !ruby/object:Gem::Requirement
213
199
  requirements:
214
- - - ~>
200
+ - - "~>"
215
201
  - !ruby/object:Gem::Version
216
202
  version: '1.8'
217
203
  type: :development
218
204
  prerelease: false
219
205
  version_requirements: !ruby/object:Gem::Requirement
220
206
  requirements:
221
- - - ~>
207
+ - - "~>"
222
208
  - !ruby/object:Gem::Version
223
209
  version: '1.8'
224
210
  - !ruby/object:Gem::Dependency
225
211
  name: nokogiri
226
212
  requirement: !ruby/object:Gem::Requirement
227
213
  requirements:
228
- - - ~>
214
+ - - "~>"
229
215
  - !ruby/object:Gem::Version
230
216
  version: '1.6'
231
217
  type: :development
232
218
  prerelease: false
233
219
  version_requirements: !ruby/object:Gem::Requirement
234
220
  requirements:
235
- - - ~>
221
+ - - "~>"
236
222
  - !ruby/object:Gem::Version
237
223
  version: '1.6'
238
224
  - !ruby/object:Gem::Dependency
239
225
  name: httparty
240
226
  requirement: !ruby/object:Gem::Requirement
241
227
  requirements:
242
- - - ~>
228
+ - - "~>"
243
229
  - !ruby/object:Gem::Version
244
230
  version: '0.13'
245
231
  type: :development
246
232
  prerelease: false
247
233
  version_requirements: !ruby/object:Gem::Requirement
248
234
  requirements:
249
- - - ~>
235
+ - - "~>"
250
236
  - !ruby/object:Gem::Version
251
237
  version: '0.13'
252
238
  - !ruby/object:Gem::Dependency
253
239
  name: wait_until
254
240
  requirement: !ruby/object:Gem::Requirement
255
241
  requirements:
256
- - - ~>
242
+ - - "~>"
257
243
  - !ruby/object:Gem::Version
258
244
  version: '0.1'
259
245
  type: :development
260
246
  prerelease: false
261
247
  version_requirements: !ruby/object:Gem::Requirement
262
248
  requirements:
263
- - - ~>
249
+ - - "~>"
264
250
  - !ruby/object:Gem::Version
265
251
  version: '0.1'
266
252
  - !ruby/object:Gem::Dependency
267
253
  name: codeclimate-test-reporter
268
254
  requirement: !ruby/object:Gem::Requirement
269
255
  requirements:
270
- - - ~>
256
+ - - "~>"
271
257
  - !ruby/object:Gem::Version
272
258
  version: '0.4'
273
259
  type: :development
274
260
  prerelease: false
275
261
  version_requirements: !ruby/object:Gem::Requirement
276
262
  requirements:
277
- - - ~>
263
+ - - "~>"
278
264
  - !ruby/object:Gem::Version
279
265
  version: '0.4'
280
266
  description: fakeweb for a HTTP server, informing it to stub / fake responses
@@ -283,188 +269,193 @@ executables: []
283
269
  extensions: []
284
270
  extra_rdoc_files: []
285
271
  files:
286
- - ./lib/http_stub.rb
287
- - ./lib/http_stub/configurer.rb
288
- - ./lib/http_stub/configurer/dsl/deprecated.rb
289
- - ./lib/http_stub/configurer/dsl/endpoint_template.rb
290
- - ./lib/http_stub/configurer/dsl/scenario_activator.rb
291
- - ./lib/http_stub/configurer/dsl/scenario_builder.rb
292
- - ./lib/http_stub/configurer/dsl/server.rb
293
- - ./lib/http_stub/configurer/dsl/stub_activator_builder.rb
294
- - ./lib/http_stub/configurer/dsl/stub_builder.rb
295
- - ./lib/http_stub/configurer/dsl/stub_builder_producer.rb
296
- - ./lib/http_stub/configurer/part.rb
297
- - ./lib/http_stub/configurer/request/controllable_value.rb
298
- - ./lib/http_stub/configurer/request/http/basic.rb
299
- - ./lib/http_stub/configurer/request/http/factory.rb
300
- - ./lib/http_stub/configurer/request/http/multipart.rb
301
- - ./lib/http_stub/configurer/request/omittable.rb
302
- - ./lib/http_stub/configurer/request/regexpable.rb
303
- - ./lib/http_stub/configurer/request/scenario.rb
304
- - ./lib/http_stub/configurer/request/stub.rb
305
- - ./lib/http_stub/configurer/request/stub_response.rb
306
- - ./lib/http_stub/configurer/request/stub_response_file.rb
307
- - ./lib/http_stub/configurer/server/buffered_command_processor.rb
308
- - ./lib/http_stub/configurer/server/command.rb
309
- - ./lib/http_stub/configurer/server/command_processor.rb
310
- - ./lib/http_stub/configurer/server/facade.rb
311
- - ./lib/http_stub/configurer/server/request_processor.rb
312
- - ./lib/http_stub/extensions/core/hash.rb
313
- - ./lib/http_stub/extensions/rack/handler.rb
314
- - ./lib/http_stub/hash_with_indifferent_and_insensitive_access.rb
315
- - ./lib/http_stub/rake/server_daemon_tasks.rb
316
- - ./lib/http_stub/rake/server_tasks.rb
317
- - ./lib/http_stub/rake/task_generators.rb
318
- - ./lib/http_stub/server/application.rb
319
- - ./lib/http_stub/server/daemon.rb
320
- - ./lib/http_stub/server/formatted_hash.rb
321
- - ./lib/http_stub/server/header_parser.rb
322
- - ./lib/http_stub/server/registry.rb
323
- - ./lib/http_stub/server/request.rb
324
- - ./lib/http_stub/server/request_pipeline.rb
325
- - ./lib/http_stub/server/response.rb
326
- - ./lib/http_stub/server/response_pipeline.rb
327
- - ./lib/http_stub/server/scenario.rb
328
- - ./lib/http_stub/server/scenario/activator.rb
329
- - ./lib/http_stub/server/scenario/controller.rb
330
- - ./lib/http_stub/server/scenario/parser.rb
331
- - ./lib/http_stub/server/scenario/scenario.rb
332
- - ./lib/http_stub/server/stub.rb
333
- - ./lib/http_stub/server/stub/controller.rb
334
- - ./lib/http_stub/server/stub/empty.rb
335
- - ./lib/http_stub/server/stub/match/exact_value_matcher.rb
336
- - ./lib/http_stub/server/stub/match/hash_with_string_value_matchers.rb
337
- - ./lib/http_stub/server/stub/match/match.rb
338
- - ./lib/http_stub/server/stub/match/omitted_value_matcher.rb
339
- - ./lib/http_stub/server/stub/match/regexp_value_matcher.rb
340
- - ./lib/http_stub/server/stub/match/rule/body.rb
341
- - ./lib/http_stub/server/stub/match/rule/headers.rb
342
- - ./lib/http_stub/server/stub/match/rule/json_body.rb
343
- - ./lib/http_stub/server/stub/match/rule/method.rb
344
- - ./lib/http_stub/server/stub/match/rule/parameters.rb
345
- - ./lib/http_stub/server/stub/match/rule/simple_body.rb
346
- - ./lib/http_stub/server/stub/match/rule/uri.rb
347
- - ./lib/http_stub/server/stub/match/string_value_matcher.rb
348
- - ./lib/http_stub/server/stub/match/truthy_matcher.rb
349
- - ./lib/http_stub/server/stub/parser.rb
350
- - ./lib/http_stub/server/stub/payload_file_consolidator.rb
351
- - ./lib/http_stub/server/stub/registry.rb
352
- - ./lib/http_stub/server/stub/response.rb
353
- - ./lib/http_stub/server/stub/response/base.rb
354
- - ./lib/http_stub/server/stub/response/file.rb
355
- - ./lib/http_stub/server/stub/response/text.rb
356
- - ./lib/http_stub/server/stub/stub.rb
357
- - ./lib/http_stub/server/stub/triggers.rb
358
- - ./lib/http_stub/server/views/_file_response.haml
359
- - ./lib/http_stub/server/views/_match.haml
360
- - ./lib/http_stub/server/views/_request.haml
361
- - ./lib/http_stub/server/views/_response.haml
362
- - ./lib/http_stub/server/views/_scenario.haml
363
- - ./lib/http_stub/server/views/_stub.haml
364
- - ./lib/http_stub/server/views/_text_response.haml
365
- - ./lib/http_stub/server/views/application.sass
366
- - ./lib/http_stub/server/views/favicon.ico
367
- - ./lib/http_stub/server/views/layout.haml
368
- - ./lib/http_stub/server/views/matches.haml
369
- - ./lib/http_stub/server/views/scenarios.haml
370
- - ./lib/http_stub/server/views/stub.haml
371
- - ./lib/http_stub/server/views/stubs.haml
372
- - ./lib/http_stub/version.rb
373
- - ./spec/acceptance/activator_spec.rb
374
- - ./spec/acceptance/configurer_initialization_spec.rb
375
- - ./spec/acceptance/configurer_part_spec.rb
376
- - ./spec/acceptance/endpoint_template_spec.rb
377
- - ./spec/acceptance/scenario_spec.rb
378
- - ./spec/acceptance/server_defaults_spec.rb
379
- - ./spec/acceptance/stub_body_request_matching_spec.rb
380
- - ./spec/acceptance/stub_control_values_spec.rb
381
- - ./spec/acceptance/stub_match_spec.rb
382
- - ./spec/acceptance/stub_spec.rb
383
- - ./spec/acceptance/stub_trigger_spec.rb
384
- - ./spec/curl_samples.txt
385
- - ./spec/lib/http_stub/configurer/dsl/deprecated_spec.rb
386
- - ./spec/lib/http_stub/configurer/dsl/endpoint_template_spec.rb
387
- - ./spec/lib/http_stub/configurer/dsl/scenario_activator_spec.rb
388
- - ./spec/lib/http_stub/configurer/dsl/scenario_builder_spec.rb
389
- - ./spec/lib/http_stub/configurer/dsl/server_spec.rb
390
- - ./spec/lib/http_stub/configurer/dsl/stub_activator_builder_spec.rb
391
- - ./spec/lib/http_stub/configurer/dsl/stub_builder_producer_spec.rb
392
- - ./spec/lib/http_stub/configurer/dsl/stub_builder_spec.rb
393
- - ./spec/lib/http_stub/configurer/part_spec.rb
394
- - ./spec/lib/http_stub/configurer/request/controllable_value_spec.rb
395
- - ./spec/lib/http_stub/configurer/request/http/basic_spec.rb
396
- - ./spec/lib/http_stub/configurer/request/http/factory_spec.rb
397
- - ./spec/lib/http_stub/configurer/request/http/multipart_spec.rb
398
- - ./spec/lib/http_stub/configurer/request/omittable_spec.rb
399
- - ./spec/lib/http_stub/configurer/request/regexpable_spec.rb
400
- - ./spec/lib/http_stub/configurer/request/scenario_spec.rb
401
- - ./spec/lib/http_stub/configurer/request/stub_response_spec.rb
402
- - ./spec/lib/http_stub/configurer/request/stub_spec.rb
403
- - ./spec/lib/http_stub/configurer/server/buffered_command_processor_spec.rb
404
- - ./spec/lib/http_stub/configurer/server/command_processor_integration_spec.rb
405
- - ./spec/lib/http_stub/configurer/server/command_spec.rb
406
- - ./spec/lib/http_stub/configurer/server/facade_spec.rb
407
- - ./spec/lib/http_stub/configurer/server/request_processor_spec.rb
408
- - ./spec/lib/http_stub/extensions/core/hash_spec.rb
409
- - ./spec/lib/http_stub/extensions/rack/handler_spec.rb
410
- - ./spec/lib/http_stub/hash_with_indifferent_and_insensitive_access_spec.rb
411
- - ./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb
412
- - ./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb
413
- - ./spec/lib/http_stub/rake/server_tasks_spec.rb
414
- - ./spec/lib/http_stub/server/application_integration_spec.rb
415
- - ./spec/lib/http_stub/server/application_spec.rb
416
- - ./spec/lib/http_stub/server/daemon_integration_spec.rb
417
- - ./spec/lib/http_stub/server/daemon_spec.rb
418
- - ./spec/lib/http_stub/server/formatted_hash_spec.rb
419
- - ./spec/lib/http_stub/server/header_parser_spec.rb
420
- - ./spec/lib/http_stub/server/payload_file_consolidator_spec.rb
421
- - ./spec/lib/http_stub/server/registry_spec.rb
422
- - ./spec/lib/http_stub/server/request_pipeline_spec.rb
423
- - ./spec/lib/http_stub/server/request_spec.rb
424
- - ./spec/lib/http_stub/server/response_pipeline_spec.rb
425
- - ./spec/lib/http_stub/server/response_spec.rb
426
- - ./spec/lib/http_stub/server/scenario/activator_spec.rb
427
- - ./spec/lib/http_stub/server/scenario/controller_spec.rb
428
- - ./spec/lib/http_stub/server/scenario/parser_spec.rb
429
- - ./spec/lib/http_stub/server/scenario/scenario_spec.rb
430
- - ./spec/lib/http_stub/server/scenario_spec.rb
431
- - ./spec/lib/http_stub/server/stub/controller_spec.rb
432
- - ./spec/lib/http_stub/server/stub/empty_spec.rb
433
- - ./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb
434
- - ./spec/lib/http_stub/server/stub/match/hash_with_string_value_matchers_spec.rb
435
- - ./spec/lib/http_stub/server/stub/match/match_spec.rb
436
- - ./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb
437
- - ./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb
438
- - ./spec/lib/http_stub/server/stub/match/rule/body_spec.rb
439
- - ./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb
440
- - ./spec/lib/http_stub/server/stub/match/rule/json_body_spec.rb
441
- - ./spec/lib/http_stub/server/stub/match/rule/method_spec.rb
442
- - ./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb
443
- - ./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb
444
- - ./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb
445
- - ./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb
446
- - ./spec/lib/http_stub/server/stub/match/truthy_matcher_spec.rb
447
- - ./spec/lib/http_stub/server/stub/parser_spec.rb
448
- - ./spec/lib/http_stub/server/stub/registry_integration_spec.rb
449
- - ./spec/lib/http_stub/server/stub/registry_spec.rb
450
- - ./spec/lib/http_stub/server/stub/response/base_spec.rb
451
- - ./spec/lib/http_stub/server/stub/response/file_spec.rb
452
- - ./spec/lib/http_stub/server/stub/response/text_spec.rb
453
- - ./spec/lib/http_stub/server/stub/response_spec.rb
454
- - ./spec/lib/http_stub/server/stub/stub_spec.rb
455
- - ./spec/lib/http_stub/server/stub/triggers_spec.rb
456
- - ./spec/lib/http_stub/server/stub_spec.rb
457
- - ./spec/resources/sample.pdf
458
- - ./spec/resources/sample.txt
459
- - ./spec/spec_helper.rb
460
- - ./spec/support/configurer_integration.rb
461
- - ./spec/support/http_stub/empty_configurer.rb
462
- - ./spec/support/http_stub/scenario_fixture.rb
463
- - ./spec/support/http_stub/server/request_fixture.rb
464
- - ./spec/support/http_stub/server/scenario/scenario_fixture.rb
465
- - ./spec/support/http_stub/server/stub/match/match_fixture.rb
466
- - ./spec/support/http_stub/stub_fixture.rb
467
- - ./spec/support/server_integration.rb
272
+ - "./lib/http_stub.rb"
273
+ - "./lib/http_stub/configurer.rb"
274
+ - "./lib/http_stub/configurer/dsl/deprecated.rb"
275
+ - "./lib/http_stub/configurer/dsl/endpoint_template.rb"
276
+ - "./lib/http_stub/configurer/dsl/scenario_activator.rb"
277
+ - "./lib/http_stub/configurer/dsl/scenario_builder.rb"
278
+ - "./lib/http_stub/configurer/dsl/server.rb"
279
+ - "./lib/http_stub/configurer/dsl/stub_activator_builder.rb"
280
+ - "./lib/http_stub/configurer/dsl/stub_builder.rb"
281
+ - "./lib/http_stub/configurer/dsl/stub_builder_producer.rb"
282
+ - "./lib/http_stub/configurer/part.rb"
283
+ - "./lib/http_stub/configurer/request/controllable_value.rb"
284
+ - "./lib/http_stub/configurer/request/http/basic.rb"
285
+ - "./lib/http_stub/configurer/request/http/factory.rb"
286
+ - "./lib/http_stub/configurer/request/http/multipart.rb"
287
+ - "./lib/http_stub/configurer/request/omittable.rb"
288
+ - "./lib/http_stub/configurer/request/regexpable.rb"
289
+ - "./lib/http_stub/configurer/request/scenario.rb"
290
+ - "./lib/http_stub/configurer/request/stub.rb"
291
+ - "./lib/http_stub/configurer/request/stub_response.rb"
292
+ - "./lib/http_stub/configurer/request/stub_response_file.rb"
293
+ - "./lib/http_stub/configurer/server/buffered_command_processor.rb"
294
+ - "./lib/http_stub/configurer/server/command.rb"
295
+ - "./lib/http_stub/configurer/server/command_processor.rb"
296
+ - "./lib/http_stub/configurer/server/facade.rb"
297
+ - "./lib/http_stub/configurer/server/request_processor.rb"
298
+ - "./lib/http_stub/extensions/core/hash.rb"
299
+ - "./lib/http_stub/extensions/rack/handler.rb"
300
+ - "./lib/http_stub/hash_with_indifferent_and_insensitive_access.rb"
301
+ - "./lib/http_stub/rake/server_daemon_tasks.rb"
302
+ - "./lib/http_stub/rake/server_tasks.rb"
303
+ - "./lib/http_stub/rake/task_generators.rb"
304
+ - "./lib/http_stub/server/application.rb"
305
+ - "./lib/http_stub/server/daemon.rb"
306
+ - "./lib/http_stub/server/formatted_hash.rb"
307
+ - "./lib/http_stub/server/header_parser.rb"
308
+ - "./lib/http_stub/server/public/favicon.ico"
309
+ - "./lib/http_stub/server/public/jquery-2.2.1.min.js"
310
+ - "./lib/http_stub/server/registry.rb"
311
+ - "./lib/http_stub/server/request.rb"
312
+ - "./lib/http_stub/server/response.rb"
313
+ - "./lib/http_stub/server/response_pipeline.rb"
314
+ - "./lib/http_stub/server/scenario.rb"
315
+ - "./lib/http_stub/server/scenario/activator.rb"
316
+ - "./lib/http_stub/server/scenario/controller.rb"
317
+ - "./lib/http_stub/server/scenario/links.rb"
318
+ - "./lib/http_stub/server/scenario/parser.rb"
319
+ - "./lib/http_stub/server/scenario/scenario.rb"
320
+ - "./lib/http_stub/server/scenario/trigger.rb"
321
+ - "./lib/http_stub/server/stub.rb"
322
+ - "./lib/http_stub/server/stub/controller.rb"
323
+ - "./lib/http_stub/server/stub/empty.rb"
324
+ - "./lib/http_stub/server/stub/match/exact_value_matcher.rb"
325
+ - "./lib/http_stub/server/stub/match/hash_with_string_value_matchers.rb"
326
+ - "./lib/http_stub/server/stub/match/match.rb"
327
+ - "./lib/http_stub/server/stub/match/omitted_value_matcher.rb"
328
+ - "./lib/http_stub/server/stub/match/regexp_value_matcher.rb"
329
+ - "./lib/http_stub/server/stub/match/rule/body.rb"
330
+ - "./lib/http_stub/server/stub/match/rule/headers.rb"
331
+ - "./lib/http_stub/server/stub/match/rule/json_body.rb"
332
+ - "./lib/http_stub/server/stub/match/rule/method.rb"
333
+ - "./lib/http_stub/server/stub/match/rule/parameters.rb"
334
+ - "./lib/http_stub/server/stub/match/rule/simple_body.rb"
335
+ - "./lib/http_stub/server/stub/match/rule/uri.rb"
336
+ - "./lib/http_stub/server/stub/match/string_value_matcher.rb"
337
+ - "./lib/http_stub/server/stub/match/truthy_matcher.rb"
338
+ - "./lib/http_stub/server/stub/parser.rb"
339
+ - "./lib/http_stub/server/stub/payload_file_consolidator.rb"
340
+ - "./lib/http_stub/server/stub/registry.rb"
341
+ - "./lib/http_stub/server/stub/response.rb"
342
+ - "./lib/http_stub/server/stub/response/base.rb"
343
+ - "./lib/http_stub/server/stub/response/file.rb"
344
+ - "./lib/http_stub/server/stub/response/text.rb"
345
+ - "./lib/http_stub/server/stub/stub.rb"
346
+ - "./lib/http_stub/server/stub/triggers.rb"
347
+ - "./lib/http_stub/server/views/_activate_scenario.haml"
348
+ - "./lib/http_stub/server/views/_file_response.haml"
349
+ - "./lib/http_stub/server/views/_match.haml"
350
+ - "./lib/http_stub/server/views/_request.haml"
351
+ - "./lib/http_stub/server/views/_response.haml"
352
+ - "./lib/http_stub/server/views/_stub.haml"
353
+ - "./lib/http_stub/server/views/_text_response.haml"
354
+ - "./lib/http_stub/server/views/application.sass"
355
+ - "./lib/http_stub/server/views/index.haml"
356
+ - "./lib/http_stub/server/views/layout.haml"
357
+ - "./lib/http_stub/server/views/matches.haml"
358
+ - "./lib/http_stub/server/views/scenario.haml"
359
+ - "./lib/http_stub/server/views/scenarios.haml"
360
+ - "./lib/http_stub/server/views/stub.haml"
361
+ - "./lib/http_stub/server/views/stubs.haml"
362
+ - "./lib/http_stub/version.rb"
363
+ - "./spec/acceptance/activator_spec.rb"
364
+ - "./spec/acceptance/configurer_initialization_spec.rb"
365
+ - "./spec/acceptance/configurer_part_spec.rb"
366
+ - "./spec/acceptance/endpoint_template_spec.rb"
367
+ - "./spec/acceptance/scenario_spec.rb"
368
+ - "./spec/acceptance/server_defaults_spec.rb"
369
+ - "./spec/acceptance/stub_body_request_matching_spec.rb"
370
+ - "./spec/acceptance/stub_control_values_spec.rb"
371
+ - "./spec/acceptance/stub_match_spec.rb"
372
+ - "./spec/acceptance/stub_spec.rb"
373
+ - "./spec/acceptance/stub_trigger_spec.rb"
374
+ - "./spec/curl_samples.txt"
375
+ - "./spec/lib/http_stub/configurer/dsl/deprecated_spec.rb"
376
+ - "./spec/lib/http_stub/configurer/dsl/endpoint_template_spec.rb"
377
+ - "./spec/lib/http_stub/configurer/dsl/scenario_activator_spec.rb"
378
+ - "./spec/lib/http_stub/configurer/dsl/scenario_builder_spec.rb"
379
+ - "./spec/lib/http_stub/configurer/dsl/server_spec.rb"
380
+ - "./spec/lib/http_stub/configurer/dsl/stub_activator_builder_spec.rb"
381
+ - "./spec/lib/http_stub/configurer/dsl/stub_builder_producer_spec.rb"
382
+ - "./spec/lib/http_stub/configurer/dsl/stub_builder_spec.rb"
383
+ - "./spec/lib/http_stub/configurer/part_spec.rb"
384
+ - "./spec/lib/http_stub/configurer/request/controllable_value_spec.rb"
385
+ - "./spec/lib/http_stub/configurer/request/http/basic_spec.rb"
386
+ - "./spec/lib/http_stub/configurer/request/http/factory_spec.rb"
387
+ - "./spec/lib/http_stub/configurer/request/http/multipart_spec.rb"
388
+ - "./spec/lib/http_stub/configurer/request/omittable_spec.rb"
389
+ - "./spec/lib/http_stub/configurer/request/regexpable_spec.rb"
390
+ - "./spec/lib/http_stub/configurer/request/scenario_spec.rb"
391
+ - "./spec/lib/http_stub/configurer/request/stub_response_spec.rb"
392
+ - "./spec/lib/http_stub/configurer/request/stub_spec.rb"
393
+ - "./spec/lib/http_stub/configurer/server/buffered_command_processor_spec.rb"
394
+ - "./spec/lib/http_stub/configurer/server/command_processor_integration_spec.rb"
395
+ - "./spec/lib/http_stub/configurer/server/command_spec.rb"
396
+ - "./spec/lib/http_stub/configurer/server/facade_spec.rb"
397
+ - "./spec/lib/http_stub/configurer/server/request_processor_spec.rb"
398
+ - "./spec/lib/http_stub/extensions/core/hash_spec.rb"
399
+ - "./spec/lib/http_stub/extensions/rack/handler_spec.rb"
400
+ - "./spec/lib/http_stub/hash_with_indifferent_and_insensitive_access_spec.rb"
401
+ - "./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb"
402
+ - "./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb"
403
+ - "./spec/lib/http_stub/rake/server_tasks_spec.rb"
404
+ - "./spec/lib/http_stub/server/application_integration_spec.rb"
405
+ - "./spec/lib/http_stub/server/application_spec.rb"
406
+ - "./spec/lib/http_stub/server/daemon_integration_spec.rb"
407
+ - "./spec/lib/http_stub/server/daemon_spec.rb"
408
+ - "./spec/lib/http_stub/server/formatted_hash_spec.rb"
409
+ - "./spec/lib/http_stub/server/header_parser_spec.rb"
410
+ - "./spec/lib/http_stub/server/payload_file_consolidator_spec.rb"
411
+ - "./spec/lib/http_stub/server/registry_spec.rb"
412
+ - "./spec/lib/http_stub/server/request_spec.rb"
413
+ - "./spec/lib/http_stub/server/response_pipeline_spec.rb"
414
+ - "./spec/lib/http_stub/server/response_spec.rb"
415
+ - "./spec/lib/http_stub/server/scenario/activator_spec.rb"
416
+ - "./spec/lib/http_stub/server/scenario/controller_spec.rb"
417
+ - "./spec/lib/http_stub/server/scenario/links_spec.rb"
418
+ - "./spec/lib/http_stub/server/scenario/parser_spec.rb"
419
+ - "./spec/lib/http_stub/server/scenario/scenario_spec.rb"
420
+ - "./spec/lib/http_stub/server/scenario/trigger_spec.rb"
421
+ - "./spec/lib/http_stub/server/scenario_spec.rb"
422
+ - "./spec/lib/http_stub/server/stub/controller_spec.rb"
423
+ - "./spec/lib/http_stub/server/stub/empty_spec.rb"
424
+ - "./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb"
425
+ - "./spec/lib/http_stub/server/stub/match/hash_with_string_value_matchers_spec.rb"
426
+ - "./spec/lib/http_stub/server/stub/match/match_spec.rb"
427
+ - "./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb"
428
+ - "./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb"
429
+ - "./spec/lib/http_stub/server/stub/match/rule/body_spec.rb"
430
+ - "./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb"
431
+ - "./spec/lib/http_stub/server/stub/match/rule/json_body_spec.rb"
432
+ - "./spec/lib/http_stub/server/stub/match/rule/method_spec.rb"
433
+ - "./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb"
434
+ - "./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb"
435
+ - "./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb"
436
+ - "./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb"
437
+ - "./spec/lib/http_stub/server/stub/match/truthy_matcher_spec.rb"
438
+ - "./spec/lib/http_stub/server/stub/parser_spec.rb"
439
+ - "./spec/lib/http_stub/server/stub/registry_integration_spec.rb"
440
+ - "./spec/lib/http_stub/server/stub/registry_spec.rb"
441
+ - "./spec/lib/http_stub/server/stub/response/base_spec.rb"
442
+ - "./spec/lib/http_stub/server/stub/response/file_spec.rb"
443
+ - "./spec/lib/http_stub/server/stub/response/text_spec.rb"
444
+ - "./spec/lib/http_stub/server/stub/response_spec.rb"
445
+ - "./spec/lib/http_stub/server/stub/stub_spec.rb"
446
+ - "./spec/lib/http_stub/server/stub/triggers_spec.rb"
447
+ - "./spec/lib/http_stub/server/stub_spec.rb"
448
+ - "./spec/resources/sample.pdf"
449
+ - "./spec/resources/sample.txt"
450
+ - "./spec/spec_helper.rb"
451
+ - "./spec/support/configurer_integration.rb"
452
+ - "./spec/support/http_stub/empty_configurer.rb"
453
+ - "./spec/support/http_stub/scenario_fixture.rb"
454
+ - "./spec/support/http_stub/server/request_fixture.rb"
455
+ - "./spec/support/http_stub/server/scenario/scenario_fixture.rb"
456
+ - "./spec/support/http_stub/server/stub/match/match_fixture.rb"
457
+ - "./spec/support/http_stub/stub_fixture.rb"
458
+ - "./spec/support/server_integration.rb"
468
459
  homepage: http://github.com/MYOB-Technology/http_stub
469
460
  licenses:
470
461
  - MIT
@@ -475,113 +466,114 @@ require_paths:
475
466
  - lib
476
467
  required_ruby_version: !ruby/object:Gem::Requirement
477
468
  requirements:
478
- - - ! '>='
469
+ - - ">="
479
470
  - !ruby/object:Gem::Version
480
471
  version: 1.9.3
481
472
  required_rubygems_version: !ruby/object:Gem::Requirement
482
473
  requirements:
483
- - - ! '>='
474
+ - - ">="
484
475
  - !ruby/object:Gem::Version
485
476
  version: '0'
486
477
  requirements: []
487
478
  rubyforge_project: http_stub
488
- rubygems_version: 2.4.8
479
+ rubygems_version: 2.4.6
489
480
  signing_key:
490
481
  specification_version: 4
491
482
  summary: A HTTP Server replaying configured stub responses
492
483
  test_files:
493
- - ./spec/acceptance/activator_spec.rb
494
- - ./spec/acceptance/configurer_initialization_spec.rb
495
- - ./spec/acceptance/configurer_part_spec.rb
496
- - ./spec/acceptance/endpoint_template_spec.rb
497
- - ./spec/acceptance/scenario_spec.rb
498
- - ./spec/acceptance/server_defaults_spec.rb
499
- - ./spec/acceptance/stub_body_request_matching_spec.rb
500
- - ./spec/acceptance/stub_control_values_spec.rb
501
- - ./spec/acceptance/stub_match_spec.rb
502
- - ./spec/acceptance/stub_spec.rb
503
- - ./spec/acceptance/stub_trigger_spec.rb
504
- - ./spec/curl_samples.txt
505
- - ./spec/lib/http_stub/configurer/dsl/deprecated_spec.rb
506
- - ./spec/lib/http_stub/configurer/dsl/endpoint_template_spec.rb
507
- - ./spec/lib/http_stub/configurer/dsl/scenario_activator_spec.rb
508
- - ./spec/lib/http_stub/configurer/dsl/scenario_builder_spec.rb
509
- - ./spec/lib/http_stub/configurer/dsl/server_spec.rb
510
- - ./spec/lib/http_stub/configurer/dsl/stub_activator_builder_spec.rb
511
- - ./spec/lib/http_stub/configurer/dsl/stub_builder_producer_spec.rb
512
- - ./spec/lib/http_stub/configurer/dsl/stub_builder_spec.rb
513
- - ./spec/lib/http_stub/configurer/part_spec.rb
514
- - ./spec/lib/http_stub/configurer/request/controllable_value_spec.rb
515
- - ./spec/lib/http_stub/configurer/request/http/basic_spec.rb
516
- - ./spec/lib/http_stub/configurer/request/http/factory_spec.rb
517
- - ./spec/lib/http_stub/configurer/request/http/multipart_spec.rb
518
- - ./spec/lib/http_stub/configurer/request/omittable_spec.rb
519
- - ./spec/lib/http_stub/configurer/request/regexpable_spec.rb
520
- - ./spec/lib/http_stub/configurer/request/scenario_spec.rb
521
- - ./spec/lib/http_stub/configurer/request/stub_response_spec.rb
522
- - ./spec/lib/http_stub/configurer/request/stub_spec.rb
523
- - ./spec/lib/http_stub/configurer/server/buffered_command_processor_spec.rb
524
- - ./spec/lib/http_stub/configurer/server/command_processor_integration_spec.rb
525
- - ./spec/lib/http_stub/configurer/server/command_spec.rb
526
- - ./spec/lib/http_stub/configurer/server/facade_spec.rb
527
- - ./spec/lib/http_stub/configurer/server/request_processor_spec.rb
528
- - ./spec/lib/http_stub/extensions/core/hash_spec.rb
529
- - ./spec/lib/http_stub/extensions/rack/handler_spec.rb
530
- - ./spec/lib/http_stub/hash_with_indifferent_and_insensitive_access_spec.rb
531
- - ./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb
532
- - ./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb
533
- - ./spec/lib/http_stub/rake/server_tasks_spec.rb
534
- - ./spec/lib/http_stub/server/application_integration_spec.rb
535
- - ./spec/lib/http_stub/server/application_spec.rb
536
- - ./spec/lib/http_stub/server/daemon_integration_spec.rb
537
- - ./spec/lib/http_stub/server/daemon_spec.rb
538
- - ./spec/lib/http_stub/server/formatted_hash_spec.rb
539
- - ./spec/lib/http_stub/server/header_parser_spec.rb
540
- - ./spec/lib/http_stub/server/payload_file_consolidator_spec.rb
541
- - ./spec/lib/http_stub/server/registry_spec.rb
542
- - ./spec/lib/http_stub/server/request_pipeline_spec.rb
543
- - ./spec/lib/http_stub/server/request_spec.rb
544
- - ./spec/lib/http_stub/server/response_pipeline_spec.rb
545
- - ./spec/lib/http_stub/server/response_spec.rb
546
- - ./spec/lib/http_stub/server/scenario/activator_spec.rb
547
- - ./spec/lib/http_stub/server/scenario/controller_spec.rb
548
- - ./spec/lib/http_stub/server/scenario/parser_spec.rb
549
- - ./spec/lib/http_stub/server/scenario/scenario_spec.rb
550
- - ./spec/lib/http_stub/server/scenario_spec.rb
551
- - ./spec/lib/http_stub/server/stub/controller_spec.rb
552
- - ./spec/lib/http_stub/server/stub/empty_spec.rb
553
- - ./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb
554
- - ./spec/lib/http_stub/server/stub/match/hash_with_string_value_matchers_spec.rb
555
- - ./spec/lib/http_stub/server/stub/match/match_spec.rb
556
- - ./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb
557
- - ./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb
558
- - ./spec/lib/http_stub/server/stub/match/rule/body_spec.rb
559
- - ./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb
560
- - ./spec/lib/http_stub/server/stub/match/rule/json_body_spec.rb
561
- - ./spec/lib/http_stub/server/stub/match/rule/method_spec.rb
562
- - ./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb
563
- - ./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb
564
- - ./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb
565
- - ./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb
566
- - ./spec/lib/http_stub/server/stub/match/truthy_matcher_spec.rb
567
- - ./spec/lib/http_stub/server/stub/parser_spec.rb
568
- - ./spec/lib/http_stub/server/stub/registry_integration_spec.rb
569
- - ./spec/lib/http_stub/server/stub/registry_spec.rb
570
- - ./spec/lib/http_stub/server/stub/response/base_spec.rb
571
- - ./spec/lib/http_stub/server/stub/response/file_spec.rb
572
- - ./spec/lib/http_stub/server/stub/response/text_spec.rb
573
- - ./spec/lib/http_stub/server/stub/response_spec.rb
574
- - ./spec/lib/http_stub/server/stub/stub_spec.rb
575
- - ./spec/lib/http_stub/server/stub/triggers_spec.rb
576
- - ./spec/lib/http_stub/server/stub_spec.rb
577
- - ./spec/resources/sample.pdf
578
- - ./spec/resources/sample.txt
579
- - ./spec/spec_helper.rb
580
- - ./spec/support/configurer_integration.rb
581
- - ./spec/support/http_stub/empty_configurer.rb
582
- - ./spec/support/http_stub/scenario_fixture.rb
583
- - ./spec/support/http_stub/server/request_fixture.rb
584
- - ./spec/support/http_stub/server/scenario/scenario_fixture.rb
585
- - ./spec/support/http_stub/server/stub/match/match_fixture.rb
586
- - ./spec/support/http_stub/stub_fixture.rb
587
- - ./spec/support/server_integration.rb
484
+ - "./spec/acceptance/activator_spec.rb"
485
+ - "./spec/acceptance/configurer_initialization_spec.rb"
486
+ - "./spec/acceptance/configurer_part_spec.rb"
487
+ - "./spec/acceptance/endpoint_template_spec.rb"
488
+ - "./spec/acceptance/scenario_spec.rb"
489
+ - "./spec/acceptance/server_defaults_spec.rb"
490
+ - "./spec/acceptance/stub_body_request_matching_spec.rb"
491
+ - "./spec/acceptance/stub_control_values_spec.rb"
492
+ - "./spec/acceptance/stub_match_spec.rb"
493
+ - "./spec/acceptance/stub_spec.rb"
494
+ - "./spec/acceptance/stub_trigger_spec.rb"
495
+ - "./spec/curl_samples.txt"
496
+ - "./spec/lib/http_stub/configurer/dsl/deprecated_spec.rb"
497
+ - "./spec/lib/http_stub/configurer/dsl/endpoint_template_spec.rb"
498
+ - "./spec/lib/http_stub/configurer/dsl/scenario_activator_spec.rb"
499
+ - "./spec/lib/http_stub/configurer/dsl/scenario_builder_spec.rb"
500
+ - "./spec/lib/http_stub/configurer/dsl/server_spec.rb"
501
+ - "./spec/lib/http_stub/configurer/dsl/stub_activator_builder_spec.rb"
502
+ - "./spec/lib/http_stub/configurer/dsl/stub_builder_producer_spec.rb"
503
+ - "./spec/lib/http_stub/configurer/dsl/stub_builder_spec.rb"
504
+ - "./spec/lib/http_stub/configurer/part_spec.rb"
505
+ - "./spec/lib/http_stub/configurer/request/controllable_value_spec.rb"
506
+ - "./spec/lib/http_stub/configurer/request/http/basic_spec.rb"
507
+ - "./spec/lib/http_stub/configurer/request/http/factory_spec.rb"
508
+ - "./spec/lib/http_stub/configurer/request/http/multipart_spec.rb"
509
+ - "./spec/lib/http_stub/configurer/request/omittable_spec.rb"
510
+ - "./spec/lib/http_stub/configurer/request/regexpable_spec.rb"
511
+ - "./spec/lib/http_stub/configurer/request/scenario_spec.rb"
512
+ - "./spec/lib/http_stub/configurer/request/stub_response_spec.rb"
513
+ - "./spec/lib/http_stub/configurer/request/stub_spec.rb"
514
+ - "./spec/lib/http_stub/configurer/server/buffered_command_processor_spec.rb"
515
+ - "./spec/lib/http_stub/configurer/server/command_processor_integration_spec.rb"
516
+ - "./spec/lib/http_stub/configurer/server/command_spec.rb"
517
+ - "./spec/lib/http_stub/configurer/server/facade_spec.rb"
518
+ - "./spec/lib/http_stub/configurer/server/request_processor_spec.rb"
519
+ - "./spec/lib/http_stub/extensions/core/hash_spec.rb"
520
+ - "./spec/lib/http_stub/extensions/rack/handler_spec.rb"
521
+ - "./spec/lib/http_stub/hash_with_indifferent_and_insensitive_access_spec.rb"
522
+ - "./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb"
523
+ - "./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb"
524
+ - "./spec/lib/http_stub/rake/server_tasks_spec.rb"
525
+ - "./spec/lib/http_stub/server/application_integration_spec.rb"
526
+ - "./spec/lib/http_stub/server/application_spec.rb"
527
+ - "./spec/lib/http_stub/server/daemon_integration_spec.rb"
528
+ - "./spec/lib/http_stub/server/daemon_spec.rb"
529
+ - "./spec/lib/http_stub/server/formatted_hash_spec.rb"
530
+ - "./spec/lib/http_stub/server/header_parser_spec.rb"
531
+ - "./spec/lib/http_stub/server/payload_file_consolidator_spec.rb"
532
+ - "./spec/lib/http_stub/server/registry_spec.rb"
533
+ - "./spec/lib/http_stub/server/request_spec.rb"
534
+ - "./spec/lib/http_stub/server/response_pipeline_spec.rb"
535
+ - "./spec/lib/http_stub/server/response_spec.rb"
536
+ - "./spec/lib/http_stub/server/scenario/activator_spec.rb"
537
+ - "./spec/lib/http_stub/server/scenario/controller_spec.rb"
538
+ - "./spec/lib/http_stub/server/scenario/links_spec.rb"
539
+ - "./spec/lib/http_stub/server/scenario/parser_spec.rb"
540
+ - "./spec/lib/http_stub/server/scenario/scenario_spec.rb"
541
+ - "./spec/lib/http_stub/server/scenario/trigger_spec.rb"
542
+ - "./spec/lib/http_stub/server/scenario_spec.rb"
543
+ - "./spec/lib/http_stub/server/stub/controller_spec.rb"
544
+ - "./spec/lib/http_stub/server/stub/empty_spec.rb"
545
+ - "./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb"
546
+ - "./spec/lib/http_stub/server/stub/match/hash_with_string_value_matchers_spec.rb"
547
+ - "./spec/lib/http_stub/server/stub/match/match_spec.rb"
548
+ - "./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb"
549
+ - "./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb"
550
+ - "./spec/lib/http_stub/server/stub/match/rule/body_spec.rb"
551
+ - "./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb"
552
+ - "./spec/lib/http_stub/server/stub/match/rule/json_body_spec.rb"
553
+ - "./spec/lib/http_stub/server/stub/match/rule/method_spec.rb"
554
+ - "./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb"
555
+ - "./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb"
556
+ - "./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb"
557
+ - "./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb"
558
+ - "./spec/lib/http_stub/server/stub/match/truthy_matcher_spec.rb"
559
+ - "./spec/lib/http_stub/server/stub/parser_spec.rb"
560
+ - "./spec/lib/http_stub/server/stub/registry_integration_spec.rb"
561
+ - "./spec/lib/http_stub/server/stub/registry_spec.rb"
562
+ - "./spec/lib/http_stub/server/stub/response/base_spec.rb"
563
+ - "./spec/lib/http_stub/server/stub/response/file_spec.rb"
564
+ - "./spec/lib/http_stub/server/stub/response/text_spec.rb"
565
+ - "./spec/lib/http_stub/server/stub/response_spec.rb"
566
+ - "./spec/lib/http_stub/server/stub/stub_spec.rb"
567
+ - "./spec/lib/http_stub/server/stub/triggers_spec.rb"
568
+ - "./spec/lib/http_stub/server/stub_spec.rb"
569
+ - "./spec/resources/sample.pdf"
570
+ - "./spec/resources/sample.txt"
571
+ - "./spec/spec_helper.rb"
572
+ - "./spec/support/configurer_integration.rb"
573
+ - "./spec/support/http_stub/empty_configurer.rb"
574
+ - "./spec/support/http_stub/scenario_fixture.rb"
575
+ - "./spec/support/http_stub/server/request_fixture.rb"
576
+ - "./spec/support/http_stub/server/scenario/scenario_fixture.rb"
577
+ - "./spec/support/http_stub/server/stub/match/match_fixture.rb"
578
+ - "./spec/support/http_stub/stub_fixture.rb"
579
+ - "./spec/support/server_integration.rb"