lhc 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +36 -0
- data/Gemfile +11 -0
- data/README.md +116 -0
- data/Rakefile +25 -0
- data/docs/configuration.md +57 -0
- data/docs/exceptions.md +68 -0
- data/docs/interceptors.md +90 -0
- data/docs/request.md +24 -0
- data/docs/response.md +19 -0
- data/lhc.gemspec +30 -0
- data/lib/lhc.rb +16 -0
- data/lib/lhc/concerns/lhc/basic_methods.rb +42 -0
- data/lib/lhc/config.rb +45 -0
- data/lib/lhc/endpoint.rb +53 -0
- data/lib/lhc/error.rb +63 -0
- data/lib/lhc/errors/client_error.rb +73 -0
- data/lib/lhc/errors/server_error.rb +28 -0
- data/lib/lhc/errors/timeout.rb +4 -0
- data/lib/lhc/errors/unknown_error.rb +4 -0
- data/lib/lhc/interceptor.rb +9 -0
- data/lib/lhc/interceptor_processor.rb +24 -0
- data/lib/lhc/request.rb +91 -0
- data/lib/lhc/response.rb +52 -0
- data/lib/lhc/version.rb +3 -0
- data/script/ci/build.sh +19 -0
- data/spec/basic_methods/delete_spec.rb +34 -0
- data/spec/basic_methods/get_spec.rb +37 -0
- data/spec/basic_methods/post_spec.rb +42 -0
- data/spec/basic_methods/put_spec.rb +48 -0
- data/spec/basic_methods/request_spec.rb +19 -0
- data/spec/config/endpoints_spec.rb +49 -0
- data/spec/config/placeholders_spec.rb +32 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +14 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +34 -0
- data/spec/dummy/config/environments/production.rb +75 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +56 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/endpoint/compile_spec.rb +25 -0
- data/spec/endpoint/placeholders_spec.rb +14 -0
- data/spec/endpoint/remove_interpolated_params_spec.rb +16 -0
- data/spec/error/find_spec.rb +56 -0
- data/spec/error/response_spec.rb +17 -0
- data/spec/error/timeout_spec.rb +14 -0
- data/spec/interceptors/after_request_spec.rb +21 -0
- data/spec/interceptors/after_response_spec.rb +42 -0
- data/spec/interceptors/before_request_spec.rb +21 -0
- data/spec/interceptors/before_response_spec.rb +21 -0
- data/spec/interceptors/default_interceptors_spec.rb +15 -0
- data/spec/interceptors/define_spec.rb +29 -0
- data/spec/interceptors/response_competition_spec.rb +40 -0
- data/spec/interceptors/return_response_spec.rb +39 -0
- data/spec/rails_helper.rb +4 -0
- data/spec/request/error_handling_spec.rb +52 -0
- data/spec/request/headers_spec.rb +11 -0
- data/spec/request/option_dup_spec.rb +12 -0
- data/spec/request/parallel_requests_spec.rb +15 -0
- data/spec/request/url_patterns_spec.rb +19 -0
- data/spec/response/body_spec.rb +16 -0
- data/spec/response/code_spec.rb +16 -0
- data/spec/response/data_spec.rb +18 -0
- data/spec/response/headers_spec.rb +18 -0
- data/spec/response/success_spec.rb +12 -0
- data/spec/response/time_spec.rb +16 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/support/fixtures/json/feedback.json +11 -0
- data/spec/support/fixtures/json/feedbacks.json +164 -0
- data/spec/support/fixtures/json/localina_content_ad.json +23 -0
- data/spec/support/load_json.rb +3 -0
- data/spec/support/reset_config.rb +7 -0
- data/spec/timeouts/no_signal_spec.rb +13 -0
- data/spec/timeouts/timings_spec.rb +59 -0
- metadata +313 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"href": "http://datastore-stg.lb-service.sunrise.intra.local.ch/v2/content-ads/51dfc5690cf271c375c5a12d",
|
3
|
+
"id": "51dfc5690cf271c375c5a12d",
|
4
|
+
"product": "BKE",
|
5
|
+
"hidden": false,
|
6
|
+
"contract_type": "published",
|
7
|
+
"source_id": "123",
|
8
|
+
"phone_number": "0041562227764",
|
9
|
+
"type": "LOCALINA",
|
10
|
+
"feedbacks": {
|
11
|
+
"href": "http://datastore-stg.lb-service.sunrise.intra.local.ch/v2/content-ads/51dfc5690cf271c375c5a12d/feedbacks?exclude_hidden=false&offset=0&limit=10"
|
12
|
+
},
|
13
|
+
"aggregated_feedback": {
|
14
|
+
"recommendation": 1,
|
15
|
+
"number_of_feedbacks": 2,
|
16
|
+
"number_of_reviews": 0,
|
17
|
+
"number_of_ratings": 0
|
18
|
+
},
|
19
|
+
"online_booking": {
|
20
|
+
"max_persons_plus_sign": true,
|
21
|
+
"max_persons_per_reservation": 8
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
describe LHC::Request do
|
4
|
+
|
5
|
+
context 'timeouts' do
|
6
|
+
|
7
|
+
it 'has no_signal options set to true by default' do
|
8
|
+
expect_any_instance_of(Ethon::Easy).to receive(:http_request).with(anything(), anything(), hash_including(:nosignal => true)).and_call_original
|
9
|
+
stub_request(:get, "http://local.ch/")
|
10
|
+
LHC.get('http://local.ch')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
describe LHC::Request do
|
4
|
+
|
5
|
+
context 'timeouts' do
|
6
|
+
|
7
|
+
context "when timeout is not a whole number and timeout_ms is not set" do
|
8
|
+
|
9
|
+
let(:options) { {:timeout => 0.1} }
|
10
|
+
|
11
|
+
it "ceils timeout and sets timeout_ms" do
|
12
|
+
expect_any_instance_of(Ethon::Easy).to receive(:http_request)
|
13
|
+
.with(anything(), anything(), hash_including(:timeout_ms => 100, :timeout => 1))
|
14
|
+
.and_call_original
|
15
|
+
stub_request(:get, "http://local.ch/")
|
16
|
+
LHC.get('http://local.ch', options)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context "when timeout is not a whole number and timeout_ms is set" do
|
21
|
+
|
22
|
+
let(:options) { {:timeout => 0.1, :timeout_ms => 123} }
|
23
|
+
|
24
|
+
it "ceils timeout and does not change timeout_ms" do
|
25
|
+
expect_any_instance_of(Ethon::Easy).to receive(:http_request)
|
26
|
+
.with(anything(), anything(), hash_including(:timeout_ms => 123, :timeout => 1))
|
27
|
+
.and_call_original
|
28
|
+
stub_request(:get, "http://local.ch/")
|
29
|
+
LHC.get('http://local.ch', options)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
context "when connecttimeout is not a whole number and connecttimeout_ms is not set" do
|
34
|
+
|
35
|
+
let(:options) { {:connecttimeout => 0.1} }
|
36
|
+
|
37
|
+
it "ceils connecttimeout and sets connecttimeout_ms" do
|
38
|
+
expect_any_instance_of(Ethon::Easy).to receive(:http_request)
|
39
|
+
.with(anything(), anything(), hash_including(:connecttimeout_ms => 100, :connecttimeout => 1))
|
40
|
+
.and_call_original
|
41
|
+
stub_request(:get, "http://local.ch/")
|
42
|
+
LHC.get('http://local.ch', options)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
context "when connecttimeout is not a whole number and connecttimeout_ms is set" do
|
47
|
+
|
48
|
+
let(:options) { {:connecttimeout => 0.1, :connecttimeout_ms => 123} }
|
49
|
+
|
50
|
+
it "ceils connecttimeout and does not change connecttimeout_ms" do
|
51
|
+
expect_any_instance_of(Ethon::Easy).to receive(:http_request)
|
52
|
+
.with(anything(), anything(), hash_including(:connecttimeout_ms => 123, :connecttimeout => 1))
|
53
|
+
.and_call_original
|
54
|
+
stub_request(:get, "http://local.ch/")
|
55
|
+
LHC.get('http://local.ch', options)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
metadata
ADDED
@@ -0,0 +1,313 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lhc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- local.ch
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: typhoeus
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.1.1
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.1.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webmock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: geminabox
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Rails gem wrapping typhoeus and providing additional features (like interceptors)
|
98
|
+
email:
|
99
|
+
- ws-operations@local.ch
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- Gemfile
|
106
|
+
- README.md
|
107
|
+
- Rakefile
|
108
|
+
- docs/configuration.md
|
109
|
+
- docs/exceptions.md
|
110
|
+
- docs/interceptors.md
|
111
|
+
- docs/request.md
|
112
|
+
- docs/response.md
|
113
|
+
- lhc.gemspec
|
114
|
+
- lib/lhc.rb
|
115
|
+
- lib/lhc/concerns/lhc/basic_methods.rb
|
116
|
+
- lib/lhc/config.rb
|
117
|
+
- lib/lhc/endpoint.rb
|
118
|
+
- lib/lhc/error.rb
|
119
|
+
- lib/lhc/errors/client_error.rb
|
120
|
+
- lib/lhc/errors/server_error.rb
|
121
|
+
- lib/lhc/errors/timeout.rb
|
122
|
+
- lib/lhc/errors/unknown_error.rb
|
123
|
+
- lib/lhc/interceptor.rb
|
124
|
+
- lib/lhc/interceptor_processor.rb
|
125
|
+
- lib/lhc/request.rb
|
126
|
+
- lib/lhc/response.rb
|
127
|
+
- lib/lhc/version.rb
|
128
|
+
- script/ci/build.sh
|
129
|
+
- spec/basic_methods/delete_spec.rb
|
130
|
+
- spec/basic_methods/get_spec.rb
|
131
|
+
- spec/basic_methods/post_spec.rb
|
132
|
+
- spec/basic_methods/put_spec.rb
|
133
|
+
- spec/basic_methods/request_spec.rb
|
134
|
+
- spec/config/endpoints_spec.rb
|
135
|
+
- spec/config/placeholders_spec.rb
|
136
|
+
- spec/dummy/README.rdoc
|
137
|
+
- spec/dummy/Rakefile
|
138
|
+
- spec/dummy/app/assets/images/.keep
|
139
|
+
- spec/dummy/app/assets/javascripts/application.js
|
140
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
141
|
+
- spec/dummy/app/controllers/application_controller.rb
|
142
|
+
- spec/dummy/app/controllers/concerns/.keep
|
143
|
+
- spec/dummy/app/helpers/application_helper.rb
|
144
|
+
- spec/dummy/app/mailers/.keep
|
145
|
+
- spec/dummy/app/models/.keep
|
146
|
+
- spec/dummy/app/models/concerns/.keep
|
147
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
148
|
+
- spec/dummy/bin/bundle
|
149
|
+
- spec/dummy/bin/rails
|
150
|
+
- spec/dummy/bin/rake
|
151
|
+
- spec/dummy/config.ru
|
152
|
+
- spec/dummy/config/application.rb
|
153
|
+
- spec/dummy/config/boot.rb
|
154
|
+
- spec/dummy/config/environment.rb
|
155
|
+
- spec/dummy/config/environments/development.rb
|
156
|
+
- spec/dummy/config/environments/production.rb
|
157
|
+
- spec/dummy/config/environments/test.rb
|
158
|
+
- spec/dummy/config/initializers/assets.rb
|
159
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
160
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
161
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
162
|
+
- spec/dummy/config/initializers/inflections.rb
|
163
|
+
- spec/dummy/config/initializers/mime_types.rb
|
164
|
+
- spec/dummy/config/initializers/session_store.rb
|
165
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
166
|
+
- spec/dummy/config/locales/en.yml
|
167
|
+
- spec/dummy/config/routes.rb
|
168
|
+
- spec/dummy/config/secrets.yml
|
169
|
+
- spec/dummy/lib/assets/.keep
|
170
|
+
- spec/dummy/log/.keep
|
171
|
+
- spec/dummy/public/404.html
|
172
|
+
- spec/dummy/public/422.html
|
173
|
+
- spec/dummy/public/500.html
|
174
|
+
- spec/dummy/public/favicon.ico
|
175
|
+
- spec/endpoint/compile_spec.rb
|
176
|
+
- spec/endpoint/placeholders_spec.rb
|
177
|
+
- spec/endpoint/remove_interpolated_params_spec.rb
|
178
|
+
- spec/error/find_spec.rb
|
179
|
+
- spec/error/response_spec.rb
|
180
|
+
- spec/error/timeout_spec.rb
|
181
|
+
- spec/interceptors/after_request_spec.rb
|
182
|
+
- spec/interceptors/after_response_spec.rb
|
183
|
+
- spec/interceptors/before_request_spec.rb
|
184
|
+
- spec/interceptors/before_response_spec.rb
|
185
|
+
- spec/interceptors/default_interceptors_spec.rb
|
186
|
+
- spec/interceptors/define_spec.rb
|
187
|
+
- spec/interceptors/response_competition_spec.rb
|
188
|
+
- spec/interceptors/return_response_spec.rb
|
189
|
+
- spec/rails_helper.rb
|
190
|
+
- spec/request/error_handling_spec.rb
|
191
|
+
- spec/request/headers_spec.rb
|
192
|
+
- spec/request/option_dup_spec.rb
|
193
|
+
- spec/request/parallel_requests_spec.rb
|
194
|
+
- spec/request/url_patterns_spec.rb
|
195
|
+
- spec/response/body_spec.rb
|
196
|
+
- spec/response/code_spec.rb
|
197
|
+
- spec/response/data_spec.rb
|
198
|
+
- spec/response/headers_spec.rb
|
199
|
+
- spec/response/success_spec.rb
|
200
|
+
- spec/response/time_spec.rb
|
201
|
+
- spec/spec_helper.rb
|
202
|
+
- spec/support/fixtures/json/feedback.json
|
203
|
+
- spec/support/fixtures/json/feedbacks.json
|
204
|
+
- spec/support/fixtures/json/localina_content_ad.json
|
205
|
+
- spec/support/load_json.rb
|
206
|
+
- spec/support/reset_config.rb
|
207
|
+
- spec/timeouts/no_signal_spec.rb
|
208
|
+
- spec/timeouts/timings_spec.rb
|
209
|
+
homepage: https://github.com/local-ch/lhc
|
210
|
+
licenses: []
|
211
|
+
metadata: {}
|
212
|
+
post_install_message:
|
213
|
+
rdoc_options: []
|
214
|
+
require_paths:
|
215
|
+
- lib
|
216
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 1.9.2
|
221
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: '0'
|
226
|
+
requirements:
|
227
|
+
- Ruby >= 1.9.2
|
228
|
+
rubyforge_project:
|
229
|
+
rubygems_version: 2.2.2
|
230
|
+
signing_key:
|
231
|
+
specification_version: 4
|
232
|
+
summary: LocalHttpServices
|
233
|
+
test_files:
|
234
|
+
- spec/basic_methods/delete_spec.rb
|
235
|
+
- spec/basic_methods/get_spec.rb
|
236
|
+
- spec/basic_methods/post_spec.rb
|
237
|
+
- spec/basic_methods/put_spec.rb
|
238
|
+
- spec/basic_methods/request_spec.rb
|
239
|
+
- spec/config/endpoints_spec.rb
|
240
|
+
- spec/config/placeholders_spec.rb
|
241
|
+
- spec/dummy/README.rdoc
|
242
|
+
- spec/dummy/Rakefile
|
243
|
+
- spec/dummy/app/assets/images/.keep
|
244
|
+
- spec/dummy/app/assets/javascripts/application.js
|
245
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
246
|
+
- spec/dummy/app/controllers/application_controller.rb
|
247
|
+
- spec/dummy/app/controllers/concerns/.keep
|
248
|
+
- spec/dummy/app/helpers/application_helper.rb
|
249
|
+
- spec/dummy/app/mailers/.keep
|
250
|
+
- spec/dummy/app/models/.keep
|
251
|
+
- spec/dummy/app/models/concerns/.keep
|
252
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
253
|
+
- spec/dummy/bin/bundle
|
254
|
+
- spec/dummy/bin/rails
|
255
|
+
- spec/dummy/bin/rake
|
256
|
+
- spec/dummy/config.ru
|
257
|
+
- spec/dummy/config/application.rb
|
258
|
+
- spec/dummy/config/boot.rb
|
259
|
+
- spec/dummy/config/environment.rb
|
260
|
+
- spec/dummy/config/environments/development.rb
|
261
|
+
- spec/dummy/config/environments/production.rb
|
262
|
+
- spec/dummy/config/environments/test.rb
|
263
|
+
- spec/dummy/config/initializers/assets.rb
|
264
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
265
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
266
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
267
|
+
- spec/dummy/config/initializers/inflections.rb
|
268
|
+
- spec/dummy/config/initializers/mime_types.rb
|
269
|
+
- spec/dummy/config/initializers/session_store.rb
|
270
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
271
|
+
- spec/dummy/config/locales/en.yml
|
272
|
+
- spec/dummy/config/routes.rb
|
273
|
+
- spec/dummy/config/secrets.yml
|
274
|
+
- spec/dummy/lib/assets/.keep
|
275
|
+
- spec/dummy/log/.keep
|
276
|
+
- spec/dummy/public/404.html
|
277
|
+
- spec/dummy/public/422.html
|
278
|
+
- spec/dummy/public/500.html
|
279
|
+
- spec/dummy/public/favicon.ico
|
280
|
+
- spec/endpoint/compile_spec.rb
|
281
|
+
- spec/endpoint/placeholders_spec.rb
|
282
|
+
- spec/endpoint/remove_interpolated_params_spec.rb
|
283
|
+
- spec/error/find_spec.rb
|
284
|
+
- spec/error/response_spec.rb
|
285
|
+
- spec/error/timeout_spec.rb
|
286
|
+
- spec/interceptors/after_request_spec.rb
|
287
|
+
- spec/interceptors/after_response_spec.rb
|
288
|
+
- spec/interceptors/before_request_spec.rb
|
289
|
+
- spec/interceptors/before_response_spec.rb
|
290
|
+
- spec/interceptors/default_interceptors_spec.rb
|
291
|
+
- spec/interceptors/define_spec.rb
|
292
|
+
- spec/interceptors/response_competition_spec.rb
|
293
|
+
- spec/interceptors/return_response_spec.rb
|
294
|
+
- spec/rails_helper.rb
|
295
|
+
- spec/request/error_handling_spec.rb
|
296
|
+
- spec/request/headers_spec.rb
|
297
|
+
- spec/request/option_dup_spec.rb
|
298
|
+
- spec/request/parallel_requests_spec.rb
|
299
|
+
- spec/request/url_patterns_spec.rb
|
300
|
+
- spec/response/body_spec.rb
|
301
|
+
- spec/response/code_spec.rb
|
302
|
+
- spec/response/data_spec.rb
|
303
|
+
- spec/response/headers_spec.rb
|
304
|
+
- spec/response/success_spec.rb
|
305
|
+
- spec/response/time_spec.rb
|
306
|
+
- spec/spec_helper.rb
|
307
|
+
- spec/support/fixtures/json/feedback.json
|
308
|
+
- spec/support/fixtures/json/feedbacks.json
|
309
|
+
- spec/support/fixtures/json/localina_content_ad.json
|
310
|
+
- spec/support/load_json.rb
|
311
|
+
- spec/support/reset_config.rb
|
312
|
+
- spec/timeouts/no_signal_spec.rb
|
313
|
+
- spec/timeouts/timings_spec.rb
|