http_stub 0.28.0.beta1 → 0.28.0.beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/http_stub/configurator/stub/stub.rb +7 -8
- data/lib/http_stub/server.rb +11 -11
- data/lib/http_stub/server/application/application.rb +1 -1
- data/lib/http_stub/version.rb +1 -1
- data/spec/acceptance/session_spec.rb +2 -4
- data/spec/helper.rb +6 -6
- data/spec/lib/http_stub/configurator/stub/stub_spec.rb +83 -10
- data/spec/lib/http_stub/server/application/routes/stub_integration_spec.rb +1 -3
- data/spec/support/cross_origin_server/index_page.rb +1 -0
- data/spec/support/http_stub/configurator/stub_builder.rb +12 -43
- data/spec/support/http_stub/selenium/browser.rb +1 -1
- data/spec/support/http_stub/server/driver.rb +7 -9
- data/spec/support/http_stub/server_integration.rb +1 -13
- metadata +167 -168
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 04a737542b5fd35c087d6b3bf04d3db3622cd0107a899e8a63672f0481f83be2
|
4
|
+
data.tar.gz: 12f81c0ee5377ea7be40a9a6b096b90958666019b31f6ec9dd646113b777d28c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef25a1053b25eb93bb27939a558669f7f8b0f6e328cf3a3226292c95884aa5c0c5fcdd5cf354bfb3d09a65c06e17512e387ddcacef47b6292bfd7ada9eb4087f
|
7
|
+
data.tar.gz: e9abf1e38d3efc249b62acea9de54aa852468ed5008bc6c280f77a9ada64608d3277bacc0df7b25ae8d30290caa3082c3db99bdb7bb3f19d206bb3f51e70086a
|
@@ -23,18 +23,17 @@ module HttpStub
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def respond_with(args={}, &block)
|
26
|
-
remaining_args = args.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
self.tap { response_args.deep_merge!(remaining_args) }
|
26
|
+
remaining_args = args.with_indifferent_access
|
27
|
+
response_opts = @hash[:response]
|
28
|
+
response_opts[:blocks].concat([ remaining_args.delete(:blocks), block ].flatten.compact)
|
29
|
+
self.tap { response_opts.deep_merge!(remaining_args) }
|
31
30
|
end
|
32
31
|
|
33
32
|
def trigger(args)
|
34
33
|
resolved_args = to_triggers(args)
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
triggers_opts = @hash[:triggers]
|
35
|
+
triggers_opts[:scenario_names].concat(resolved_args[:scenario_names])
|
36
|
+
triggers_opts[:stubs].concat(resolved_args[:stubs])
|
38
37
|
self
|
39
38
|
end
|
40
39
|
|
data/lib/http_stub/server.rb
CHANGED
@@ -1,21 +1,11 @@
|
|
1
|
-
require 'sinatra'
|
2
|
-
require_relative 'extensions/sinatra/namespace'
|
3
|
-
require 'sinatra/partial'
|
4
|
-
require 'json'
|
5
|
-
require 'json-schema'
|
6
|
-
require 'http_server_manager'
|
7
|
-
require 'method_source'
|
8
|
-
require 'haml'
|
9
|
-
require 'sass'
|
10
|
-
|
11
1
|
require 'active_support/core_ext/module/aliasing'
|
12
2
|
require 'active_support/core_ext/module/delegation'
|
13
3
|
require 'active_support/core_ext/object/blank'
|
14
4
|
require 'active_support/core_ext/object/try'
|
15
5
|
require 'active_support/core_ext/string/inflections'
|
16
|
-
require 'active_support/core_ext/hash/slice'
|
17
6
|
require 'active_support/core_ext/hash/deep_merge'
|
18
7
|
require 'active_support/core_ext/hash/indifferent_access'
|
8
|
+
require 'active_support/core_ext/hash/slice'
|
19
9
|
|
20
10
|
require_relative 'extensions/core/object'
|
21
11
|
require_relative 'extensions/core/hash/formatted'
|
@@ -24,6 +14,16 @@ require_relative 'extensions/core/hash/with_indifferent_and_insensitive_access'
|
|
24
14
|
require_relative 'extensions/core/hash'
|
25
15
|
require_relative 'extensions/core/uri'
|
26
16
|
|
17
|
+
require 'sinatra'
|
18
|
+
require_relative 'extensions/sinatra/namespace'
|
19
|
+
require 'sinatra/partial'
|
20
|
+
require 'json'
|
21
|
+
require 'json-schema'
|
22
|
+
require 'http_server_manager'
|
23
|
+
require 'method_source'
|
24
|
+
require 'haml'
|
25
|
+
require 'sass'
|
26
|
+
|
27
27
|
require_relative 'extensions/rack/handler'
|
28
28
|
|
29
29
|
require_relative 'server/stdout_logger'
|
data/lib/http_stub/version.rb
CHANGED
@@ -10,6 +10,8 @@ describe "Session acceptance" do
|
|
10
10
|
let(:stub_session_id) { "some_session" }
|
11
11
|
let(:stub_session) { client.session(stub_session_id) }
|
12
12
|
|
13
|
+
let(:request_session_id_header) { { headers: { "http_stub_session_id" => request_session_id } } }
|
14
|
+
|
13
15
|
let(:match_response) { HTTParty.get("#{server_uri}/matching_path", request_session_id_header) }
|
14
16
|
|
15
17
|
before(:example) { stub_session.activate!("Some Scenario") }
|
@@ -68,10 +70,6 @@ describe "Session acceptance" do
|
|
68
70
|
|
69
71
|
end
|
70
72
|
|
71
|
-
def request_session_id_header
|
72
|
-
{ headers: { "http_stub_session_id" => request_session_id } }
|
73
|
-
end
|
74
|
-
|
75
73
|
end
|
76
74
|
|
77
75
|
context "when many sessions have been created" do
|
data/spec/helper.rb
CHANGED
@@ -20,17 +20,17 @@ require_relative '../lib/http_stub/client'
|
|
20
20
|
require_relative '../lib/http_stub/rake/task_generators'
|
21
21
|
|
22
22
|
require_relative '../examples/stub_builder'
|
23
|
-
Dir[File.expand_path('
|
23
|
+
Dir[::File.expand_path('../examples/**/*.rb', __dir__)].each { |file| require file }
|
24
24
|
|
25
|
-
HttpStub::Server::Daemon.log_dir = ::File.expand_path('
|
26
|
-
HttpStub::Server::Daemon.pid_dir = ::File.expand_path('
|
25
|
+
HttpStub::Server::Daemon.log_dir = ::File.expand_path('../tmp/log', __dir__)
|
26
|
+
HttpStub::Server::Daemon.pid_dir = ::File.expand_path('../tmp/pids', __dir__)
|
27
27
|
|
28
28
|
HttpServerManager.logger = HttpServerManager::Test::SilentLogger
|
29
29
|
|
30
30
|
module HttpStub
|
31
31
|
|
32
32
|
module Examples
|
33
|
-
RESOURCES_DIR = ::File.expand_path('
|
33
|
+
RESOURCES_DIR = ::File.expand_path('../examples/resources', __dir__)
|
34
34
|
end
|
35
35
|
|
36
36
|
end
|
@@ -80,7 +80,7 @@ require_relative 'support/browser_integration'
|
|
80
80
|
|
81
81
|
RSpec.configure do |config|
|
82
82
|
config.after(:suite) do
|
83
|
-
HttpStub::Server::Driver.all.each(&:stop)
|
84
|
-
HttpStub::Selenium::Browser.stop
|
83
|
+
HttpStub::Server::Driver.all.each(&:stop!)
|
84
|
+
HttpStub::Selenium::Browser.stop!
|
85
85
|
end
|
86
86
|
end
|
@@ -71,6 +71,18 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
71
71
|
expect(composed_stub.merged_stubs).to eql([ parent_stub ])
|
72
72
|
end
|
73
73
|
|
74
|
+
it "creates a stub with different response blocks" do
|
75
|
+
parent_stub = described_class.new
|
76
|
+
child_stub = described_class.new(parent_stub)
|
77
|
+
another_child_stub = described_class.new(parent_stub)
|
78
|
+
|
79
|
+
expect(response_blocks_of(child_stub)).to_not equal(response_blocks_of(another_child_stub))
|
80
|
+
end
|
81
|
+
|
82
|
+
def response_blocks_of(stub)
|
83
|
+
stub.to_hash[:response][:blocks]
|
84
|
+
end
|
85
|
+
|
74
86
|
end
|
75
87
|
|
76
88
|
context "when a block is provided" do
|
@@ -160,11 +172,11 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
160
172
|
|
161
173
|
context "when a hash is provided" do
|
162
174
|
|
163
|
-
let(:response_hash) { {
|
175
|
+
let(:response_hash) { { json: { some_key: "some value" } } }
|
164
176
|
|
165
177
|
subject { composed_stub.respond_with(response_hash) }
|
166
178
|
|
167
|
-
it "includes the
|
179
|
+
it "includes the provided hash in the stub payloads response" do
|
168
180
|
subject
|
169
181
|
|
170
182
|
expect(composed_stub_response_payload).to include(response_hash)
|
@@ -174,6 +186,29 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
174
186
|
expect(subject).to eql(composed_stub)
|
175
187
|
end
|
176
188
|
|
189
|
+
it "does not reflect subsequent changes made to the provided hash" do
|
190
|
+
subject
|
191
|
+
|
192
|
+
response_hash[:json][:some_key] = "another value"
|
193
|
+
expect(composed_stub.to_hash[:response]).to include(json: { some_key: "some value" })
|
194
|
+
end
|
195
|
+
|
196
|
+
context "that is frozen" do
|
197
|
+
|
198
|
+
let(:response_hash) { { status: 201 }.freeze }
|
199
|
+
|
200
|
+
it "includes the provided hash in the stub payloads response" do
|
201
|
+
subject
|
202
|
+
|
203
|
+
expect(composed_stub_response_payload).to include(response_hash)
|
204
|
+
end
|
205
|
+
|
206
|
+
it "returns the stub to support method chaining" do
|
207
|
+
expect(subject).to eql(composed_stub)
|
208
|
+
end
|
209
|
+
|
210
|
+
end
|
211
|
+
|
177
212
|
end
|
178
213
|
|
179
214
|
end
|
@@ -573,6 +608,7 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
573
608
|
before(:example) do
|
574
609
|
composed_stub.match_requests(fixture.match_rules)
|
575
610
|
composed_stub.respond_with(fixture.response)
|
611
|
+
composed_stub.trigger(fixture.triggers)
|
576
612
|
end
|
577
613
|
|
578
614
|
it "returns a string identifying the stub" do
|
@@ -608,9 +644,10 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
608
644
|
before(:example) do
|
609
645
|
other_composed_stub.match_requests(fixture.match_rules)
|
610
646
|
other_composed_stub.respond_with(fixture.response)
|
647
|
+
other_composed_stub.trigger(fixture.triggers)
|
611
648
|
end
|
612
649
|
|
613
|
-
context "
|
650
|
+
context "which has the same data" do
|
614
651
|
|
615
652
|
it "returns the same value" do
|
616
653
|
expect(subject).to eql(other_composed_stub.id)
|
@@ -618,9 +655,9 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
618
655
|
|
619
656
|
end
|
620
657
|
|
621
|
-
context "
|
658
|
+
context "which has different request matching rules" do
|
622
659
|
|
623
|
-
before(:example) { other_composed_stub.
|
660
|
+
before(:example) { other_composed_stub.match_requests(uri: "some_other_uri") }
|
624
661
|
|
625
662
|
it "returns a different value" do
|
626
663
|
expect(subject).to_not eql(other_composed_stub.id)
|
@@ -628,6 +665,42 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
628
665
|
|
629
666
|
end
|
630
667
|
|
668
|
+
context "which has different response blocks" do
|
669
|
+
|
670
|
+
let(:other_response_block) { lambda { { status: 404 } } }
|
671
|
+
|
672
|
+
before(:example) { other_composed_stub.respond_with(&other_response_block) }
|
673
|
+
|
674
|
+
it "returns a different value" do
|
675
|
+
expect(subject).to_not eql(other_composed_stub.id)
|
676
|
+
end
|
677
|
+
|
678
|
+
end
|
679
|
+
|
680
|
+
context "which has different triggered stubs" do
|
681
|
+
|
682
|
+
let(:triggered_stub) { described_class.new(parent_stub) }
|
683
|
+
|
684
|
+
before(:example) { other_composed_stub.trigger(stub: triggered_stub) }
|
685
|
+
|
686
|
+
it "returns a different value" do
|
687
|
+
expect(subject).to_not eql(other_composed_stub.id)
|
688
|
+
end
|
689
|
+
|
690
|
+
end
|
691
|
+
|
692
|
+
end
|
693
|
+
|
694
|
+
context "that is frozen" do
|
695
|
+
|
696
|
+
before(:example) do
|
697
|
+
composed_stub.match_requests({ status: 201 }.freeze)
|
698
|
+
end
|
699
|
+
|
700
|
+
it "returns a string identifying the stub" do
|
701
|
+
expect(composed_stub.id).to be_a(String)
|
702
|
+
end
|
703
|
+
|
631
704
|
end
|
632
705
|
|
633
706
|
end
|
@@ -648,8 +721,8 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
648
721
|
let(:triggers) { { scenarios: [], stubs: [] } }
|
649
722
|
|
650
723
|
subject do
|
651
|
-
composed_stub.match_requests(fixture.match_rules
|
652
|
-
composed_stub.respond_with(fixture.response
|
724
|
+
composed_stub.match_requests(fixture.match_rules)
|
725
|
+
composed_stub.respond_with(fixture.response)
|
653
726
|
composed_stub.trigger(triggers)
|
654
727
|
|
655
728
|
composed_stub.to_hash
|
@@ -662,11 +735,11 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
662
735
|
context "when provided with request match and response data" do
|
663
736
|
|
664
737
|
it "creates a hash with match rules that include the uri and the match options" do
|
665
|
-
expect(subject[:match_rules]).to eql(fixture.match_rules
|
738
|
+
expect(subject[:match_rules]).to eql(fixture.match_rules)
|
666
739
|
end
|
667
740
|
|
668
741
|
it "creates a hash with response arguments" do
|
669
|
-
expect(subject[:response]).to eql(fixture.response
|
742
|
+
expect(subject[:response]).to eql(fixture.response)
|
670
743
|
end
|
671
744
|
|
672
745
|
context "and the response data contains blocks" do
|
@@ -674,7 +747,7 @@ describe HttpStub::Configurator::Stub::Stub do
|
|
674
747
|
before(:example) { fixture.with_response_block! }
|
675
748
|
|
676
749
|
it "creates a hash with response arguments that include the blocks" do
|
677
|
-
expect(subject[:response]).to include(blocks: fixture.response
|
750
|
+
expect(subject[:response]).to include(blocks: fixture.response[:blocks])
|
678
751
|
end
|
679
752
|
|
680
753
|
end
|
@@ -3,9 +3,7 @@ describe HttpStub::Server::Application::Routes::Stub, "when a server is running"
|
|
3
3
|
|
4
4
|
let(:response_document) { Nokogiri::HTML(response.body) }
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
describe "and a configurator with multiple scenarios is initialized" do
|
6
|
+
describe "that has multiple scenarios configured" do
|
9
7
|
|
10
8
|
let(:configurator) { HttpStub::Examples::ConfiguratorWithExhaustiveScenarios }
|
11
9
|
|
@@ -5,69 +5,38 @@ module HttpStub
|
|
5
5
|
|
6
6
|
attr_reader :match_rules, :response, :triggers
|
7
7
|
|
8
|
-
class Part
|
9
|
-
|
10
|
-
attr_writer :hash
|
11
|
-
|
12
|
-
def initialize(hash)
|
13
|
-
@hash = hash.with_indifferent_access
|
14
|
-
end
|
15
|
-
|
16
|
-
def merge!(options)
|
17
|
-
@hash.merge!(options)
|
18
|
-
end
|
19
|
-
|
20
|
-
def http_method
|
21
|
-
@hash[:method]
|
22
|
-
end
|
23
|
-
|
24
|
-
def to_hash
|
25
|
-
@hash
|
26
|
-
end
|
27
|
-
|
28
|
-
def method_missing(name, *args)
|
29
|
-
if name.to_s.end_with?("=")
|
30
|
-
attribute_name = name.to_s[0..-2].to_sym
|
31
|
-
@hash[attribute_name] = args.first
|
32
|
-
else
|
33
|
-
@hash[name]
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
8
|
def initialize
|
40
9
|
@unique_value = SecureRandom.uuid
|
41
|
-
|
10
|
+
self.match_rules = {
|
42
11
|
uri: "/stub/uri/#{@unique_value}",
|
43
12
|
method: "some #{@unique_value} method",
|
44
13
|
headers: { "request_header_name" => "request header value #{@unique_value}" },
|
45
14
|
parameters: { "parameter_name" => "parameter value #{@unique_value}" },
|
46
15
|
body: "some body"
|
47
|
-
|
48
|
-
|
16
|
+
}
|
17
|
+
self.response = {
|
49
18
|
status: 500,
|
50
19
|
headers: { "response_header_name" => "response header value #{@unique_value}" },
|
51
20
|
body: "body #{@unique_value}",
|
52
21
|
delay_in_seconds: 8,
|
53
22
|
blocks: []
|
54
|
-
|
23
|
+
}
|
55
24
|
@triggers = {
|
56
25
|
scenarios: [],
|
57
26
|
stubs: []
|
58
27
|
}
|
59
28
|
end
|
60
29
|
|
61
|
-
def match_rules=(
|
62
|
-
|
30
|
+
def match_rules=(args)
|
31
|
+
@match_rules = args.with_indifferent_access
|
63
32
|
end
|
64
33
|
|
65
|
-
def response=(
|
66
|
-
|
34
|
+
def response=(args)
|
35
|
+
@response = args.with_indifferent_access
|
67
36
|
end
|
68
37
|
|
69
|
-
def with_response!(
|
70
|
-
self.tap { @response.merge!(
|
38
|
+
def with_response!(args)
|
39
|
+
self.tap { @response.merge!(args) }
|
71
40
|
end
|
72
41
|
|
73
42
|
def with_response_block!
|
@@ -100,8 +69,8 @@ module HttpStub
|
|
100
69
|
|
101
70
|
def build
|
102
71
|
HttpStub::Configurator::Stub.create do |stub|
|
103
|
-
stub.match_requests(@match_rules
|
104
|
-
stub.respond_with(@response
|
72
|
+
stub.match_requests(@match_rules)
|
73
|
+
stub.respond_with(@response)
|
105
74
|
stub.trigger(@triggers)
|
106
75
|
end
|
107
76
|
end
|
@@ -28,8 +28,8 @@ module HttpStub
|
|
28
28
|
@host = "localhost"
|
29
29
|
end
|
30
30
|
|
31
|
-
def start
|
32
|
-
return if
|
31
|
+
def start!
|
32
|
+
return if started?
|
33
33
|
::Wait.until!(description: "server on an available port started") do
|
34
34
|
@port = HttpStub::Port.free_port
|
35
35
|
@pid = Process.spawn("rake launch_server configurator=#{@configurator.name} port=#{@port}", out: DEV_NULL,
|
@@ -42,16 +42,14 @@ module HttpStub
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
def
|
46
|
-
@
|
45
|
+
def stop!
|
46
|
+
Process.kill(9, @pid) if started?
|
47
47
|
end
|
48
48
|
|
49
|
-
|
50
|
-
@client.session(@session_id).reset!
|
51
|
-
end
|
49
|
+
private
|
52
50
|
|
53
|
-
def
|
54
|
-
|
51
|
+
def started?
|
52
|
+
!!@client
|
55
53
|
end
|
56
54
|
|
57
55
|
end
|
@@ -10,24 +10,12 @@ shared_context "server integration" do
|
|
10
10
|
let(:server_uri) { server_driver.uri }
|
11
11
|
let(:client) { server_driver.client }
|
12
12
|
|
13
|
-
before(:example) { server_driver.start }
|
13
|
+
before(:example) { server_driver.start! }
|
14
14
|
|
15
15
|
after(:example) { client.reset! }
|
16
16
|
|
17
|
-
def initialize_server
|
18
|
-
server_driver.session_id = transactional_session_id
|
19
|
-
end
|
20
|
-
|
21
17
|
def transactional_session_id
|
22
18
|
"http_stub_transactional"
|
23
19
|
end
|
24
20
|
|
25
|
-
def session_id
|
26
|
-
server_driver.session_id
|
27
|
-
end
|
28
|
-
|
29
|
-
def reset_session
|
30
|
-
server_driver.reset_session
|
31
|
-
end
|
32
|
-
|
33
21
|
end
|
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.28.0.
|
4
|
+
version: 0.28.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dueckes
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2019-06-25 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rake
|
@@ -20,42 +20,42 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '12.3'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
30
|
+
version: '12.3'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: sinatra
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 2.0.4
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - '='
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
44
|
+
version: 2.0.4
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: sinatra-contrib
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - "~>"
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '2.0'
|
52
52
|
type: :runtime
|
53
53
|
prerelease: false
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
56
|
- - "~>"
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
58
|
+
version: '2.0'
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: sinatra-partial
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,14 +104,14 @@ dependencies:
|
|
104
104
|
requirements:
|
105
105
|
- - "~>"
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: '5.
|
107
|
+
version: '5.2'
|
108
108
|
type: :runtime
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
112
|
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: '5.
|
114
|
+
version: '5.2'
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: method_source
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,98 +132,98 @@ dependencies:
|
|
132
132
|
requirements:
|
133
133
|
- - "~>"
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version: '5.
|
135
|
+
version: '5.1'
|
136
136
|
type: :runtime
|
137
137
|
prerelease: false
|
138
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
140
|
- - "~>"
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: '5.
|
142
|
+
version: '5.1'
|
143
143
|
- !ruby/object:Gem::Dependency
|
144
144
|
name: sass
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
147
|
- - "~>"
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: '3.
|
149
|
+
version: '3.7'
|
150
150
|
type: :runtime
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - "~>"
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: '3.
|
156
|
+
version: '3.7'
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rubocop
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|
160
160
|
requirements:
|
161
161
|
- - "~>"
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
version: '0.
|
163
|
+
version: '0.71'
|
164
164
|
type: :development
|
165
165
|
prerelease: false
|
166
166
|
version_requirements: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
168
|
- - "~>"
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version: '0.
|
170
|
+
version: '0.71'
|
171
171
|
- !ruby/object:Gem::Dependency
|
172
172
|
name: rspec
|
173
173
|
requirement: !ruby/object:Gem::Requirement
|
174
174
|
requirements:
|
175
175
|
- - "~>"
|
176
176
|
- !ruby/object:Gem::Version
|
177
|
-
version: '3.
|
177
|
+
version: '3.8'
|
178
178
|
type: :development
|
179
179
|
prerelease: false
|
180
180
|
version_requirements: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
182
|
- - "~>"
|
183
183
|
- !ruby/object:Gem::Version
|
184
|
-
version: '3.
|
184
|
+
version: '3.8'
|
185
185
|
- !ruby/object:Gem::Dependency
|
186
186
|
name: nokogiri
|
187
187
|
requirement: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
189
|
- - "~>"
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version: '1.
|
191
|
+
version: '1.10'
|
192
192
|
type: :development
|
193
193
|
prerelease: false
|
194
194
|
version_requirements: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
196
|
- - "~>"
|
197
197
|
- !ruby/object:Gem::Version
|
198
|
-
version: '1.
|
198
|
+
version: '1.10'
|
199
199
|
- !ruby/object:Gem::Dependency
|
200
200
|
name: httparty
|
201
201
|
requirement: !ruby/object:Gem::Requirement
|
202
202
|
requirements:
|
203
203
|
- - "~>"
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version: '0.
|
205
|
+
version: '0.17'
|
206
206
|
type: :development
|
207
207
|
prerelease: false
|
208
208
|
version_requirements: !ruby/object:Gem::Requirement
|
209
209
|
requirements:
|
210
210
|
- - "~>"
|
211
211
|
- !ruby/object:Gem::Version
|
212
|
-
version: '0.
|
212
|
+
version: '0.17'
|
213
213
|
- !ruby/object:Gem::Dependency
|
214
214
|
name: rack-test
|
215
215
|
requirement: !ruby/object:Gem::Requirement
|
216
216
|
requirements:
|
217
217
|
- - "~>"
|
218
218
|
- !ruby/object:Gem::Version
|
219
|
-
version: '
|
219
|
+
version: '1.1'
|
220
220
|
type: :development
|
221
221
|
prerelease: false
|
222
222
|
version_requirements: !ruby/object:Gem::Requirement
|
223
223
|
requirements:
|
224
224
|
- - "~>"
|
225
225
|
- !ruby/object:Gem::Version
|
226
|
-
version: '
|
226
|
+
version: '1.1'
|
227
227
|
- !ruby/object:Gem::Dependency
|
228
228
|
name: wait_until
|
229
229
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,14 +244,14 @@ dependencies:
|
|
244
244
|
requirements:
|
245
245
|
- - "~>"
|
246
246
|
- !ruby/object:Gem::Version
|
247
|
-
version: '3.
|
247
|
+
version: '3.142'
|
248
248
|
type: :development
|
249
249
|
prerelease: false
|
250
250
|
version_requirements: !ruby/object:Gem::Requirement
|
251
251
|
requirements:
|
252
252
|
- - "~>"
|
253
253
|
- !ruby/object:Gem::Version
|
254
|
-
version: '3.
|
254
|
+
version: '3.142'
|
255
255
|
- !ruby/object:Gem::Dependency
|
256
256
|
name: simplecov
|
257
257
|
requirement: !ruby/object:Gem::Requirement
|
@@ -591,175 +591,174 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
591
591
|
requirements:
|
592
592
|
- - ">="
|
593
593
|
- !ruby/object:Gem::Version
|
594
|
-
version: 2.
|
594
|
+
version: '2.3'
|
595
595
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
596
596
|
requirements:
|
597
597
|
- - ">"
|
598
598
|
- !ruby/object:Gem::Version
|
599
599
|
version: 1.3.1
|
600
600
|
requirements: []
|
601
|
-
|
602
|
-
rubygems_version: 2.6.14
|
601
|
+
rubygems_version: 3.0.4
|
603
602
|
signing_key:
|
604
603
|
specification_version: 4
|
605
604
|
summary: A service virtualization tool that encourages contract based testing
|
606
605
|
test_files:
|
607
|
-
- "./spec/
|
608
|
-
- "./spec/
|
609
|
-
- "./spec/acceptance/endpoint_template_spec.rb"
|
610
|
-
- "./spec/acceptance/scenario_spec.rb"
|
611
|
-
- "./spec/acceptance/server_defaults_spec.rb"
|
612
|
-
- "./spec/acceptance/server_memory_spec.rb"
|
613
|
-
- "./spec/acceptance/server_status_spec.rb"
|
606
|
+
- "./spec/curl_samples.txt"
|
607
|
+
- "./spec/helper.rb"
|
614
608
|
- "./spec/acceptance/session_spec.rb"
|
615
|
-
- "./spec/acceptance/stub_body_request_matching_spec.rb"
|
616
|
-
- "./spec/acceptance/stub_control_values_spec.rb"
|
617
609
|
- "./spec/acceptance/stub_match_last_spec.rb"
|
618
|
-
- "./spec/acceptance/
|
610
|
+
- "./spec/acceptance/stub_control_values_spec.rb"
|
611
|
+
- "./spec/acceptance/server_defaults_spec.rb"
|
612
|
+
- "./spec/acceptance/stub_spec.rb"
|
613
|
+
- "./spec/acceptance/server_memory_spec.rb"
|
614
|
+
- "./spec/acceptance/configurator_part_spec.rb"
|
619
615
|
- "./spec/acceptance/stub_miss_list_spec.rb"
|
616
|
+
- "./spec/acceptance/scenario_spec.rb"
|
617
|
+
- "./spec/acceptance/endpoint_template_spec.rb"
|
618
|
+
- "./spec/acceptance/stub_match_list_spec.rb"
|
619
|
+
- "./spec/acceptance/server_status_spec.rb"
|
620
620
|
- "./spec/acceptance/stub_response_block_spec.rb"
|
621
|
-
- "./spec/acceptance/stub_spec.rb"
|
622
621
|
- "./spec/acceptance/stub_trigger_spec.rb"
|
623
|
-
- "./spec/
|
624
|
-
- "./spec/
|
625
|
-
- "./spec/
|
626
|
-
- "./spec/
|
627
|
-
- "./spec/
|
628
|
-
- "./spec/
|
629
|
-
- "./spec/
|
622
|
+
- "./spec/acceptance/cross_origin_support_spec.rb"
|
623
|
+
- "./spec/acceptance/stub_body_request_matching_spec.rb"
|
624
|
+
- "./spec/support/surpressed_output.rb"
|
625
|
+
- "./spec/support/browser_integration.rb"
|
626
|
+
- "./spec/support/cross_origin_server/integration.rb"
|
627
|
+
- "./spec/support/cross_origin_server/application.rb"
|
628
|
+
- "./spec/support/cross_origin_server/public/index.html"
|
629
|
+
- "./spec/support/cross_origin_server/index_page.rb"
|
630
|
+
- "./spec/support/http_stub/selenium/browser.rb"
|
631
|
+
- "./spec/support/http_stub/server_integration.rb"
|
632
|
+
- "./spec/support/http_stub/headers_fixture.rb"
|
633
|
+
- "./spec/support/http_stub/configurator_with_stub_builder_and_requester.rb"
|
634
|
+
- "./spec/support/http_stub/server/memory_fixture.rb"
|
635
|
+
- "./spec/support/http_stub/server/driver.rb"
|
636
|
+
- "./spec/support/http_stub/server/request_fixture.rb"
|
637
|
+
- "./spec/support/http_stub/server/stub_fixture.rb"
|
638
|
+
- "./spec/support/http_stub/server/session_fixture.rb"
|
639
|
+
- "./spec/support/http_stub/server/simple_request.rb"
|
640
|
+
- "./spec/support/http_stub/server/scenario_fixture.rb"
|
641
|
+
- "./spec/support/http_stub/server/silent_logger.rb"
|
642
|
+
- "./spec/support/http_stub/server/stub/response/blocks_fixture.rb"
|
643
|
+
- "./spec/support/http_stub/server/stub/response/file_body_fixture.rb"
|
644
|
+
- "./spec/support/http_stub/server/stub/response/text_body_fixture.rb"
|
645
|
+
- "./spec/support/http_stub/server/stub/match/miss_fixture.rb"
|
646
|
+
- "./spec/support/http_stub/server/stub/match/match_fixture.rb"
|
647
|
+
- "./spec/support/http_stub/server/stub/response_builder.rb"
|
648
|
+
- "./spec/support/http_stub/server/stub/response_fixture.rb"
|
649
|
+
- "./spec/support/http_stub/server/request/sinatra_request_fixture.rb"
|
650
|
+
- "./spec/support/http_stub/server/application/http_stub_rack_application_test.rb"
|
651
|
+
- "./spec/support/http_stub/html_view_including_a_stub_request.rb"
|
652
|
+
- "./spec/support/http_stub/configurator/scenario_builder.rb"
|
653
|
+
- "./spec/support/http_stub/configurator/stub_fixture.rb"
|
654
|
+
- "./spec/support/http_stub/configurator/scenario_fixture.rb"
|
655
|
+
- "./spec/support/http_stub/configurator/stub_builder.rb"
|
656
|
+
- "./spec/support/http_stub/port.rb"
|
657
|
+
- "./spec/support/http_stub/configurator_fixture.rb"
|
658
|
+
- "./spec/support/http_stub/stub_requester.rb"
|
659
|
+
- "./spec/support/http_stub/html_view_excluding_a_stub_request.rb"
|
660
|
+
- "./spec/support/contain_file.rb"
|
661
|
+
- "./spec/support/extensions/core/random.rb"
|
662
|
+
- "./spec/support/rack/rack_application_test.rb"
|
663
|
+
- "./spec/support/rack/request_fixture.rb"
|
664
|
+
- "./spec/support/object_convertable_to_json.rb"
|
665
|
+
- "./spec/support/html_helpers.rb"
|
666
|
+
- "./spec/support/include_in_json.rb"
|
630
667
|
- "./spec/lib/http_stub/client_spec.rb"
|
631
|
-
- "./spec/lib/http_stub/configurator/endpoint_template_spec.rb"
|
632
|
-
- "./spec/lib/http_stub/configurator/part_spec.rb"
|
633
|
-
- "./spec/lib/http_stub/configurator/scenario_spec.rb"
|
634
|
-
- "./spec/lib/http_stub/configurator/server_spec.rb"
|
635
|
-
- "./spec/lib/http_stub/configurator/state_spec.rb"
|
636
|
-
- "./spec/lib/http_stub/configurator/stub/stub_spec.rb"
|
637
|
-
- "./spec/lib/http_stub/configurator/stub/template_spec.rb"
|
638
|
-
- "./spec/lib/http_stub/configurator/stub_spec.rb"
|
639
|
-
- "./spec/lib/http_stub/configurator_spec.rb"
|
640
|
-
- "./spec/lib/http_stub/extensions/core/hash/formatted_spec.rb"
|
641
|
-
- "./spec/lib/http_stub/extensions/core/hash/indifferent_and_insensitive_access_spec.rb"
|
642
|
-
- "./spec/lib/http_stub/extensions/core/hash/with_indifferent_and_insensitive_access_spec.rb"
|
643
|
-
- "./spec/lib/http_stub/extensions/core/hash_spec.rb"
|
644
|
-
- "./spec/lib/http_stub/extensions/core/object_spec.rb"
|
645
|
-
- "./spec/lib/http_stub/extensions/core/uri_spec.rb"
|
646
|
-
- "./spec/lib/http_stub/extensions/rack/handler_spec.rb"
|
647
|
-
- "./spec/lib/http_stub/extensions/sinatra/namespace_spec.rb"
|
648
668
|
- "./spec/lib/http_stub/json_spec.rb"
|
649
|
-
- "./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb"
|
650
669
|
- "./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb"
|
670
|
+
- "./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb"
|
651
671
|
- "./spec/lib/http_stub/rake/server_tasks_spec.rb"
|
652
|
-
- "./spec/lib/http_stub/server/application/application_spec.rb"
|
653
|
-
- "./spec/lib/http_stub/server/application/cross_origin_support_spec.rb"
|
654
|
-
- "./spec/lib/http_stub/server/application/request_support_integration_spec.rb"
|
655
|
-
- "./spec/lib/http_stub/server/application/request_support_spec.rb"
|
656
|
-
- "./spec/lib/http_stub/server/application/routes/memory_spec.rb"
|
657
|
-
- "./spec/lib/http_stub/server/application/routes/resource_spec.rb"
|
658
|
-
- "./spec/lib/http_stub/server/application/routes/scenario_spec.rb"
|
659
|
-
- "./spec/lib/http_stub/server/application/routes/session_integration_spec.rb"
|
660
|
-
- "./spec/lib/http_stub/server/application/routes/session_spec.rb"
|
661
|
-
- "./spec/lib/http_stub/server/application/routes/status_spec.rb"
|
662
|
-
- "./spec/lib/http_stub/server/application/routes/stub_integration_spec.rb"
|
663
|
-
- "./spec/lib/http_stub/server/application/routes/stub_spec.rb"
|
664
|
-
- "./spec/lib/http_stub/server/application/session_uri_support_spec.rb"
|
665
|
-
- "./spec/lib/http_stub/server/application/text_formatting_support_spec.rb"
|
666
|
-
- "./spec/lib/http_stub/server/daemon_integration_spec.rb"
|
667
|
-
- "./spec/lib/http_stub/server/daemon_spec.rb"
|
668
|
-
- "./spec/lib/http_stub/server/memory/controller_spec.rb"
|
669
|
-
- "./spec/lib/http_stub/server/memory/initial_state_spec.rb"
|
670
672
|
- "./spec/lib/http_stub/server/memory/memory_spec.rb"
|
673
|
+
- "./spec/lib/http_stub/server/memory/initial_state_spec.rb"
|
674
|
+
- "./spec/lib/http_stub/server/memory/controller_spec.rb"
|
675
|
+
- "./spec/lib/http_stub/server/stub_spec.rb"
|
676
|
+
- "./spec/lib/http_stub/server/daemon_integration_spec.rb"
|
671
677
|
- "./spec/lib/http_stub/server/registry_spec.rb"
|
672
|
-
- "./spec/lib/http_stub/server/
|
673
|
-
- "./spec/lib/http_stub/server/
|
674
|
-
- "./spec/lib/http_stub/server/
|
675
|
-
- "./spec/lib/http_stub/server/request/request_spec.rb"
|
676
|
-
- "./spec/lib/http_stub/server/request/sinatra_request_spec.rb"
|
677
|
-
- "./spec/lib/http_stub/server/response_spec.rb"
|
678
|
-
- "./spec/lib/http_stub/server/scenario/controller_spec.rb"
|
679
|
-
- "./spec/lib/http_stub/server/scenario/links_spec.rb"
|
678
|
+
- "./spec/lib/http_stub/server/daemon_spec.rb"
|
679
|
+
- "./spec/lib/http_stub/server/stdout_logger_spec.rb"
|
680
|
+
- "./spec/lib/http_stub/server/scenario/trigger_spec.rb"
|
680
681
|
- "./spec/lib/http_stub/server/scenario/not_found_error_spec.rb"
|
681
682
|
- "./spec/lib/http_stub/server/scenario/registry_spec.rb"
|
683
|
+
- "./spec/lib/http_stub/server/scenario/links_spec.rb"
|
684
|
+
- "./spec/lib/http_stub/server/scenario/controller_spec.rb"
|
682
685
|
- "./spec/lib/http_stub/server/scenario/scenario_spec.rb"
|
683
|
-
- "./spec/lib/http_stub/server/
|
684
|
-
- "./spec/lib/http_stub/server/
|
685
|
-
- "./spec/lib/http_stub/server/
|
686
|
-
- "./spec/lib/http_stub/server/
|
687
|
-
- "./spec/lib/http_stub/server/
|
688
|
-
- "./spec/lib/http_stub/server/
|
689
|
-
- "./spec/lib/http_stub/server/
|
690
|
-
- "./spec/lib/http_stub/server/
|
691
|
-
- "./spec/lib/http_stub/server/stub/controller_spec.rb"
|
692
|
-
- "./spec/lib/http_stub/server/stub/empty_spec.rb"
|
693
|
-
- "./spec/lib/http_stub/server/stub/match/controller_spec.rb"
|
694
|
-
- "./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb"
|
695
|
-
- "./spec/lib/http_stub/server/stub/match/hash_matcher_spec.rb"
|
696
|
-
- "./spec/lib/http_stub/server/stub/match/match_spec.rb"
|
686
|
+
- "./spec/lib/http_stub/server/response_spec.rb"
|
687
|
+
- "./spec/lib/http_stub/server/stub/response/text_body_spec.rb"
|
688
|
+
- "./spec/lib/http_stub/server/stub/response/headers_spec.rb"
|
689
|
+
- "./spec/lib/http_stub/server/stub/response/blocks_spec.rb"
|
690
|
+
- "./spec/lib/http_stub/server/stub/response/body_spec.rb"
|
691
|
+
- "./spec/lib/http_stub/server/stub/response/response_spec.rb"
|
692
|
+
- "./spec/lib/http_stub/server/stub/response/file_body_spec.rb"
|
693
|
+
- "./spec/lib/http_stub/server/stub/registry_integration_spec.rb"
|
697
694
|
- "./spec/lib/http_stub/server/stub/match/miss_spec.rb"
|
698
|
-
- "./spec/lib/http_stub/server/stub/match/
|
699
|
-
- "./spec/lib/http_stub/server/stub/match/
|
700
|
-
- "./spec/lib/http_stub/server/stub/match/rule/
|
701
|
-
- "./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb"
|
702
|
-
- "./spec/lib/http_stub/server/stub/match/rule/json_schema_body_spec.rb"
|
703
|
-
- "./spec/lib/http_stub/server/stub/match/rule/method_spec.rb"
|
695
|
+
- "./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb"
|
696
|
+
- "./spec/lib/http_stub/server/stub/match/match_spec.rb"
|
697
|
+
- "./spec/lib/http_stub/server/stub/match/rule/truthy_spec.rb"
|
704
698
|
- "./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb"
|
705
699
|
- "./spec/lib/http_stub/server/stub/match/rule/schema_body_spec.rb"
|
700
|
+
- "./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb"
|
701
|
+
- "./spec/lib/http_stub/server/stub/match/rule/body_spec.rb"
|
702
|
+
- "./spec/lib/http_stub/server/stub/match/rule/method_spec.rb"
|
706
703
|
- "./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb"
|
707
|
-
- "./spec/lib/http_stub/server/stub/match/rule/
|
704
|
+
- "./spec/lib/http_stub/server/stub/match/rule/json_schema_body_spec.rb"
|
708
705
|
- "./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb"
|
706
|
+
- "./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb"
|
707
|
+
- "./spec/lib/http_stub/server/stub/match/controller_spec.rb"
|
708
|
+
- "./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb"
|
709
|
+
- "./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb"
|
709
710
|
- "./spec/lib/http_stub/server/stub/match/rules_spec.rb"
|
710
|
-
- "./spec/lib/http_stub/server/stub/match/
|
711
|
-
- "./spec/lib/http_stub/server/stub/registry_integration_spec.rb"
|
712
|
-
- "./spec/lib/http_stub/server/stub/registry_spec.rb"
|
713
|
-
- "./spec/lib/http_stub/server/stub/response/blocks_spec.rb"
|
714
|
-
- "./spec/lib/http_stub/server/stub/response/body_spec.rb"
|
715
|
-
- "./spec/lib/http_stub/server/stub/response/file_body_spec.rb"
|
716
|
-
- "./spec/lib/http_stub/server/stub/response/headers_spec.rb"
|
717
|
-
- "./spec/lib/http_stub/server/stub/response/response_spec.rb"
|
718
|
-
- "./spec/lib/http_stub/server/stub/response/text_body_spec.rb"
|
719
|
-
- "./spec/lib/http_stub/server/stub/response_spec.rb"
|
711
|
+
- "./spec/lib/http_stub/server/stub/match/hash_matcher_spec.rb"
|
720
712
|
- "./spec/lib/http_stub/server/stub/stub_spec.rb"
|
721
713
|
- "./spec/lib/http_stub/server/stub/triggers_spec.rb"
|
722
|
-
- "./spec/lib/http_stub/server/
|
723
|
-
- "./spec/
|
724
|
-
- "./spec/
|
725
|
-
- "./spec/
|
726
|
-
- "./spec/
|
727
|
-
- "./spec/
|
728
|
-
- "./spec/
|
729
|
-
- "./spec/
|
730
|
-
- "./spec/
|
731
|
-
- "./spec/
|
732
|
-
- "./spec/
|
733
|
-
- "./spec/
|
734
|
-
- "./spec/
|
735
|
-
- "./spec/
|
736
|
-
- "./spec/
|
737
|
-
- "./spec/
|
738
|
-
- "./spec/
|
739
|
-
- "./spec/
|
740
|
-
- "./spec/
|
741
|
-
- "./spec/
|
742
|
-
- "./spec/
|
743
|
-
- "./spec/
|
744
|
-
- "./spec/
|
745
|
-
- "./spec/
|
746
|
-
- "./spec/
|
747
|
-
- "./spec/
|
748
|
-
- "./spec/
|
749
|
-
- "./spec/
|
750
|
-
- "./spec/
|
751
|
-
- "./spec/
|
752
|
-
- "./spec/
|
753
|
-
- "./spec/
|
754
|
-
- "./spec/
|
755
|
-
- "./spec/
|
756
|
-
- "./spec/
|
757
|
-
- "./spec/
|
758
|
-
- "./spec/
|
759
|
-
- "./spec/
|
760
|
-
- "./spec/
|
761
|
-
- "./spec/
|
762
|
-
- "./spec/
|
763
|
-
- "./spec/
|
764
|
-
- "./spec/
|
765
|
-
- "./spec/
|
714
|
+
- "./spec/lib/http_stub/server/stub/registry_spec.rb"
|
715
|
+
- "./spec/lib/http_stub/server/stub/response_spec.rb"
|
716
|
+
- "./spec/lib/http_stub/server/stub/empty_spec.rb"
|
717
|
+
- "./spec/lib/http_stub/server/stub/controller_spec.rb"
|
718
|
+
- "./spec/lib/http_stub/server/scenario_spec.rb"
|
719
|
+
- "./spec/lib/http_stub/server/request/sinatra_request_spec.rb"
|
720
|
+
- "./spec/lib/http_stub/server/request/factory_spec.rb"
|
721
|
+
- "./spec/lib/http_stub/server/request/parameters_spec.rb"
|
722
|
+
- "./spec/lib/http_stub/server/request/headers_spec.rb"
|
723
|
+
- "./spec/lib/http_stub/server/request/request_spec.rb"
|
724
|
+
- "./spec/lib/http_stub/server/application/text_formatting_support_spec.rb"
|
725
|
+
- "./spec/lib/http_stub/server/application/request_support_spec.rb"
|
726
|
+
- "./spec/lib/http_stub/server/application/session_uri_support_spec.rb"
|
727
|
+
- "./spec/lib/http_stub/server/application/request_support_integration_spec.rb"
|
728
|
+
- "./spec/lib/http_stub/server/application/application_spec.rb"
|
729
|
+
- "./spec/lib/http_stub/server/application/routes/stub_integration_spec.rb"
|
730
|
+
- "./spec/lib/http_stub/server/application/routes/memory_spec.rb"
|
731
|
+
- "./spec/lib/http_stub/server/application/routes/session_spec.rb"
|
732
|
+
- "./spec/lib/http_stub/server/application/routes/session_integration_spec.rb"
|
733
|
+
- "./spec/lib/http_stub/server/application/routes/stub_spec.rb"
|
734
|
+
- "./spec/lib/http_stub/server/application/routes/resource_spec.rb"
|
735
|
+
- "./spec/lib/http_stub/server/application/routes/status_spec.rb"
|
736
|
+
- "./spec/lib/http_stub/server/application/routes/scenario_spec.rb"
|
737
|
+
- "./spec/lib/http_stub/server/application/cross_origin_support_spec.rb"
|
738
|
+
- "./spec/lib/http_stub/server/session/session_spec.rb"
|
739
|
+
- "./spec/lib/http_stub/server/session/registry_spec.rb"
|
740
|
+
- "./spec/lib/http_stub/server/session/empty_spec.rb"
|
741
|
+
- "./spec/lib/http_stub/server/session/controller_spec.rb"
|
742
|
+
- "./spec/lib/http_stub/server/session/identifier_strategy_spec.rb"
|
743
|
+
- "./spec/lib/http_stub/extensions/sinatra/namespace_spec.rb"
|
744
|
+
- "./spec/lib/http_stub/extensions/core/object_spec.rb"
|
745
|
+
- "./spec/lib/http_stub/extensions/core/hash/indifferent_and_insensitive_access_spec.rb"
|
746
|
+
- "./spec/lib/http_stub/extensions/core/hash/formatted_spec.rb"
|
747
|
+
- "./spec/lib/http_stub/extensions/core/hash/with_indifferent_and_insensitive_access_spec.rb"
|
748
|
+
- "./spec/lib/http_stub/extensions/core/hash_spec.rb"
|
749
|
+
- "./spec/lib/http_stub/extensions/core/uri_spec.rb"
|
750
|
+
- "./spec/lib/http_stub/extensions/rack/handler_spec.rb"
|
751
|
+
- "./spec/lib/http_stub/configurator_spec.rb"
|
752
|
+
- "./spec/lib/http_stub/configurator/server_spec.rb"
|
753
|
+
- "./spec/lib/http_stub/configurator/stub_spec.rb"
|
754
|
+
- "./spec/lib/http_stub/configurator/state_spec.rb"
|
755
|
+
- "./spec/lib/http_stub/configurator/part_spec.rb"
|
756
|
+
- "./spec/lib/http_stub/configurator/stub/stub_spec.rb"
|
757
|
+
- "./spec/lib/http_stub/configurator/stub/template_spec.rb"
|
758
|
+
- "./spec/lib/http_stub/configurator/scenario_spec.rb"
|
759
|
+
- "./spec/lib/http_stub/configurator/endpoint_template_spec.rb"
|
760
|
+
- "./spec/lib/http_stub/client/session_spec.rb"
|
761
|
+
- "./spec/lib/http_stub/client/client_spec.rb"
|
762
|
+
- "./spec/lib/http_stub/client/server_spec.rb"
|
763
|
+
- "./spec/lib/http_stub/client/request_spec.rb"
|
764
|
+
- "./spec/lib/http_stub/client/request_integration_spec.rb"
|