http_stub 0.26.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/http_stub.rb +11 -9
- data/lib/http_stub/configurer/dsl/server.rb +3 -10
- data/lib/http_stub/configurer/dsl/session.rb +0 -4
- data/lib/http_stub/configurer/server/facade.rb +8 -4
- data/lib/http_stub/configurer/server/session_facade.rb +0 -7
- data/lib/http_stub/server/application/application.rb +2 -1
- data/lib/http_stub/server/application/routes/session.rb +0 -5
- data/lib/http_stub/server/application/routes/status.rb +37 -0
- data/lib/http_stub/server/daemon.rb +3 -3
- data/lib/http_stub/server/memory/memory.rb +11 -2
- data/lib/http_stub/server/session/controller.rb +0 -4
- data/lib/http_stub/server/status/controller.rb +25 -0
- data/lib/http_stub/version.rb +1 -1
- data/spec/acceptance/configurer_initialization_spec.rb +12 -2
- data/spec/acceptance/server_status_spec.rb +37 -0
- data/spec/acceptance/stub_miss_list_spec.rb +8 -1
- data/spec/lib/http_stub/configurer/dsl/server_spec.rb +4 -22
- data/spec/lib/http_stub/configurer/dsl/session_spec.rb +0 -12
- data/spec/lib/http_stub/configurer/server/facade_spec.rb +36 -8
- data/spec/lib/http_stub/configurer/server/session_facade_spec.rb +0 -51
- data/spec/lib/http_stub/server/application/routes/session_integration_spec.rb +2 -4
- data/spec/lib/http_stub/server/application/routes/session_spec.rb +0 -21
- data/spec/lib/http_stub/server/application/routes/status_spec.rb +56 -0
- data/spec/lib/http_stub/server/application/routes/stub_integration_spec.rb +2 -4
- data/spec/lib/http_stub/server/memory/memory_spec.rb +32 -0
- data/spec/lib/http_stub/server/session/controller_spec.rb +0 -12
- data/spec/lib/http_stub/server/status/controller_spec.rb +47 -0
- data/spec/support/http_stub/server/driver.rb +4 -5
- data/spec/support/http_stub/server_integration.rb +9 -4
- metadata +527 -519
@@ -16,24 +16,52 @@ describe HttpStub::Configurer::Server::Facade do
|
|
16
16
|
facade
|
17
17
|
end
|
18
18
|
|
19
|
-
describe "#
|
19
|
+
describe "#initialize_server" do
|
20
20
|
|
21
|
-
|
21
|
+
let(:request) { instance_double(HttpStub::Configurer::Request::Http::Basic) }
|
22
22
|
|
23
|
-
|
24
|
-
|
23
|
+
subject { facade.initialize_server }
|
24
|
+
|
25
|
+
before(:example) do
|
26
|
+
allow(request_processor).to receive(:flush!)
|
27
|
+
allow(HttpStub::Configurer::Request::Http::Factory).to receive(:post).and_return(request)
|
28
|
+
allow(request_processor).to receive(:submit)
|
29
|
+
end
|
30
|
+
|
31
|
+
it "causes the request processor to flush its requests" do
|
32
|
+
expect(request_processor).to receive(:flush!)
|
33
|
+
|
34
|
+
subject
|
35
|
+
end
|
36
|
+
|
37
|
+
it "creates a POST request for the initialized status endpoint" do
|
38
|
+
expect(HttpStub::Configurer::Request::Http::Factory).to(
|
39
|
+
receive(:post).with("status/initialized").and_return(request)
|
40
|
+
)
|
41
|
+
|
42
|
+
subject
|
43
|
+
end
|
44
|
+
|
45
|
+
it "submits the HTTP Stub request via the request processor" do
|
46
|
+
expect(request_processor).to receive(:submit).with(hash_including(request: request))
|
47
|
+
|
48
|
+
subject
|
49
|
+
end
|
50
|
+
|
51
|
+
it "describes the request as marking the server as initialized" do
|
52
|
+
expect(request_processor).to receive(:submit).with(hash_including(description: "marking server as initialized"))
|
25
53
|
|
26
54
|
subject
|
27
55
|
end
|
28
56
|
|
29
57
|
end
|
30
58
|
|
31
|
-
describe "#
|
59
|
+
describe "#server_has_started" do
|
32
60
|
|
33
|
-
subject { facade.
|
61
|
+
subject { facade.server_has_started }
|
34
62
|
|
35
|
-
it "informs the request processor to
|
36
|
-
expect(request_processor).to receive(:
|
63
|
+
it "informs the request processor to disable buffering requests" do
|
64
|
+
expect(request_processor).to receive(:disable_buffering!)
|
37
65
|
|
38
66
|
subject
|
39
67
|
end
|
@@ -5,57 +5,6 @@ describe HttpStub::Configurer::Server::SessionFacade do
|
|
5
5
|
|
6
6
|
let(:session_facade) { described_class.new(session_id, request_processor) }
|
7
7
|
|
8
|
-
describe "#mark_as_default" do
|
9
|
-
|
10
|
-
let(:request) { instance_double(HttpStub::Configurer::Request::Http::Basic) }
|
11
|
-
|
12
|
-
subject { session_facade.mark_as_default }
|
13
|
-
|
14
|
-
before(:example) do
|
15
|
-
allow(HttpStub::Configurer::Request::Http::Factory).to receive(:post).and_return(request)
|
16
|
-
allow(request_processor).to receive(:submit)
|
17
|
-
end
|
18
|
-
|
19
|
-
it "creates an POST request to mark the session as the default" do
|
20
|
-
expect(HttpStub::Configurer::Request::Http::Factory).to(
|
21
|
-
receive(:post).with("sessions/default", anything).and_return(request)
|
22
|
-
)
|
23
|
-
|
24
|
-
subject
|
25
|
-
end
|
26
|
-
|
27
|
-
it "creates a POST request with the session id as a parameter" do
|
28
|
-
expect(HttpStub::Configurer::Request::Http::Factory).to(
|
29
|
-
receive(:post).with(anything, http_stub_session_id: session_id).and_return(request)
|
30
|
-
)
|
31
|
-
|
32
|
-
subject
|
33
|
-
end
|
34
|
-
|
35
|
-
it "submits the request via the request processor" do
|
36
|
-
expect(request_processor).to receive(:submit).with(hash_including(request: request))
|
37
|
-
|
38
|
-
subject
|
39
|
-
end
|
40
|
-
|
41
|
-
it "describes the request as marking the session" do
|
42
|
-
expect(request_processor).to(
|
43
|
-
receive(:submit).with(hash_including(description: a_string_including("marking")))
|
44
|
-
)
|
45
|
-
|
46
|
-
subject
|
47
|
-
end
|
48
|
-
|
49
|
-
it "describes the request as scoped within the session" do
|
50
|
-
expect(request_processor).to(
|
51
|
-
receive(:submit).with(hash_including(description: a_string_including("session '#{session_id}'")))
|
52
|
-
)
|
53
|
-
|
54
|
-
subject
|
55
|
-
end
|
56
|
-
|
57
|
-
end
|
58
|
-
|
59
8
|
describe "#stub_response" do
|
60
9
|
|
61
10
|
let(:the_stub_description) { "some stub description" }
|
@@ -1,11 +1,9 @@
|
|
1
|
-
describe HttpStub::Server::Application::Routes::Session, "when
|
1
|
+
describe HttpStub::Server::Application::Routes::Session, "when an initialized server is running" do
|
2
2
|
include_context "server integration"
|
3
3
|
|
4
|
-
let(:transactional_session_id) { "http_stub_transactional" }
|
5
|
-
|
6
4
|
let(:response_document) { Nokogiri::HTML(response.body) }
|
7
5
|
|
8
|
-
before(:example) {
|
6
|
+
before(:example) { HTTParty.post("#{server_uri}/http_stub/status/initialized") }
|
9
7
|
|
10
8
|
describe "GET /http_stub" do
|
11
9
|
|
@@ -120,27 +120,6 @@ describe HttpStub::Server::Application::Routes::Session do
|
|
120
120
|
|
121
121
|
end
|
122
122
|
|
123
|
-
describe "when a request to mark a session as the default is received" do
|
124
|
-
include_context "request includes a session identifier"
|
125
|
-
|
126
|
-
subject { post "/http_stub/sessions/default" }
|
127
|
-
|
128
|
-
before(:example) { allow(session_controller).to receive(:mark_default) }
|
129
|
-
|
130
|
-
it "retrieves the session identified in the request via the stub controller" do
|
131
|
-
expect(session_controller).to receive(:mark_default).with(request)
|
132
|
-
|
133
|
-
subject
|
134
|
-
end
|
135
|
-
|
136
|
-
it "responds with a 200 status code" do
|
137
|
-
subject
|
138
|
-
|
139
|
-
expect(response.status).to eql(200)
|
140
|
-
end
|
141
|
-
|
142
|
-
end
|
143
|
-
|
144
123
|
describe "when a request to delete a session is received" do
|
145
124
|
include_context "request includes a session identifier"
|
146
125
|
|
@@ -0,0 +1,56 @@
|
|
1
|
+
describe HttpStub::Server::Application::Routes::Status do
|
2
|
+
include_context "http_stub rack application test"
|
3
|
+
|
4
|
+
let(:status_controller) { instance_double(HttpStub::Server::Status::Controller) }
|
5
|
+
|
6
|
+
before(:example) { allow(HttpStub::Server::Status::Controller).to receive(:new).and_return(status_controller) }
|
7
|
+
|
8
|
+
context "when a request to show the servers current status is received" do
|
9
|
+
|
10
|
+
let(:current_status) { "Some status" }
|
11
|
+
|
12
|
+
subject { get "/http_stub/status" }
|
13
|
+
|
14
|
+
before(:example) { allow(status_controller).to receive(:current).and_return(current_status) }
|
15
|
+
|
16
|
+
it "retrieves the servers current status via the status controller" do
|
17
|
+
expect(status_controller).to receive(:current).and_return("some status")
|
18
|
+
|
19
|
+
subject
|
20
|
+
end
|
21
|
+
|
22
|
+
it "responds with a body containing the servers current status" do
|
23
|
+
subject
|
24
|
+
|
25
|
+
expect(response.body).to eql(current_status)
|
26
|
+
end
|
27
|
+
|
28
|
+
it "responds with a 200 status code" do
|
29
|
+
subject
|
30
|
+
|
31
|
+
expect(response.status).to eql(200)
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
context "when a request to mark the server as initialized is received" do
|
37
|
+
|
38
|
+
subject { post "/http_stub/status/initialized" }
|
39
|
+
|
40
|
+
before(:example) { allow(status_controller).to receive(:initialized) }
|
41
|
+
|
42
|
+
it "marks the server as initialized via the status controller" do
|
43
|
+
expect(status_controller).to receive(:initialized)
|
44
|
+
|
45
|
+
subject
|
46
|
+
end
|
47
|
+
|
48
|
+
it "responds without error" do
|
49
|
+
subject
|
50
|
+
|
51
|
+
expect(response.status).to eql(200)
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
@@ -1,11 +1,9 @@
|
|
1
|
-
describe HttpStub::Server::Application::Routes::Stub, "when
|
1
|
+
describe HttpStub::Server::Application::Routes::Stub, "when an initialized server is running" do
|
2
2
|
include_context "server integration"
|
3
3
|
|
4
|
-
let(:transactional_session_id) { "http_stub_transactional" }
|
5
|
-
|
6
4
|
let(:response_document) { Nokogiri::HTML(response.body) }
|
7
5
|
|
8
|
-
before(:example) {
|
6
|
+
before(:example) { initialize_server }
|
9
7
|
|
10
8
|
describe "POST /http_stub/stubs" do
|
11
9
|
|
@@ -60,6 +60,26 @@ describe HttpStub::Server::Memory::Memory do
|
|
60
60
|
memory
|
61
61
|
end
|
62
62
|
|
63
|
+
describe "#status" do
|
64
|
+
|
65
|
+
subject { memory.status }
|
66
|
+
|
67
|
+
it "defaults to 'Started'" do
|
68
|
+
expect(subject).to eql("Started")
|
69
|
+
end
|
70
|
+
|
71
|
+
context "when the memory has been initialized" do
|
72
|
+
|
73
|
+
before(:example) { memory.initialized! }
|
74
|
+
|
75
|
+
it "reflects the memory is 'Initialized'" do
|
76
|
+
expect(subject).to eql("Initialized")
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
|
63
83
|
describe "#scenarios" do
|
64
84
|
|
65
85
|
subject { memory.scenarios }
|
@@ -117,6 +137,18 @@ describe HttpStub::Server::Memory::Memory do
|
|
117
137
|
subject
|
118
138
|
end
|
119
139
|
|
140
|
+
context "when the memory had been initialized" do
|
141
|
+
|
142
|
+
before(:example) { memory.initialized! }
|
143
|
+
|
144
|
+
it "resets the servers status to the default value" do
|
145
|
+
subject
|
146
|
+
|
147
|
+
expect(memory.status).to eql("Started")
|
148
|
+
end
|
149
|
+
|
150
|
+
end
|
151
|
+
|
120
152
|
end
|
121
153
|
|
122
154
|
end
|
@@ -67,18 +67,6 @@ describe HttpStub::Server::Session::Controller do
|
|
67
67
|
|
68
68
|
end
|
69
69
|
|
70
|
-
describe "#mark_default" do
|
71
|
-
|
72
|
-
subject { controller.mark_default(request) }
|
73
|
-
|
74
|
-
it "establishes the default session identifier in the servers session configuration" do
|
75
|
-
expect(session_configuration).to receive(:default_identifier=).with(session_id)
|
76
|
-
|
77
|
-
subject
|
78
|
-
end
|
79
|
-
|
80
|
-
end
|
81
|
-
|
82
70
|
describe "#delete" do
|
83
71
|
|
84
72
|
subject { controller.delete(request, logger) }
|
@@ -0,0 +1,47 @@
|
|
1
|
+
describe HttpStub::Server::Status::Controller do
|
2
|
+
|
3
|
+
let(:session_configuration) { instance_double(HttpStub::Server::Session::Configuration) }
|
4
|
+
let(:server_memory) { instance_double(HttpStub::Server::Memory::Memory) }
|
5
|
+
|
6
|
+
let(:controller) { described_class.new(session_configuration, server_memory) }
|
7
|
+
|
8
|
+
describe "#current" do
|
9
|
+
|
10
|
+
let(:current_memory_status) { "Some status" }
|
11
|
+
|
12
|
+
subject { controller.current }
|
13
|
+
|
14
|
+
before(:example) { allow(server_memory).to receive(:status).and_return(current_memory_status) }
|
15
|
+
|
16
|
+
it "returns the current status of the servers memory" do
|
17
|
+
expect(subject).to eql(current_memory_status)
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
describe "#initialized" do
|
23
|
+
|
24
|
+
subject { controller.initialized }
|
25
|
+
|
26
|
+
before(:example) do
|
27
|
+
allow(server_memory).to receive(:initialized!)
|
28
|
+
allow(session_configuration).to receive(:default_identifier=)
|
29
|
+
end
|
30
|
+
|
31
|
+
it "marks the servers memory as intialized" do
|
32
|
+
expect(server_memory).to receive(:initialized!)
|
33
|
+
|
34
|
+
subject
|
35
|
+
end
|
36
|
+
|
37
|
+
it "establishes the transactional session as the default session" do
|
38
|
+
expect(session_configuration).to(
|
39
|
+
receive(:default_identifier=).with(HttpStub::Server::Session::TRANSACTIONAL_SESSION_ID)
|
40
|
+
)
|
41
|
+
|
42
|
+
subject
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -7,7 +7,7 @@ module HttpStub
|
|
7
7
|
|
8
8
|
private_constant :DRIVERS
|
9
9
|
|
10
|
-
attr_reader :
|
10
|
+
attr_reader :session_id, :host, :port, :uri
|
11
11
|
|
12
12
|
class << self
|
13
13
|
|
@@ -37,13 +37,12 @@ module HttpStub
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
def
|
41
|
-
@
|
42
|
-
HTTParty.post("#{@uri}/http_stub/sessions/default", body: { http_stub_session_id: session_id })
|
40
|
+
def session_id=(session_id)
|
41
|
+
@session_id = session_id
|
43
42
|
end
|
44
43
|
|
45
44
|
def reset_session
|
46
|
-
HTTParty.post("#{@uri}/http_stub/stubs/reset", body: { http_stub_session_id: @
|
45
|
+
HTTParty.post("#{@uri}/http_stub/stubs/reset", body: { http_stub_session_id: @session_id })
|
47
46
|
end
|
48
47
|
|
49
48
|
def stop
|
@@ -10,12 +10,17 @@ shared_context "server integration" do
|
|
10
10
|
|
11
11
|
before(:example) { server_driver.start }
|
12
12
|
|
13
|
-
def
|
14
|
-
|
13
|
+
def initialize_server
|
14
|
+
HTTParty.post("#{server_uri}/http_stub/status/initialized")
|
15
|
+
server_driver.session_id = transactional_session_id
|
15
16
|
end
|
16
17
|
|
17
|
-
def
|
18
|
-
|
18
|
+
def transactional_session_id
|
19
|
+
"http_stub_transactional"
|
20
|
+
end
|
21
|
+
|
22
|
+
def session_id
|
23
|
+
server_driver.session_id
|
19
24
|
end
|
20
25
|
|
21
26
|
def reset_session
|
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.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dueckes
|
@@ -12,286 +12,286 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2016-10-
|
15
|
+
date: 2016-10-24 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rake
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '10.4'
|
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
30
|
version: '10.4'
|
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
37
|
version: '1.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
44
|
version: '1.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
51
|
version: '1.4'
|
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
58
|
version: '1.4'
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: sinatra-partial
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '1.0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ~>
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '1.0'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: multipart-post
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ~>
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '2.0'
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ~>
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '2.0'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: http_server_manager
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '0.
|
93
|
+
version: '0.5'
|
94
94
|
type: :runtime
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- -
|
98
|
+
- - ~>
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: '0.
|
100
|
+
version: '0.5'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: json-schema
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- -
|
105
|
+
- - ~>
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '2.7'
|
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
114
|
version: '2.7'
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: activesupport
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
|
-
- -
|
119
|
+
- - ~>
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '4.2'
|
122
122
|
type: :runtime
|
123
123
|
prerelease: false
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- -
|
126
|
+
- - ~>
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '4.2'
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
name: haml
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
132
132
|
requirements:
|
133
|
-
- -
|
133
|
+
- - ~>
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '4.0'
|
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
142
|
version: '4.0'
|
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
149
|
version: '3.4'
|
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
156
|
version: '3.4'
|
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
163
|
version: '0.44'
|
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
170
|
version: '0.44'
|
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
177
|
version: '3.5'
|
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
184
|
version: '3.5'
|
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
191
|
version: '1.6'
|
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
198
|
version: '1.6'
|
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
205
|
version: '0.14'
|
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
212
|
version: '0.14'
|
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
219
|
version: '0.6'
|
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
226
|
version: '0.6'
|
227
227
|
- !ruby/object:Gem::Dependency
|
228
228
|
name: wait_until
|
229
229
|
requirement: !ruby/object:Gem::Requirement
|
230
230
|
requirements:
|
231
|
-
- -
|
231
|
+
- - ~>
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '0.3'
|
234
234
|
type: :development
|
235
235
|
prerelease: false
|
236
236
|
version_requirements: !ruby/object:Gem::Requirement
|
237
237
|
requirements:
|
238
|
-
- -
|
238
|
+
- - ~>
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0.3'
|
241
241
|
- !ruby/object:Gem::Dependency
|
242
242
|
name: selenium-webdriver
|
243
243
|
requirement: !ruby/object:Gem::Requirement
|
244
244
|
requirements:
|
245
|
-
- -
|
245
|
+
- - ~>
|
246
246
|
- !ruby/object:Gem::Version
|
247
247
|
version: '2.53'
|
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
254
|
version: '2.53'
|
255
255
|
- !ruby/object:Gem::Dependency
|
256
256
|
name: simplecov
|
257
257
|
requirement: !ruby/object:Gem::Requirement
|
258
258
|
requirements:
|
259
|
-
- -
|
259
|
+
- - ~>
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0.12'
|
262
262
|
type: :development
|
263
263
|
prerelease: false
|
264
264
|
version_requirements: !ruby/object:Gem::Requirement
|
265
265
|
requirements:
|
266
|
-
- -
|
266
|
+
- - ~>
|
267
267
|
- !ruby/object:Gem::Version
|
268
268
|
version: '0.12'
|
269
269
|
- !ruby/object:Gem::Dependency
|
270
270
|
name: codeclimate-test-reporter
|
271
271
|
requirement: !ruby/object:Gem::Requirement
|
272
272
|
requirements:
|
273
|
-
- -
|
273
|
+
- - ~>
|
274
274
|
- !ruby/object:Gem::Version
|
275
275
|
version: '0.6'
|
276
276
|
type: :development
|
277
277
|
prerelease: false
|
278
278
|
version_requirements: !ruby/object:Gem::Requirement
|
279
279
|
requirements:
|
280
|
-
- -
|
280
|
+
- - ~>
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: '0.6'
|
283
283
|
- !ruby/object:Gem::Dependency
|
284
284
|
name: travis-lint
|
285
285
|
requirement: !ruby/object:Gem::Requirement
|
286
286
|
requirements:
|
287
|
-
- -
|
287
|
+
- - ~>
|
288
288
|
- !ruby/object:Gem::Version
|
289
289
|
version: '2.0'
|
290
290
|
type: :development
|
291
291
|
prerelease: false
|
292
292
|
version_requirements: !ruby/object:Gem::Requirement
|
293
293
|
requirements:
|
294
|
-
- -
|
294
|
+
- - ~>
|
295
295
|
- !ruby/object:Gem::Version
|
296
296
|
version: '2.0'
|
297
297
|
description: fakeweb for a HTTP server, informing it to stub / fake responses
|
@@ -300,312 +300,317 @@ executables: []
|
|
300
300
|
extensions: []
|
301
301
|
extra_rdoc_files: []
|
302
302
|
files:
|
303
|
-
-
|
304
|
-
-
|
305
|
-
-
|
306
|
-
-
|
307
|
-
-
|
308
|
-
-
|
309
|
-
-
|
310
|
-
-
|
311
|
-
-
|
312
|
-
-
|
313
|
-
-
|
314
|
-
-
|
315
|
-
-
|
316
|
-
-
|
317
|
-
-
|
318
|
-
-
|
319
|
-
-
|
320
|
-
-
|
321
|
-
-
|
322
|
-
-
|
323
|
-
-
|
324
|
-
-
|
325
|
-
-
|
326
|
-
-
|
327
|
-
-
|
328
|
-
-
|
329
|
-
-
|
330
|
-
-
|
331
|
-
-
|
332
|
-
-
|
333
|
-
-
|
334
|
-
-
|
335
|
-
-
|
336
|
-
-
|
337
|
-
-
|
338
|
-
-
|
339
|
-
-
|
340
|
-
-
|
341
|
-
-
|
342
|
-
-
|
343
|
-
-
|
344
|
-
-
|
345
|
-
-
|
346
|
-
-
|
347
|
-
-
|
348
|
-
-
|
349
|
-
-
|
350
|
-
-
|
351
|
-
-
|
352
|
-
-
|
353
|
-
-
|
354
|
-
-
|
355
|
-
-
|
356
|
-
-
|
357
|
-
-
|
358
|
-
-
|
359
|
-
-
|
360
|
-
-
|
361
|
-
-
|
362
|
-
-
|
363
|
-
-
|
364
|
-
-
|
365
|
-
-
|
366
|
-
-
|
367
|
-
-
|
368
|
-
-
|
369
|
-
-
|
370
|
-
-
|
371
|
-
-
|
372
|
-
-
|
373
|
-
-
|
374
|
-
-
|
375
|
-
-
|
376
|
-
-
|
377
|
-
-
|
378
|
-
-
|
379
|
-
-
|
380
|
-
-
|
381
|
-
-
|
382
|
-
-
|
383
|
-
-
|
384
|
-
-
|
385
|
-
-
|
386
|
-
-
|
387
|
-
-
|
388
|
-
-
|
389
|
-
-
|
390
|
-
-
|
391
|
-
-
|
392
|
-
-
|
393
|
-
-
|
394
|
-
-
|
395
|
-
-
|
396
|
-
-
|
397
|
-
-
|
398
|
-
-
|
399
|
-
-
|
400
|
-
-
|
401
|
-
-
|
402
|
-
-
|
403
|
-
-
|
404
|
-
-
|
405
|
-
-
|
406
|
-
-
|
407
|
-
-
|
408
|
-
-
|
409
|
-
-
|
410
|
-
-
|
411
|
-
-
|
412
|
-
-
|
413
|
-
-
|
414
|
-
-
|
415
|
-
-
|
416
|
-
-
|
417
|
-
-
|
418
|
-
-
|
419
|
-
-
|
420
|
-
-
|
421
|
-
-
|
422
|
-
-
|
423
|
-
-
|
424
|
-
-
|
425
|
-
-
|
426
|
-
-
|
427
|
-
-
|
428
|
-
-
|
429
|
-
-
|
430
|
-
-
|
431
|
-
-
|
432
|
-
-
|
433
|
-
-
|
434
|
-
-
|
435
|
-
-
|
436
|
-
-
|
437
|
-
-
|
438
|
-
-
|
439
|
-
-
|
440
|
-
-
|
441
|
-
-
|
442
|
-
-
|
443
|
-
-
|
444
|
-
-
|
445
|
-
-
|
446
|
-
-
|
447
|
-
-
|
448
|
-
-
|
449
|
-
-
|
450
|
-
-
|
451
|
-
-
|
452
|
-
-
|
453
|
-
-
|
454
|
-
-
|
455
|
-
-
|
456
|
-
-
|
457
|
-
-
|
458
|
-
-
|
459
|
-
-
|
460
|
-
-
|
461
|
-
-
|
462
|
-
-
|
463
|
-
-
|
464
|
-
-
|
465
|
-
-
|
466
|
-
-
|
467
|
-
-
|
468
|
-
-
|
469
|
-
-
|
470
|
-
-
|
471
|
-
-
|
472
|
-
-
|
473
|
-
-
|
474
|
-
-
|
475
|
-
-
|
476
|
-
-
|
477
|
-
-
|
478
|
-
-
|
479
|
-
-
|
480
|
-
-
|
481
|
-
-
|
482
|
-
-
|
483
|
-
-
|
484
|
-
-
|
485
|
-
-
|
486
|
-
-
|
487
|
-
-
|
488
|
-
-
|
489
|
-
-
|
490
|
-
-
|
491
|
-
-
|
492
|
-
-
|
493
|
-
-
|
494
|
-
-
|
495
|
-
-
|
496
|
-
-
|
497
|
-
-
|
498
|
-
-
|
499
|
-
-
|
500
|
-
-
|
501
|
-
-
|
502
|
-
-
|
503
|
-
-
|
504
|
-
-
|
505
|
-
-
|
506
|
-
-
|
507
|
-
-
|
508
|
-
-
|
509
|
-
-
|
510
|
-
-
|
511
|
-
-
|
512
|
-
-
|
513
|
-
-
|
514
|
-
-
|
515
|
-
-
|
516
|
-
-
|
517
|
-
-
|
518
|
-
-
|
519
|
-
-
|
520
|
-
-
|
521
|
-
-
|
522
|
-
-
|
523
|
-
-
|
524
|
-
-
|
525
|
-
-
|
526
|
-
-
|
527
|
-
-
|
528
|
-
-
|
529
|
-
-
|
530
|
-
-
|
531
|
-
-
|
532
|
-
-
|
533
|
-
-
|
534
|
-
-
|
535
|
-
-
|
536
|
-
-
|
537
|
-
-
|
538
|
-
-
|
539
|
-
-
|
540
|
-
-
|
541
|
-
-
|
542
|
-
-
|
543
|
-
-
|
544
|
-
-
|
545
|
-
-
|
546
|
-
-
|
547
|
-
-
|
548
|
-
-
|
549
|
-
-
|
550
|
-
-
|
551
|
-
-
|
552
|
-
-
|
553
|
-
-
|
554
|
-
-
|
555
|
-
-
|
556
|
-
-
|
557
|
-
-
|
558
|
-
-
|
559
|
-
-
|
560
|
-
-
|
561
|
-
-
|
562
|
-
-
|
563
|
-
-
|
564
|
-
-
|
565
|
-
-
|
566
|
-
-
|
567
|
-
-
|
568
|
-
-
|
569
|
-
-
|
570
|
-
-
|
571
|
-
-
|
572
|
-
-
|
573
|
-
-
|
574
|
-
-
|
575
|
-
-
|
576
|
-
-
|
577
|
-
-
|
578
|
-
-
|
579
|
-
-
|
580
|
-
-
|
581
|
-
-
|
582
|
-
-
|
583
|
-
-
|
584
|
-
-
|
585
|
-
-
|
586
|
-
-
|
587
|
-
-
|
588
|
-
-
|
589
|
-
-
|
590
|
-
-
|
591
|
-
-
|
592
|
-
-
|
593
|
-
-
|
594
|
-
-
|
595
|
-
-
|
596
|
-
-
|
597
|
-
-
|
598
|
-
-
|
599
|
-
-
|
600
|
-
-
|
601
|
-
-
|
602
|
-
-
|
603
|
-
-
|
604
|
-
-
|
605
|
-
-
|
606
|
-
-
|
607
|
-
-
|
608
|
-
-
|
303
|
+
- ./lib/http_stub.rb
|
304
|
+
- ./lib/http_stub/configurer.rb
|
305
|
+
- ./lib/http_stub/configurer/dsl/request_attribute_referencer.rb
|
306
|
+
- ./lib/http_stub/configurer/dsl/request_referencer.rb
|
307
|
+
- ./lib/http_stub/configurer/dsl/scenario_builder.rb
|
308
|
+
- ./lib/http_stub/configurer/dsl/server.rb
|
309
|
+
- ./lib/http_stub/configurer/dsl/server_endpoint_template.rb
|
310
|
+
- ./lib/http_stub/configurer/dsl/session.rb
|
311
|
+
- ./lib/http_stub/configurer/dsl/session_endpoint_template.rb
|
312
|
+
- ./lib/http_stub/configurer/dsl/session_factory.rb
|
313
|
+
- ./lib/http_stub/configurer/dsl/stub_builder.rb
|
314
|
+
- ./lib/http_stub/configurer/dsl/stub_builder_template.rb
|
315
|
+
- ./lib/http_stub/configurer/part.rb
|
316
|
+
- ./lib/http_stub/configurer/request/controllable_value.rb
|
317
|
+
- ./lib/http_stub/configurer/request/http/basic.rb
|
318
|
+
- ./lib/http_stub/configurer/request/http/factory.rb
|
319
|
+
- ./lib/http_stub/configurer/request/http/multipart.rb
|
320
|
+
- ./lib/http_stub/configurer/request/omittable.rb
|
321
|
+
- ./lib/http_stub/configurer/request/regexpable.rb
|
322
|
+
- ./lib/http_stub/configurer/request/scenario.rb
|
323
|
+
- ./lib/http_stub/configurer/request/stub.rb
|
324
|
+
- ./lib/http_stub/configurer/request/stub_response.rb
|
325
|
+
- ./lib/http_stub/configurer/request/stub_response_file.rb
|
326
|
+
- ./lib/http_stub/configurer/request/triggers.rb
|
327
|
+
- ./lib/http_stub/configurer/server/buffered_command_processor.rb
|
328
|
+
- ./lib/http_stub/configurer/server/command.rb
|
329
|
+
- ./lib/http_stub/configurer/server/command_processor.rb
|
330
|
+
- ./lib/http_stub/configurer/server/configuration.rb
|
331
|
+
- ./lib/http_stub/configurer/server/facade.rb
|
332
|
+
- ./lib/http_stub/configurer/server/request_processor.rb
|
333
|
+
- ./lib/http_stub/configurer/server/session_facade.rb
|
334
|
+
- ./lib/http_stub/extensions/core/hash.rb
|
335
|
+
- ./lib/http_stub/extensions/core/hash/formatted.rb
|
336
|
+
- ./lib/http_stub/extensions/core/hash/indifferent_and_insensitive_access.rb
|
337
|
+
- ./lib/http_stub/extensions/core/hash/with_indifferent_and_insensitive_access.rb
|
338
|
+
- ./lib/http_stub/extensions/core/uri.rb
|
339
|
+
- ./lib/http_stub/extensions/rack/handler.rb
|
340
|
+
- ./lib/http_stub/extensions/sinatra/namespace.rb
|
341
|
+
- ./lib/http_stub/rake/server_daemon_tasks.rb
|
342
|
+
- ./lib/http_stub/rake/server_tasks.rb
|
343
|
+
- ./lib/http_stub/rake/task_generators.rb
|
344
|
+
- ./lib/http_stub/server/application/application.rb
|
345
|
+
- ./lib/http_stub/server/application/configuration.rb
|
346
|
+
- ./lib/http_stub/server/application/cross_origin_support.rb
|
347
|
+
- ./lib/http_stub/server/application/request_support.rb
|
348
|
+
- ./lib/http_stub/server/application/response_pipeline.rb
|
349
|
+
- ./lib/http_stub/server/application/response_support.rb
|
350
|
+
- ./lib/http_stub/server/application/routes/memory.rb
|
351
|
+
- ./lib/http_stub/server/application/routes/resource.rb
|
352
|
+
- ./lib/http_stub/server/application/routes/scenario.rb
|
353
|
+
- ./lib/http_stub/server/application/routes/session.rb
|
354
|
+
- ./lib/http_stub/server/application/routes/status.rb
|
355
|
+
- ./lib/http_stub/server/application/routes/stub.rb
|
356
|
+
- ./lib/http_stub/server/application/session_uri_support.rb
|
357
|
+
- ./lib/http_stub/server/application/text_formatting_support.rb
|
358
|
+
- ./lib/http_stub/server/daemon.rb
|
359
|
+
- ./lib/http_stub/server/memory/controller.rb
|
360
|
+
- ./lib/http_stub/server/memory/memory.rb
|
361
|
+
- ./lib/http_stub/server/public/favicon.ico
|
362
|
+
- ./lib/http_stub/server/public/jquery-2.2.4.min.js
|
363
|
+
- ./lib/http_stub/server/registry.rb
|
364
|
+
- ./lib/http_stub/server/request/factory.rb
|
365
|
+
- ./lib/http_stub/server/request/headers.rb
|
366
|
+
- ./lib/http_stub/server/request/parameters.rb
|
367
|
+
- ./lib/http_stub/server/request/request.rb
|
368
|
+
- ./lib/http_stub/server/request/sinatra_request.rb
|
369
|
+
- ./lib/http_stub/server/response.rb
|
370
|
+
- ./lib/http_stub/server/scenario.rb
|
371
|
+
- ./lib/http_stub/server/scenario/controller.rb
|
372
|
+
- ./lib/http_stub/server/scenario/links.rb
|
373
|
+
- ./lib/http_stub/server/scenario/not_found_error.rb
|
374
|
+
- ./lib/http_stub/server/scenario/parser.rb
|
375
|
+
- ./lib/http_stub/server/scenario/scenario.rb
|
376
|
+
- ./lib/http_stub/server/scenario/trigger.rb
|
377
|
+
- ./lib/http_stub/server/session.rb
|
378
|
+
- ./lib/http_stub/server/session/configuration.rb
|
379
|
+
- ./lib/http_stub/server/session/controller.rb
|
380
|
+
- ./lib/http_stub/server/session/empty.rb
|
381
|
+
- ./lib/http_stub/server/session/identifier_strategy.rb
|
382
|
+
- ./lib/http_stub/server/session/registry.rb
|
383
|
+
- ./lib/http_stub/server/session/session.rb
|
384
|
+
- ./lib/http_stub/server/status/controller.rb
|
385
|
+
- ./lib/http_stub/server/stub.rb
|
386
|
+
- ./lib/http_stub/server/stub/controller.rb
|
387
|
+
- ./lib/http_stub/server/stub/empty.rb
|
388
|
+
- ./lib/http_stub/server/stub/match/controller.rb
|
389
|
+
- ./lib/http_stub/server/stub/match/exact_value_matcher.rb
|
390
|
+
- ./lib/http_stub/server/stub/match/hash_matcher.rb
|
391
|
+
- ./lib/http_stub/server/stub/match/match.rb
|
392
|
+
- ./lib/http_stub/server/stub/match/miss.rb
|
393
|
+
- ./lib/http_stub/server/stub/match/omitted_value_matcher.rb
|
394
|
+
- ./lib/http_stub/server/stub/match/regexp_value_matcher.rb
|
395
|
+
- ./lib/http_stub/server/stub/match/rule/body.rb
|
396
|
+
- ./lib/http_stub/server/stub/match/rule/headers.rb
|
397
|
+
- ./lib/http_stub/server/stub/match/rule/json_body.rb
|
398
|
+
- ./lib/http_stub/server/stub/match/rule/method.rb
|
399
|
+
- ./lib/http_stub/server/stub/match/rule/parameters.rb
|
400
|
+
- ./lib/http_stub/server/stub/match/rule/simple_body.rb
|
401
|
+
- ./lib/http_stub/server/stub/match/rule/truthy.rb
|
402
|
+
- ./lib/http_stub/server/stub/match/rule/uri.rb
|
403
|
+
- ./lib/http_stub/server/stub/match/rules.rb
|
404
|
+
- ./lib/http_stub/server/stub/match/string_value_matcher.rb
|
405
|
+
- ./lib/http_stub/server/stub/parser.rb
|
406
|
+
- ./lib/http_stub/server/stub/payload.rb
|
407
|
+
- ./lib/http_stub/server/stub/payload/base_uri_modifier.rb
|
408
|
+
- ./lib/http_stub/server/stub/payload/response_body_modifier.rb
|
409
|
+
- ./lib/http_stub/server/stub/registry.rb
|
410
|
+
- ./lib/http_stub/server/stub/response.rb
|
411
|
+
- ./lib/http_stub/server/stub/response/attribute/body.rb
|
412
|
+
- ./lib/http_stub/server/stub/response/attribute/headers.rb
|
413
|
+
- ./lib/http_stub/server/stub/response/attribute/interpolator.rb
|
414
|
+
- ./lib/http_stub/server/stub/response/attribute/interpolator/headers.rb
|
415
|
+
- ./lib/http_stub/server/stub/response/attribute/interpolator/parameters.rb
|
416
|
+
- ./lib/http_stub/server/stub/response/base.rb
|
417
|
+
- ./lib/http_stub/server/stub/response/file.rb
|
418
|
+
- ./lib/http_stub/server/stub/response/text.rb
|
419
|
+
- ./lib/http_stub/server/stub/stub.rb
|
420
|
+
- ./lib/http_stub/server/stub/triggers.rb
|
421
|
+
- ./lib/http_stub/server/views/_file_response.haml
|
422
|
+
- ./lib/http_stub/server/views/_home.haml
|
423
|
+
- ./lib/http_stub/server/views/_post_link_function.haml
|
424
|
+
- ./lib/http_stub/server/views/_request.haml
|
425
|
+
- ./lib/http_stub/server/views/_response.haml
|
426
|
+
- ./lib/http_stub/server/views/_session.haml
|
427
|
+
- ./lib/http_stub/server/views/_stub.haml
|
428
|
+
- ./lib/http_stub/server/views/_stub_match.haml
|
429
|
+
- ./lib/http_stub/server/views/_stub_miss.haml
|
430
|
+
- ./lib/http_stub/server/views/_stubs.haml
|
431
|
+
- ./lib/http_stub/server/views/_text_response.haml
|
432
|
+
- ./lib/http_stub/server/views/application.sass
|
433
|
+
- ./lib/http_stub/server/views/layout.haml
|
434
|
+
- ./lib/http_stub/server/views/matches.haml
|
435
|
+
- ./lib/http_stub/server/views/scenario.haml
|
436
|
+
- ./lib/http_stub/server/views/scenarios.haml
|
437
|
+
- ./lib/http_stub/server/views/session.haml
|
438
|
+
- ./lib/http_stub/server/views/sessions.haml
|
439
|
+
- ./lib/http_stub/server/views/stub.haml
|
440
|
+
- ./lib/http_stub/server/views/stub_matches.haml
|
441
|
+
- ./lib/http_stub/server/views/stub_misses.haml
|
442
|
+
- ./lib/http_stub/server/views/stubs.haml
|
443
|
+
- ./lib/http_stub/server/views/transactional_session.haml
|
444
|
+
- ./lib/http_stub/version.rb
|
445
|
+
- ./spec/acceptance/configurer_initialization_spec.rb
|
446
|
+
- ./spec/acceptance/configurer_part_spec.rb
|
447
|
+
- ./spec/acceptance/cross_origin_support_spec.rb
|
448
|
+
- ./spec/acceptance/endpoint_template_spec.rb
|
449
|
+
- ./spec/acceptance/request_reference_spec.rb
|
450
|
+
- ./spec/acceptance/scenario_spec.rb
|
451
|
+
- ./spec/acceptance/server_defaults_spec.rb
|
452
|
+
- ./spec/acceptance/server_memory_spec.rb
|
453
|
+
- ./spec/acceptance/server_status_spec.rb
|
454
|
+
- ./spec/acceptance/session_spec.rb
|
455
|
+
- ./spec/acceptance/stub_body_request_matching_spec.rb
|
456
|
+
- ./spec/acceptance/stub_control_values_spec.rb
|
457
|
+
- ./spec/acceptance/stub_match_last_spec.rb
|
458
|
+
- ./spec/acceptance/stub_match_list_spec.rb
|
459
|
+
- ./spec/acceptance/stub_miss_list_spec.rb
|
460
|
+
- ./spec/acceptance/stub_spec.rb
|
461
|
+
- ./spec/acceptance/stub_trigger_spec.rb
|
462
|
+
- ./spec/curl_samples.txt
|
463
|
+
- ./spec/lib/http_stub/configurer/dsl/request_attribute_referencer_spec.rb
|
464
|
+
- ./spec/lib/http_stub/configurer/dsl/request_referencer_spec.rb
|
465
|
+
- ./spec/lib/http_stub/configurer/dsl/scenario_builder_spec.rb
|
466
|
+
- ./spec/lib/http_stub/configurer/dsl/server_endpoint_template_spec.rb
|
467
|
+
- ./spec/lib/http_stub/configurer/dsl/server_spec.rb
|
468
|
+
- ./spec/lib/http_stub/configurer/dsl/session_endpoint_template_spec.rb
|
469
|
+
- ./spec/lib/http_stub/configurer/dsl/session_factory_spec.rb
|
470
|
+
- ./spec/lib/http_stub/configurer/dsl/session_spec.rb
|
471
|
+
- ./spec/lib/http_stub/configurer/dsl/stub_builder_spec.rb
|
472
|
+
- ./spec/lib/http_stub/configurer/dsl/stub_builder_template_spec.rb
|
473
|
+
- ./spec/lib/http_stub/configurer/part_spec.rb
|
474
|
+
- ./spec/lib/http_stub/configurer/request/controllable_value_spec.rb
|
475
|
+
- ./spec/lib/http_stub/configurer/request/http/basic_spec.rb
|
476
|
+
- ./spec/lib/http_stub/configurer/request/http/factory_spec.rb
|
477
|
+
- ./spec/lib/http_stub/configurer/request/http/multipart_spec.rb
|
478
|
+
- ./spec/lib/http_stub/configurer/request/omittable_spec.rb
|
479
|
+
- ./spec/lib/http_stub/configurer/request/regexpable_spec.rb
|
480
|
+
- ./spec/lib/http_stub/configurer/request/scenario_spec.rb
|
481
|
+
- ./spec/lib/http_stub/configurer/request/stub_response_spec.rb
|
482
|
+
- ./spec/lib/http_stub/configurer/request/stub_spec.rb
|
483
|
+
- ./spec/lib/http_stub/configurer/request/triggers_spec.rb
|
484
|
+
- ./spec/lib/http_stub/configurer/server/buffered_command_processor_spec.rb
|
485
|
+
- ./spec/lib/http_stub/configurer/server/command_processor_integration_spec.rb
|
486
|
+
- ./spec/lib/http_stub/configurer/server/command_spec.rb
|
487
|
+
- ./spec/lib/http_stub/configurer/server/configuration_spec.rb
|
488
|
+
- ./spec/lib/http_stub/configurer/server/facade_spec.rb
|
489
|
+
- ./spec/lib/http_stub/configurer/server/request_processor_spec.rb
|
490
|
+
- ./spec/lib/http_stub/configurer/server/session_facade_spec.rb
|
491
|
+
- ./spec/lib/http_stub/configurer_spec.rb
|
492
|
+
- ./spec/lib/http_stub/extensions/core/hash/formatted_spec.rb
|
493
|
+
- ./spec/lib/http_stub/extensions/core/hash/indifferent_and_insensitive_access_spec.rb
|
494
|
+
- ./spec/lib/http_stub/extensions/core/hash/with_indifferent_and_insensitive_access_spec.rb
|
495
|
+
- ./spec/lib/http_stub/extensions/core/hash_spec.rb
|
496
|
+
- ./spec/lib/http_stub/extensions/core/uri_spec.rb
|
497
|
+
- ./spec/lib/http_stub/extensions/rack/handler_spec.rb
|
498
|
+
- ./spec/lib/http_stub/extensions/sinatra/namespace_spec.rb
|
499
|
+
- ./spec/lib/http_stub/json_spec.rb
|
500
|
+
- ./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb
|
501
|
+
- ./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb
|
502
|
+
- ./spec/lib/http_stub/rake/server_tasks_spec.rb
|
503
|
+
- ./spec/lib/http_stub/server/application/application_spec.rb
|
504
|
+
- ./spec/lib/http_stub/server/application/configuration_spec.rb
|
505
|
+
- ./spec/lib/http_stub/server/application/cross_origin_support_spec.rb
|
506
|
+
- ./spec/lib/http_stub/server/application/request_support_integration_spec.rb
|
507
|
+
- ./spec/lib/http_stub/server/application/request_support_spec.rb
|
508
|
+
- ./spec/lib/http_stub/server/application/response_pipeline_spec.rb
|
509
|
+
- ./spec/lib/http_stub/server/application/response_support_spec.rb
|
510
|
+
- ./spec/lib/http_stub/server/application/routes/memory_spec.rb
|
511
|
+
- ./spec/lib/http_stub/server/application/routes/resource_spec.rb
|
512
|
+
- ./spec/lib/http_stub/server/application/routes/scenario_spec.rb
|
513
|
+
- ./spec/lib/http_stub/server/application/routes/session_integration_spec.rb
|
514
|
+
- ./spec/lib/http_stub/server/application/routes/session_spec.rb
|
515
|
+
- ./spec/lib/http_stub/server/application/routes/status_spec.rb
|
516
|
+
- ./spec/lib/http_stub/server/application/routes/stub_integration_spec.rb
|
517
|
+
- ./spec/lib/http_stub/server/application/routes/stub_spec.rb
|
518
|
+
- ./spec/lib/http_stub/server/application/session_uri_support_spec.rb
|
519
|
+
- ./spec/lib/http_stub/server/application/text_formatting_support_spec.rb
|
520
|
+
- ./spec/lib/http_stub/server/daemon_integration_spec.rb
|
521
|
+
- ./spec/lib/http_stub/server/daemon_spec.rb
|
522
|
+
- ./spec/lib/http_stub/server/memory/controller_spec.rb
|
523
|
+
- ./spec/lib/http_stub/server/memory/memory_spec.rb
|
524
|
+
- ./spec/lib/http_stub/server/registry_spec.rb
|
525
|
+
- ./spec/lib/http_stub/server/request/factory_spec.rb
|
526
|
+
- ./spec/lib/http_stub/server/request/headers_spec.rb
|
527
|
+
- ./spec/lib/http_stub/server/request/parameters_spec.rb
|
528
|
+
- ./spec/lib/http_stub/server/request/request_spec.rb
|
529
|
+
- ./spec/lib/http_stub/server/request/sinatra_request_spec.rb
|
530
|
+
- ./spec/lib/http_stub/server/response_spec.rb
|
531
|
+
- ./spec/lib/http_stub/server/scenario/controller_spec.rb
|
532
|
+
- ./spec/lib/http_stub/server/scenario/links_spec.rb
|
533
|
+
- ./spec/lib/http_stub/server/scenario/not_found_error_spec.rb
|
534
|
+
- ./spec/lib/http_stub/server/scenario/parser_spec.rb
|
535
|
+
- ./spec/lib/http_stub/server/scenario/scenario_spec.rb
|
536
|
+
- ./spec/lib/http_stub/server/scenario/trigger_spec.rb
|
537
|
+
- ./spec/lib/http_stub/server/scenario_spec.rb
|
538
|
+
- ./spec/lib/http_stub/server/session/configuration_spec.rb
|
539
|
+
- ./spec/lib/http_stub/server/session/controller_spec.rb
|
540
|
+
- ./spec/lib/http_stub/server/session/empty_spec.rb
|
541
|
+
- ./spec/lib/http_stub/server/session/identifier_strategy_spec.rb
|
542
|
+
- ./spec/lib/http_stub/server/session/registry_spec.rb
|
543
|
+
- ./spec/lib/http_stub/server/session/session_spec.rb
|
544
|
+
- ./spec/lib/http_stub/server/status/controller_spec.rb
|
545
|
+
- ./spec/lib/http_stub/server/stub/controller_spec.rb
|
546
|
+
- ./spec/lib/http_stub/server/stub/empty_spec.rb
|
547
|
+
- ./spec/lib/http_stub/server/stub/match/controller_spec.rb
|
548
|
+
- ./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb
|
549
|
+
- ./spec/lib/http_stub/server/stub/match/hash_matcher_spec.rb
|
550
|
+
- ./spec/lib/http_stub/server/stub/match/match_spec.rb
|
551
|
+
- ./spec/lib/http_stub/server/stub/match/miss_spec.rb
|
552
|
+
- ./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb
|
553
|
+
- ./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb
|
554
|
+
- ./spec/lib/http_stub/server/stub/match/rule/body_spec.rb
|
555
|
+
- ./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb
|
556
|
+
- ./spec/lib/http_stub/server/stub/match/rule/json_body_spec.rb
|
557
|
+
- ./spec/lib/http_stub/server/stub/match/rule/method_spec.rb
|
558
|
+
- ./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb
|
559
|
+
- ./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb
|
560
|
+
- ./spec/lib/http_stub/server/stub/match/rule/truthy_spec.rb
|
561
|
+
- ./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb
|
562
|
+
- ./spec/lib/http_stub/server/stub/match/rules_spec.rb
|
563
|
+
- ./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb
|
564
|
+
- ./spec/lib/http_stub/server/stub/parser_spec.rb
|
565
|
+
- ./spec/lib/http_stub/server/stub/payload/base_uri_modifier_spec.rb
|
566
|
+
- ./spec/lib/http_stub/server/stub/payload/response_body_modifier_spec.rb
|
567
|
+
- ./spec/lib/http_stub/server/stub/payload_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/attribute/body_spec.rb
|
571
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/headers_spec.rb
|
572
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/interpolator/headers_spec.rb
|
573
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/interpolator/parameters_spec.rb
|
574
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/interpolator_spec.rb
|
575
|
+
- ./spec/lib/http_stub/server/stub/response/base_spec.rb
|
576
|
+
- ./spec/lib/http_stub/server/stub/response/file_spec.rb
|
577
|
+
- ./spec/lib/http_stub/server/stub/response/text_spec.rb
|
578
|
+
- ./spec/lib/http_stub/server/stub/response_spec.rb
|
579
|
+
- ./spec/lib/http_stub/server/stub/stub_spec.rb
|
580
|
+
- ./spec/lib/http_stub/server/stub/triggers_spec.rb
|
581
|
+
- ./spec/lib/http_stub/server/stub_spec.rb
|
582
|
+
- ./spec/resources/sample.pdf
|
583
|
+
- ./spec/resources/sample.txt
|
584
|
+
- ./spec/spec_helper.rb
|
585
|
+
- ./spec/support/browser_integration.rb
|
586
|
+
- ./spec/support/contain_file.rb
|
587
|
+
- ./spec/support/cross_origin_server/application.rb
|
588
|
+
- ./spec/support/cross_origin_server/index_page.rb
|
589
|
+
- ./spec/support/cross_origin_server/integration.rb
|
590
|
+
- ./spec/support/cross_origin_server/public/index.html
|
591
|
+
- ./spec/support/html_helpers.rb
|
592
|
+
- ./spec/support/http_stub/configurer_integration.rb
|
593
|
+
- ./spec/support/http_stub/empty_configurer.rb
|
594
|
+
- ./spec/support/http_stub/html_view_excluding_request_details.rb
|
595
|
+
- ./spec/support/http_stub/html_view_including_request_details.rb
|
596
|
+
- ./spec/support/http_stub/scenario_fixture.rb
|
597
|
+
- ./spec/support/http_stub/server/application/http_stub_rack_application_test.rb
|
598
|
+
- ./spec/support/http_stub/server/driver.rb
|
599
|
+
- ./spec/support/http_stub/server/memory_fixture.rb
|
600
|
+
- ./spec/support/http_stub/server/request_fixture.rb
|
601
|
+
- ./spec/support/http_stub/server/scenario_fixture.rb
|
602
|
+
- ./spec/support/http_stub/server/session_fixture.rb
|
603
|
+
- ./spec/support/http_stub/server/stub/match/match_fixture.rb
|
604
|
+
- ./spec/support/http_stub/server/stub/match/miss_fixture.rb
|
605
|
+
- ./spec/support/http_stub/server_integration.rb
|
606
|
+
- ./spec/support/http_stub/stub_fixture.rb
|
607
|
+
- ./spec/support/http_stub/stub_registrator.rb
|
608
|
+
- ./spec/support/include_in_json.rb
|
609
|
+
- ./spec/support/rack/rack_application_test.rb
|
610
|
+
- ./spec/support/rack/request_fixture.rb
|
611
|
+
- ./spec/support/surpressed_output.rb
|
612
|
+
- ./spec/tmp/log/json_stub_console.log
|
613
|
+
- ./spec/tmp/pids/json_stub.pid
|
609
614
|
homepage: http://github.com/MYOB-Technology/http_stub
|
610
615
|
licenses:
|
611
616
|
- MIT
|
@@ -616,184 +621,187 @@ require_paths:
|
|
616
621
|
- lib
|
617
622
|
required_ruby_version: !ruby/object:Gem::Requirement
|
618
623
|
requirements:
|
619
|
-
- -
|
624
|
+
- - '>='
|
620
625
|
- !ruby/object:Gem::Version
|
621
626
|
version: '2.0'
|
622
627
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
623
628
|
requirements:
|
624
|
-
- -
|
629
|
+
- - '>='
|
625
630
|
- !ruby/object:Gem::Version
|
626
631
|
version: '0'
|
627
632
|
requirements: []
|
628
633
|
rubyforge_project: http_stub
|
629
|
-
rubygems_version: 2.
|
634
|
+
rubygems_version: 2.4.8
|
630
635
|
signing_key:
|
631
636
|
specification_version: 4
|
632
637
|
summary: A HTTP Server replaying configured stub responses
|
633
638
|
test_files:
|
634
|
-
-
|
635
|
-
-
|
636
|
-
-
|
637
|
-
-
|
638
|
-
-
|
639
|
-
-
|
640
|
-
-
|
641
|
-
-
|
642
|
-
-
|
643
|
-
-
|
644
|
-
-
|
645
|
-
-
|
646
|
-
-
|
647
|
-
-
|
648
|
-
-
|
649
|
-
-
|
650
|
-
-
|
651
|
-
-
|
652
|
-
-
|
653
|
-
-
|
654
|
-
-
|
655
|
-
-
|
656
|
-
-
|
657
|
-
-
|
658
|
-
-
|
659
|
-
-
|
660
|
-
-
|
661
|
-
-
|
662
|
-
-
|
663
|
-
-
|
664
|
-
-
|
665
|
-
-
|
666
|
-
-
|
667
|
-
-
|
668
|
-
-
|
669
|
-
-
|
670
|
-
-
|
671
|
-
-
|
672
|
-
-
|
673
|
-
-
|
674
|
-
-
|
675
|
-
-
|
676
|
-
-
|
677
|
-
-
|
678
|
-
-
|
679
|
-
-
|
680
|
-
-
|
681
|
-
-
|
682
|
-
-
|
683
|
-
-
|
684
|
-
-
|
685
|
-
-
|
686
|
-
-
|
687
|
-
-
|
688
|
-
-
|
689
|
-
-
|
690
|
-
-
|
691
|
-
-
|
692
|
-
-
|
693
|
-
-
|
694
|
-
-
|
695
|
-
-
|
696
|
-
-
|
697
|
-
-
|
698
|
-
-
|
699
|
-
-
|
700
|
-
-
|
701
|
-
-
|
702
|
-
-
|
703
|
-
-
|
704
|
-
-
|
705
|
-
-
|
706
|
-
-
|
707
|
-
-
|
708
|
-
-
|
709
|
-
-
|
710
|
-
-
|
711
|
-
-
|
712
|
-
-
|
713
|
-
-
|
714
|
-
-
|
715
|
-
-
|
716
|
-
-
|
717
|
-
-
|
718
|
-
-
|
719
|
-
-
|
720
|
-
-
|
721
|
-
-
|
722
|
-
-
|
723
|
-
-
|
724
|
-
-
|
725
|
-
-
|
726
|
-
-
|
727
|
-
-
|
728
|
-
-
|
729
|
-
-
|
730
|
-
-
|
731
|
-
-
|
732
|
-
-
|
733
|
-
-
|
734
|
-
-
|
735
|
-
-
|
736
|
-
-
|
737
|
-
-
|
738
|
-
-
|
739
|
-
-
|
740
|
-
-
|
741
|
-
-
|
742
|
-
-
|
743
|
-
-
|
744
|
-
-
|
745
|
-
-
|
746
|
-
-
|
747
|
-
-
|
748
|
-
-
|
749
|
-
-
|
750
|
-
-
|
751
|
-
-
|
752
|
-
-
|
753
|
-
-
|
754
|
-
-
|
755
|
-
-
|
756
|
-
-
|
757
|
-
-
|
758
|
-
-
|
759
|
-
-
|
760
|
-
-
|
761
|
-
-
|
762
|
-
-
|
763
|
-
-
|
764
|
-
-
|
765
|
-
-
|
766
|
-
-
|
767
|
-
-
|
768
|
-
-
|
769
|
-
-
|
770
|
-
-
|
771
|
-
-
|
772
|
-
-
|
773
|
-
-
|
774
|
-
-
|
775
|
-
-
|
776
|
-
-
|
777
|
-
-
|
778
|
-
-
|
779
|
-
-
|
780
|
-
-
|
781
|
-
-
|
782
|
-
-
|
783
|
-
-
|
784
|
-
-
|
785
|
-
-
|
786
|
-
-
|
787
|
-
-
|
788
|
-
-
|
789
|
-
-
|
790
|
-
-
|
791
|
-
-
|
792
|
-
-
|
793
|
-
-
|
794
|
-
-
|
795
|
-
-
|
796
|
-
-
|
797
|
-
-
|
798
|
-
-
|
799
|
-
-
|
639
|
+
- ./spec/acceptance/configurer_initialization_spec.rb
|
640
|
+
- ./spec/acceptance/configurer_part_spec.rb
|
641
|
+
- ./spec/acceptance/cross_origin_support_spec.rb
|
642
|
+
- ./spec/acceptance/endpoint_template_spec.rb
|
643
|
+
- ./spec/acceptance/request_reference_spec.rb
|
644
|
+
- ./spec/acceptance/scenario_spec.rb
|
645
|
+
- ./spec/acceptance/server_defaults_spec.rb
|
646
|
+
- ./spec/acceptance/server_memory_spec.rb
|
647
|
+
- ./spec/acceptance/server_status_spec.rb
|
648
|
+
- ./spec/acceptance/session_spec.rb
|
649
|
+
- ./spec/acceptance/stub_body_request_matching_spec.rb
|
650
|
+
- ./spec/acceptance/stub_control_values_spec.rb
|
651
|
+
- ./spec/acceptance/stub_match_last_spec.rb
|
652
|
+
- ./spec/acceptance/stub_match_list_spec.rb
|
653
|
+
- ./spec/acceptance/stub_miss_list_spec.rb
|
654
|
+
- ./spec/acceptance/stub_spec.rb
|
655
|
+
- ./spec/acceptance/stub_trigger_spec.rb
|
656
|
+
- ./spec/curl_samples.txt
|
657
|
+
- ./spec/lib/http_stub/configurer/dsl/request_attribute_referencer_spec.rb
|
658
|
+
- ./spec/lib/http_stub/configurer/dsl/request_referencer_spec.rb
|
659
|
+
- ./spec/lib/http_stub/configurer/dsl/scenario_builder_spec.rb
|
660
|
+
- ./spec/lib/http_stub/configurer/dsl/server_endpoint_template_spec.rb
|
661
|
+
- ./spec/lib/http_stub/configurer/dsl/server_spec.rb
|
662
|
+
- ./spec/lib/http_stub/configurer/dsl/session_endpoint_template_spec.rb
|
663
|
+
- ./spec/lib/http_stub/configurer/dsl/session_factory_spec.rb
|
664
|
+
- ./spec/lib/http_stub/configurer/dsl/session_spec.rb
|
665
|
+
- ./spec/lib/http_stub/configurer/dsl/stub_builder_spec.rb
|
666
|
+
- ./spec/lib/http_stub/configurer/dsl/stub_builder_template_spec.rb
|
667
|
+
- ./spec/lib/http_stub/configurer/part_spec.rb
|
668
|
+
- ./spec/lib/http_stub/configurer/request/controllable_value_spec.rb
|
669
|
+
- ./spec/lib/http_stub/configurer/request/http/basic_spec.rb
|
670
|
+
- ./spec/lib/http_stub/configurer/request/http/factory_spec.rb
|
671
|
+
- ./spec/lib/http_stub/configurer/request/http/multipart_spec.rb
|
672
|
+
- ./spec/lib/http_stub/configurer/request/omittable_spec.rb
|
673
|
+
- ./spec/lib/http_stub/configurer/request/regexpable_spec.rb
|
674
|
+
- ./spec/lib/http_stub/configurer/request/scenario_spec.rb
|
675
|
+
- ./spec/lib/http_stub/configurer/request/stub_response_spec.rb
|
676
|
+
- ./spec/lib/http_stub/configurer/request/stub_spec.rb
|
677
|
+
- ./spec/lib/http_stub/configurer/request/triggers_spec.rb
|
678
|
+
- ./spec/lib/http_stub/configurer/server/buffered_command_processor_spec.rb
|
679
|
+
- ./spec/lib/http_stub/configurer/server/command_processor_integration_spec.rb
|
680
|
+
- ./spec/lib/http_stub/configurer/server/command_spec.rb
|
681
|
+
- ./spec/lib/http_stub/configurer/server/configuration_spec.rb
|
682
|
+
- ./spec/lib/http_stub/configurer/server/facade_spec.rb
|
683
|
+
- ./spec/lib/http_stub/configurer/server/request_processor_spec.rb
|
684
|
+
- ./spec/lib/http_stub/configurer/server/session_facade_spec.rb
|
685
|
+
- ./spec/lib/http_stub/configurer_spec.rb
|
686
|
+
- ./spec/lib/http_stub/extensions/core/hash/formatted_spec.rb
|
687
|
+
- ./spec/lib/http_stub/extensions/core/hash/indifferent_and_insensitive_access_spec.rb
|
688
|
+
- ./spec/lib/http_stub/extensions/core/hash/with_indifferent_and_insensitive_access_spec.rb
|
689
|
+
- ./spec/lib/http_stub/extensions/core/hash_spec.rb
|
690
|
+
- ./spec/lib/http_stub/extensions/core/uri_spec.rb
|
691
|
+
- ./spec/lib/http_stub/extensions/rack/handler_spec.rb
|
692
|
+
- ./spec/lib/http_stub/extensions/sinatra/namespace_spec.rb
|
693
|
+
- ./spec/lib/http_stub/json_spec.rb
|
694
|
+
- ./spec/lib/http_stub/rake/server_daemon_tasks_smoke_spec.rb
|
695
|
+
- ./spec/lib/http_stub/rake/server_tasks_smoke_spec.rb
|
696
|
+
- ./spec/lib/http_stub/rake/server_tasks_spec.rb
|
697
|
+
- ./spec/lib/http_stub/server/application/application_spec.rb
|
698
|
+
- ./spec/lib/http_stub/server/application/configuration_spec.rb
|
699
|
+
- ./spec/lib/http_stub/server/application/cross_origin_support_spec.rb
|
700
|
+
- ./spec/lib/http_stub/server/application/request_support_integration_spec.rb
|
701
|
+
- ./spec/lib/http_stub/server/application/request_support_spec.rb
|
702
|
+
- ./spec/lib/http_stub/server/application/response_pipeline_spec.rb
|
703
|
+
- ./spec/lib/http_stub/server/application/response_support_spec.rb
|
704
|
+
- ./spec/lib/http_stub/server/application/routes/memory_spec.rb
|
705
|
+
- ./spec/lib/http_stub/server/application/routes/resource_spec.rb
|
706
|
+
- ./spec/lib/http_stub/server/application/routes/scenario_spec.rb
|
707
|
+
- ./spec/lib/http_stub/server/application/routes/session_integration_spec.rb
|
708
|
+
- ./spec/lib/http_stub/server/application/routes/session_spec.rb
|
709
|
+
- ./spec/lib/http_stub/server/application/routes/status_spec.rb
|
710
|
+
- ./spec/lib/http_stub/server/application/routes/stub_integration_spec.rb
|
711
|
+
- ./spec/lib/http_stub/server/application/routes/stub_spec.rb
|
712
|
+
- ./spec/lib/http_stub/server/application/session_uri_support_spec.rb
|
713
|
+
- ./spec/lib/http_stub/server/application/text_formatting_support_spec.rb
|
714
|
+
- ./spec/lib/http_stub/server/daemon_integration_spec.rb
|
715
|
+
- ./spec/lib/http_stub/server/daemon_spec.rb
|
716
|
+
- ./spec/lib/http_stub/server/memory/controller_spec.rb
|
717
|
+
- ./spec/lib/http_stub/server/memory/memory_spec.rb
|
718
|
+
- ./spec/lib/http_stub/server/registry_spec.rb
|
719
|
+
- ./spec/lib/http_stub/server/request/factory_spec.rb
|
720
|
+
- ./spec/lib/http_stub/server/request/headers_spec.rb
|
721
|
+
- ./spec/lib/http_stub/server/request/parameters_spec.rb
|
722
|
+
- ./spec/lib/http_stub/server/request/request_spec.rb
|
723
|
+
- ./spec/lib/http_stub/server/request/sinatra_request_spec.rb
|
724
|
+
- ./spec/lib/http_stub/server/response_spec.rb
|
725
|
+
- ./spec/lib/http_stub/server/scenario/controller_spec.rb
|
726
|
+
- ./spec/lib/http_stub/server/scenario/links_spec.rb
|
727
|
+
- ./spec/lib/http_stub/server/scenario/not_found_error_spec.rb
|
728
|
+
- ./spec/lib/http_stub/server/scenario/parser_spec.rb
|
729
|
+
- ./spec/lib/http_stub/server/scenario/scenario_spec.rb
|
730
|
+
- ./spec/lib/http_stub/server/scenario/trigger_spec.rb
|
731
|
+
- ./spec/lib/http_stub/server/scenario_spec.rb
|
732
|
+
- ./spec/lib/http_stub/server/session/configuration_spec.rb
|
733
|
+
- ./spec/lib/http_stub/server/session/controller_spec.rb
|
734
|
+
- ./spec/lib/http_stub/server/session/empty_spec.rb
|
735
|
+
- ./spec/lib/http_stub/server/session/identifier_strategy_spec.rb
|
736
|
+
- ./spec/lib/http_stub/server/session/registry_spec.rb
|
737
|
+
- ./spec/lib/http_stub/server/session/session_spec.rb
|
738
|
+
- ./spec/lib/http_stub/server/status/controller_spec.rb
|
739
|
+
- ./spec/lib/http_stub/server/stub/controller_spec.rb
|
740
|
+
- ./spec/lib/http_stub/server/stub/empty_spec.rb
|
741
|
+
- ./spec/lib/http_stub/server/stub/match/controller_spec.rb
|
742
|
+
- ./spec/lib/http_stub/server/stub/match/exact_value_matcher_spec.rb
|
743
|
+
- ./spec/lib/http_stub/server/stub/match/hash_matcher_spec.rb
|
744
|
+
- ./spec/lib/http_stub/server/stub/match/match_spec.rb
|
745
|
+
- ./spec/lib/http_stub/server/stub/match/miss_spec.rb
|
746
|
+
- ./spec/lib/http_stub/server/stub/match/omitted_value_matcher_spec.rb
|
747
|
+
- ./spec/lib/http_stub/server/stub/match/regexp_value_matcher_spec.rb
|
748
|
+
- ./spec/lib/http_stub/server/stub/match/rule/body_spec.rb
|
749
|
+
- ./spec/lib/http_stub/server/stub/match/rule/headers_spec.rb
|
750
|
+
- ./spec/lib/http_stub/server/stub/match/rule/json_body_spec.rb
|
751
|
+
- ./spec/lib/http_stub/server/stub/match/rule/method_spec.rb
|
752
|
+
- ./spec/lib/http_stub/server/stub/match/rule/parameters_spec.rb
|
753
|
+
- ./spec/lib/http_stub/server/stub/match/rule/simple_body_spec.rb
|
754
|
+
- ./spec/lib/http_stub/server/stub/match/rule/truthy_spec.rb
|
755
|
+
- ./spec/lib/http_stub/server/stub/match/rule/uri_spec.rb
|
756
|
+
- ./spec/lib/http_stub/server/stub/match/rules_spec.rb
|
757
|
+
- ./spec/lib/http_stub/server/stub/match/string_value_matcher_spec.rb
|
758
|
+
- ./spec/lib/http_stub/server/stub/parser_spec.rb
|
759
|
+
- ./spec/lib/http_stub/server/stub/payload/base_uri_modifier_spec.rb
|
760
|
+
- ./spec/lib/http_stub/server/stub/payload/response_body_modifier_spec.rb
|
761
|
+
- ./spec/lib/http_stub/server/stub/payload_spec.rb
|
762
|
+
- ./spec/lib/http_stub/server/stub/registry_integration_spec.rb
|
763
|
+
- ./spec/lib/http_stub/server/stub/registry_spec.rb
|
764
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/body_spec.rb
|
765
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/headers_spec.rb
|
766
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/interpolator/headers_spec.rb
|
767
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/interpolator/parameters_spec.rb
|
768
|
+
- ./spec/lib/http_stub/server/stub/response/attribute/interpolator_spec.rb
|
769
|
+
- ./spec/lib/http_stub/server/stub/response/base_spec.rb
|
770
|
+
- ./spec/lib/http_stub/server/stub/response/file_spec.rb
|
771
|
+
- ./spec/lib/http_stub/server/stub/response/text_spec.rb
|
772
|
+
- ./spec/lib/http_stub/server/stub/response_spec.rb
|
773
|
+
- ./spec/lib/http_stub/server/stub/stub_spec.rb
|
774
|
+
- ./spec/lib/http_stub/server/stub/triggers_spec.rb
|
775
|
+
- ./spec/lib/http_stub/server/stub_spec.rb
|
776
|
+
- ./spec/resources/sample.pdf
|
777
|
+
- ./spec/resources/sample.txt
|
778
|
+
- ./spec/spec_helper.rb
|
779
|
+
- ./spec/support/browser_integration.rb
|
780
|
+
- ./spec/support/contain_file.rb
|
781
|
+
- ./spec/support/cross_origin_server/application.rb
|
782
|
+
- ./spec/support/cross_origin_server/index_page.rb
|
783
|
+
- ./spec/support/cross_origin_server/integration.rb
|
784
|
+
- ./spec/support/cross_origin_server/public/index.html
|
785
|
+
- ./spec/support/html_helpers.rb
|
786
|
+
- ./spec/support/http_stub/configurer_integration.rb
|
787
|
+
- ./spec/support/http_stub/empty_configurer.rb
|
788
|
+
- ./spec/support/http_stub/html_view_excluding_request_details.rb
|
789
|
+
- ./spec/support/http_stub/html_view_including_request_details.rb
|
790
|
+
- ./spec/support/http_stub/scenario_fixture.rb
|
791
|
+
- ./spec/support/http_stub/server/application/http_stub_rack_application_test.rb
|
792
|
+
- ./spec/support/http_stub/server/driver.rb
|
793
|
+
- ./spec/support/http_stub/server/memory_fixture.rb
|
794
|
+
- ./spec/support/http_stub/server/request_fixture.rb
|
795
|
+
- ./spec/support/http_stub/server/scenario_fixture.rb
|
796
|
+
- ./spec/support/http_stub/server/session_fixture.rb
|
797
|
+
- ./spec/support/http_stub/server/stub/match/match_fixture.rb
|
798
|
+
- ./spec/support/http_stub/server/stub/match/miss_fixture.rb
|
799
|
+
- ./spec/support/http_stub/server_integration.rb
|
800
|
+
- ./spec/support/http_stub/stub_fixture.rb
|
801
|
+
- ./spec/support/http_stub/stub_registrator.rb
|
802
|
+
- ./spec/support/include_in_json.rb
|
803
|
+
- ./spec/support/rack/rack_application_test.rb
|
804
|
+
- ./spec/support/rack/request_fixture.rb
|
805
|
+
- ./spec/support/surpressed_output.rb
|
806
|
+
- ./spec/tmp/log/json_stub_console.log
|
807
|
+
- ./spec/tmp/pids/json_stub.pid
|