agile-proxy 0.1.20 → 0.1.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,16 +2,16 @@ require 'spec_helper'
2
2
  describe AgileProxy::Servers::Api do
3
3
  let(:subject) { AgileProxy::Servers::Api }
4
4
  let(:rack_builder_class) { Class.new }
5
- let(:rack_server_class) { Class.new }
5
+ let(:goliath_runner_class) { Class.new }
6
6
  let(:rack_static_class) { Class.new }
7
7
  let(:api_root_class) { Class.new }
8
8
  before :each do
9
- stub_const('Rack::Builder', rack_builder_class)
9
+ stub_const('Goliath::Rack::Builder', rack_builder_class)
10
10
  stub_const('Rack::Static', rack_static_class)
11
- stub_const('Rack::Server', rack_server_class)
11
+ stub_const('Goliath::Runner', goliath_runner_class)
12
12
  stub_const('AgileProxy::Api::Root', api_root_class)
13
13
  end
14
- it 'Should start a rack server when the start method is called' do
14
+ it 'Should start a goliath server when the start method is called' do
15
15
  builder_block = nil
16
16
  expect(rack_builder_class).to receive(:app) do |&blk|
17
17
  builder_block = blk
@@ -24,7 +24,11 @@ describe AgileProxy::Servers::Api do
24
24
  rack_builder_class.new.instance_eval(&blk)
25
25
 
26
26
  end
27
- expect(rack_server_class).to receive(:start)
27
+ expect_any_instance_of(goliath_runner_class).to receive(:run)
28
+ expect_any_instance_of(goliath_runner_class).to receive(:initialize).with([], nil)
29
+ expect_any_instance_of(goliath_runner_class).to receive(:address=).with('localhost')
30
+ expect_any_instance_of(goliath_runner_class).to receive(:port=).with('3020')
31
+ expect_any_instance_of(goliath_runner_class).to receive(:app=)
28
32
  subject.start('localhost', '3020')
29
33
 
30
34
  end
@@ -2,13 +2,13 @@ require 'spec_helper'
2
2
  describe AgileProxy::Servers::RequestSpecDirect do
3
3
  let(:subject) { AgileProxy::Servers::RequestSpecDirect }
4
4
  let(:rack_builder_class) { Class.new }
5
- let(:rack_server_class) { Class.new }
5
+ let(:goliath_runner_class) { Class.new }
6
6
  let(:rack_static_class) { Class.new }
7
7
  let(:stub_handler_class) { Class.new }
8
8
  before :each do
9
- stub_const('Rack::Builder', rack_builder_class)
9
+ stub_const('Goliath::Rack::Builder', rack_builder_class)
10
10
  stub_const('Rack::Static', rack_static_class)
11
- stub_const('Rack::Server', rack_server_class)
11
+ stub_const('Goliath::Runner', goliath_runner_class)
12
12
  stub_const('AgileProxy::StubHandler', stub_handler_class)
13
13
  end
14
14
  it 'Should start a rack server with a static handler when the start method is called' do
@@ -24,7 +24,11 @@ describe AgileProxy::Servers::RequestSpecDirect do
24
24
  rack_builder_class.new.instance_eval(&blk)
25
25
 
26
26
  end
27
- expect(rack_server_class).to receive(:start)
27
+ expect_any_instance_of(goliath_runner_class).to receive(:run)
28
+ expect_any_instance_of(goliath_runner_class).to receive(:initialize).with([], nil)
29
+ expect_any_instance_of(goliath_runner_class).to receive(:address=).with('localhost')
30
+ expect_any_instance_of(goliath_runner_class).to receive(:port=).with('3030')
31
+ expect_any_instance_of(goliath_runner_class).to receive(:app=)
28
32
  subject.start('localhost', '3030', ['/ui', '/images'])
29
33
 
30
34
  end
@@ -40,7 +44,11 @@ describe AgileProxy::Servers::RequestSpecDirect do
40
44
  expect_any_instance_of(rack_builder_class).to receive(:run).with(kind_of(stub_handler_class))
41
45
  rack_builder_class.new.instance_eval(&blk)
42
46
  end
43
- expect(rack_server_class).to receive(:start)
47
+ expect_any_instance_of(goliath_runner_class).to receive(:run)
48
+ expect_any_instance_of(goliath_runner_class).to receive(:initialize).with([], nil)
49
+ expect_any_instance_of(goliath_runner_class).to receive(:address=).with('localhost')
50
+ expect_any_instance_of(goliath_runner_class).to receive(:port=).with('3030')
51
+ expect_any_instance_of(goliath_runner_class).to receive(:app=)
44
52
  subject.start('localhost', '3030')
45
53
 
46
54
  end
@@ -1,30 +1,33 @@
1
1
  require 'spec_helper'
2
2
  describe AgileProxy::Servers::RequestSpec do
3
3
  let(:subject) { AgileProxy::Servers::RequestSpec }
4
- let(:event_machine_class) { Class.new }
5
- let(:socket_class) { Class.new }
6
- let(:proxy_connection_class) { Class.new }
4
+ let(:rack_builder_class) { Class.new }
5
+ let(:goliath_runner_class) { Class.new }
6
+ let(:rack_static_class) { Class.new }
7
7
  let(:request_handler_class) { Class.new }
8
+ let(:config_class) {Class.new}
8
9
  before :each do
9
- stub_const('EM', event_machine_class)
10
- stub_const('Socket', socket_class)
11
- stub_const('AgileProxy::ProxyConnection', proxy_connection_class)
10
+ stub_const('Goliath::Rack::Builder', rack_builder_class)
11
+ stub_const('Rack::Static', rack_static_class)
12
+ stub_const('Goliath::Proxy::Runner', goliath_runner_class)
12
13
  stub_const('AgileProxy::RequestHandler', request_handler_class)
14
+ stub_const('AgileProxy::Config', config_class)
13
15
  end
14
16
  context 'With started server' do
15
17
  before :each do
16
- expect(event_machine_class).to receive(:start_server).with('127.0.0.1', AgileProxy.config.proxy_port, proxy_connection_class) do |_host, _port, _connection_class, &blk|
17
- connection_instance = proxy_connection_class.new
18
- expect(connection_instance).to receive(:handler=).with(kind_of(request_handler_class))
19
- blk.call(connection_instance)
20
- end.and_return 'signature'
18
+ expect_any_instance_of(goliath_runner_class).to receive(:run)
19
+ expect_any_instance_of(goliath_runner_class).to receive(:initialize).with([], nil)
20
+ expect_any_instance_of(goliath_runner_class).to receive(:address=).with('127.0.0.1')
21
+ expect_any_instance_of(goliath_runner_class).to receive(:port=).with('3100')
22
+ expect_any_instance_of(goliath_runner_class).to receive(:app=).with(instance_of(request_handler_class))
23
+ expect(AgileProxy).to receive(:config).at_least(:once).and_return config_class.new
24
+ expect_any_instance_of(config_class).to receive(:proxy_port).at_least(:once).and_return '3100'
25
+ allow_any_instance_of(config_class).to receive(:reset)
21
26
  end
22
27
  it 'Should start the server and return the instance' do
23
28
  expect(subject.start).to be_a_kind_of(subject)
24
29
  end
25
30
  it 'Should return the port it is running on' do
26
- expect(event_machine_class).to receive(:get_sockname).with('signature').and_return 'sockname'
27
- expect(socket_class).to receive(:unpack_sockaddr_in).with('sockname').and_return ['3100']
28
31
  expect(subject.start.port).to eql '3100'
29
32
 
30
33
  end
metadata CHANGED
@@ -1,567 +1,447 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agile-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-21 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.1'
34
- - - '>='
34
+ - - ">="
35
35
  - !ruby/object:Gem::Version
36
36
  version: 3.1.0
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ~>
41
+ - - "~>"
42
42
  - !ruby/object:Gem::Version
43
43
  version: '3.1'
44
- - - '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 3.1.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-mocks
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '3.1'
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: 3.1.3
57
57
  type: :development
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ~>
61
+ - - "~>"
62
62
  - !ruby/object:Gem::Version
63
63
  version: '3.1'
64
- - - '>='
64
+ - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: 3.1.3
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: faraday
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - ~>
71
+ - - "~>"
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0.9'
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.9.0
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0.9'
84
- - - '>='
84
+ - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: 0.9.0
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: poltergeist
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ~>
91
+ - - "~>"
92
92
  - !ruby/object:Gem::Version
93
93
  version: '1.5'
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.5.1
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.5'
104
- - - '>='
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: 1.5.1
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: selenium-webdriver
109
109
  requirement: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - ~>
111
+ - - "~>"
112
112
  - !ruby/object:Gem::Version
113
113
  version: '2.43'
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: 2.43.0
117
117
  type: :development
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ~>
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
123
  version: '2.43'
124
- - - '>='
124
+ - - ">="
125
125
  - !ruby/object:Gem::Version
126
126
  version: 2.43.0
127
- - !ruby/object:Gem::Dependency
128
- name: rack
129
- requirement: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: '1.6'
134
- - - '>='
135
- - !ruby/object:Gem::Version
136
- version: 1.6.0
137
- type: :development
138
- prerelease: false
139
- version_requirements: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - ~>
142
- - !ruby/object:Gem::Version
143
- version: '1.6'
144
- - - '>='
145
- - !ruby/object:Gem::Version
146
- version: 1.6.0
147
127
  - !ruby/object:Gem::Dependency
148
128
  name: guard
149
129
  requirement: !ruby/object:Gem::Requirement
150
130
  requirements:
151
- - - ~>
131
+ - - "~>"
152
132
  - !ruby/object:Gem::Version
153
133
  version: '2.6'
154
- - - '>='
134
+ - - ">="
155
135
  - !ruby/object:Gem::Version
156
136
  version: 2.6.1
157
137
  type: :development
158
138
  prerelease: false
159
139
  version_requirements: !ruby/object:Gem::Requirement
160
140
  requirements:
161
- - - ~>
141
+ - - "~>"
162
142
  - !ruby/object:Gem::Version
163
143
  version: '2.6'
164
- - - '>='
144
+ - - ">="
165
145
  - !ruby/object:Gem::Version
166
146
  version: 2.6.1
167
147
  - !ruby/object:Gem::Dependency
168
148
  name: rb-inotify
169
149
  requirement: !ruby/object:Gem::Requirement
170
150
  requirements:
171
- - - ~>
151
+ - - "~>"
172
152
  - !ruby/object:Gem::Version
173
153
  version: '0.9'
174
- - - '>='
154
+ - - ">="
175
155
  - !ruby/object:Gem::Version
176
156
  version: 0.9.5
177
157
  type: :development
178
158
  prerelease: false
179
159
  version_requirements: !ruby/object:Gem::Requirement
180
160
  requirements:
181
- - - ~>
161
+ - - "~>"
182
162
  - !ruby/object:Gem::Version
183
163
  version: '0.9'
184
- - - '>='
164
+ - - ">="
185
165
  - !ruby/object:Gem::Version
186
166
  version: 0.9.5
187
167
  - !ruby/object:Gem::Dependency
188
168
  name: cucumber
189
169
  requirement: !ruby/object:Gem::Requirement
190
170
  requirements:
191
- - - ~>
171
+ - - "~>"
192
172
  - !ruby/object:Gem::Version
193
173
  version: '1.3'
194
- - - '>='
174
+ - - ">="
195
175
  - !ruby/object:Gem::Version
196
176
  version: 1.3.17
197
177
  type: :development
198
178
  prerelease: false
199
179
  version_requirements: !ruby/object:Gem::Requirement
200
180
  requirements:
201
- - - ~>
181
+ - - "~>"
202
182
  - !ruby/object:Gem::Version
203
183
  version: '1.3'
204
- - - '>='
184
+ - - ">="
205
185
  - !ruby/object:Gem::Version
206
186
  version: 1.3.17
207
- - !ruby/object:Gem::Dependency
208
- name: airborne
209
- requirement: !ruby/object:Gem::Requirement
210
- requirements:
211
- - - ~>
212
- - !ruby/object:Gem::Version
213
- version: '0.1'
214
- - - '>='
215
- - !ruby/object:Gem::Version
216
- version: 0.1.10
217
- type: :development
218
- prerelease: false
219
- version_requirements: !ruby/object:Gem::Requirement
220
- requirements:
221
- - - ~>
222
- - !ruby/object:Gem::Version
223
- version: '0.1'
224
- - - '>='
225
- - !ruby/object:Gem::Version
226
- version: 0.1.10
227
187
  - !ruby/object:Gem::Dependency
228
188
  name: rest-client
229
189
  requirement: !ruby/object:Gem::Requirement
230
190
  requirements:
231
- - - ~>
191
+ - - "~>"
232
192
  - !ruby/object:Gem::Version
233
193
  version: '1.7'
234
- - - '>='
194
+ - - ">="
235
195
  - !ruby/object:Gem::Version
236
196
  version: 1.7.2
237
197
  type: :development
238
198
  prerelease: false
239
199
  version_requirements: !ruby/object:Gem::Requirement
240
200
  requirements:
241
- - - ~>
201
+ - - "~>"
242
202
  - !ruby/object:Gem::Version
243
203
  version: '1.7'
244
- - - '>='
204
+ - - ">="
245
205
  - !ruby/object:Gem::Version
246
206
  version: 1.7.2
247
207
  - !ruby/object:Gem::Dependency
248
208
  name: require_all
249
209
  requirement: !ruby/object:Gem::Requirement
250
210
  requirements:
251
- - - ~>
211
+ - - "~>"
252
212
  - !ruby/object:Gem::Version
253
213
  version: '1.3'
254
- - - '>='
214
+ - - ">="
255
215
  - !ruby/object:Gem::Version
256
216
  version: 1.3.2
257
217
  type: :development
258
218
  prerelease: false
259
219
  version_requirements: !ruby/object:Gem::Requirement
260
220
  requirements:
261
- - - ~>
221
+ - - "~>"
262
222
  - !ruby/object:Gem::Version
263
223
  version: '1.3'
264
- - - '>='
224
+ - - ">="
265
225
  - !ruby/object:Gem::Version
266
226
  version: 1.3.2
267
227
  - !ruby/object:Gem::Dependency
268
228
  name: faker
269
229
  requirement: !ruby/object:Gem::Requirement
270
230
  requirements:
271
- - - ~>
231
+ - - "~>"
272
232
  - !ruby/object:Gem::Version
273
233
  version: '1.2'
274
- - - '>='
234
+ - - ">="
275
235
  - !ruby/object:Gem::Version
276
236
  version: 1.2.0
277
237
  type: :development
278
238
  prerelease: false
279
239
  version_requirements: !ruby/object:Gem::Requirement
280
240
  requirements:
281
- - - ~>
241
+ - - "~>"
282
242
  - !ruby/object:Gem::Version
283
243
  version: '1.2'
284
- - - '>='
244
+ - - ">="
285
245
  - !ruby/object:Gem::Version
286
246
  version: 1.2.0
287
247
  - !ruby/object:Gem::Dependency
288
248
  name: yard
289
249
  requirement: !ruby/object:Gem::Requirement
290
250
  requirements:
291
- - - ~>
251
+ - - "~>"
292
252
  - !ruby/object:Gem::Version
293
253
  version: '0.8'
294
- - - '>='
254
+ - - ">="
295
255
  - !ruby/object:Gem::Version
296
256
  version: '0.8'
297
257
  type: :development
298
258
  prerelease: false
299
259
  version_requirements: !ruby/object:Gem::Requirement
300
260
  requirements:
301
- - - ~>
261
+ - - "~>"
302
262
  - !ruby/object:Gem::Version
303
263
  version: '0.8'
304
- - - '>='
264
+ - - ">="
305
265
  - !ruby/object:Gem::Version
306
266
  version: '0.8'
307
267
  - !ruby/object:Gem::Dependency
308
268
  name: simplecov
309
269
  requirement: !ruby/object:Gem::Requirement
310
270
  requirements:
311
- - - ~>
271
+ - - "~>"
312
272
  - !ruby/object:Gem::Version
313
273
  version: '0.9'
314
- - - '>='
274
+ - - ">="
315
275
  - !ruby/object:Gem::Version
316
276
  version: 0.9.1
317
277
  type: :development
318
278
  prerelease: false
319
279
  version_requirements: !ruby/object:Gem::Requirement
320
280
  requirements:
321
- - - ~>
281
+ - - "~>"
322
282
  - !ruby/object:Gem::Version
323
283
  version: '0.9'
324
- - - '>='
284
+ - - ">="
325
285
  - !ruby/object:Gem::Version
326
286
  version: 0.9.1
327
287
  - !ruby/object:Gem::Dependency
328
288
  name: travis
329
289
  requirement: !ruby/object:Gem::Requirement
330
290
  requirements:
331
- - - ~>
291
+ - - "~>"
332
292
  - !ruby/object:Gem::Version
333
293
  version: '1.7'
334
- - - '>='
294
+ - - ">="
335
295
  - !ruby/object:Gem::Version
336
296
  version: 1.7.5
337
297
  type: :development
338
298
  prerelease: false
339
299
  version_requirements: !ruby/object:Gem::Requirement
340
300
  requirements:
341
- - - ~>
301
+ - - "~>"
342
302
  - !ruby/object:Gem::Version
343
303
  version: '1.7'
344
- - - '>='
304
+ - - ">="
345
305
  - !ruby/object:Gem::Version
346
306
  version: 1.7.5
347
307
  - !ruby/object:Gem::Dependency
348
308
  name: eventmachine
349
309
  requirement: !ruby/object:Gem::Requirement
350
310
  requirements:
351
- - - ~>
311
+ - - "~>"
352
312
  - !ruby/object:Gem::Version
353
313
  version: '1.0'
354
- - - '>='
314
+ - - ">="
355
315
  - !ruby/object:Gem::Version
356
316
  version: 1.0.3
357
317
  type: :runtime
358
318
  prerelease: false
359
319
  version_requirements: !ruby/object:Gem::Requirement
360
320
  requirements:
361
- - - ~>
321
+ - - "~>"
362
322
  - !ruby/object:Gem::Version
363
323
  version: '1.0'
364
- - - '>='
324
+ - - ">="
365
325
  - !ruby/object:Gem::Version
366
326
  version: 1.0.3
367
327
  - !ruby/object:Gem::Dependency
368
328
  name: em-synchrony
369
329
  requirement: !ruby/object:Gem::Requirement
370
330
  requirements:
371
- - - ~>
331
+ - - "~>"
372
332
  - !ruby/object:Gem::Version
373
333
  version: '1.0'
374
- - - '>='
334
+ - - ">="
375
335
  - !ruby/object:Gem::Version
376
336
  version: 1.0.3
377
337
  type: :runtime
378
338
  prerelease: false
379
339
  version_requirements: !ruby/object:Gem::Requirement
380
340
  requirements:
381
- - - ~>
341
+ - - "~>"
382
342
  - !ruby/object:Gem::Version
383
343
  version: '1.0'
384
- - - '>='
344
+ - - ">="
385
345
  - !ruby/object:Gem::Version
386
346
  version: 1.0.3
387
347
  - !ruby/object:Gem::Dependency
388
348
  name: em-http-request
389
349
  requirement: !ruby/object:Gem::Requirement
390
350
  requirements:
391
- - - ~>
351
+ - - "~>"
392
352
  - !ruby/object:Gem::Version
393
353
  version: '1.1'
394
- - - '>='
354
+ - - ">="
395
355
  - !ruby/object:Gem::Version
396
356
  version: 1.1.2
397
357
  type: :runtime
398
358
  prerelease: false
399
359
  version_requirements: !ruby/object:Gem::Requirement
400
360
  requirements:
401
- - - ~>
361
+ - - "~>"
402
362
  - !ruby/object:Gem::Version
403
363
  version: '1.1'
404
- - - '>='
364
+ - - ">="
405
365
  - !ruby/object:Gem::Version
406
366
  version: 1.1.2
407
- - !ruby/object:Gem::Dependency
408
- name: eventmachine_httpserver
409
- requirement: !ruby/object:Gem::Requirement
410
- requirements:
411
- - - ~>
412
- - !ruby/object:Gem::Version
413
- version: '0.2'
414
- - - '>='
415
- - !ruby/object:Gem::Version
416
- version: 0.2.1
417
- type: :runtime
418
- prerelease: false
419
- version_requirements: !ruby/object:Gem::Requirement
420
- requirements:
421
- - - ~>
422
- - !ruby/object:Gem::Version
423
- version: '0.2'
424
- - - '>='
425
- - !ruby/object:Gem::Version
426
- version: 0.2.1
427
- - !ruby/object:Gem::Dependency
428
- name: http_parser.rb
429
- requirement: !ruby/object:Gem::Requirement
430
- requirements:
431
- - - ~>
432
- - !ruby/object:Gem::Version
433
- version: '0.6'
434
- - - '>='
435
- - !ruby/object:Gem::Version
436
- version: 0.6.0
437
- type: :runtime
438
- prerelease: false
439
- version_requirements: !ruby/object:Gem::Requirement
440
- requirements:
441
- - - ~>
442
- - !ruby/object:Gem::Version
443
- version: '0.6'
444
- - - '>='
445
- - !ruby/object:Gem::Version
446
- version: 0.6.0
447
- - !ruby/object:Gem::Dependency
448
- name: multi_json
449
- requirement: !ruby/object:Gem::Requirement
450
- requirements:
451
- - - ~>
452
- - !ruby/object:Gem::Version
453
- version: '1.10'
454
- - - '>='
455
- - !ruby/object:Gem::Version
456
- version: 1.10.1
457
- type: :runtime
458
- prerelease: false
459
- version_requirements: !ruby/object:Gem::Requirement
460
- requirements:
461
- - - ~>
462
- - !ruby/object:Gem::Version
463
- version: '1.10'
464
- - - '>='
465
- - !ruby/object:Gem::Version
466
- version: 1.10.1
467
- - !ruby/object:Gem::Dependency
468
- name: thin
469
- requirement: !ruby/object:Gem::Requirement
470
- requirements:
471
- - - ~>
472
- - !ruby/object:Gem::Version
473
- version: '1.6'
474
- - - '>='
475
- - !ruby/object:Gem::Version
476
- version: 1.6.2
477
- type: :runtime
478
- prerelease: false
479
- version_requirements: !ruby/object:Gem::Requirement
480
- requirements:
481
- - - ~>
482
- - !ruby/object:Gem::Version
483
- version: '1.6'
484
- - - '>='
485
- - !ruby/object:Gem::Version
486
- version: 1.6.2
487
367
  - !ruby/object:Gem::Dependency
488
368
  name: grape
489
369
  requirement: !ruby/object:Gem::Requirement
490
370
  requirements:
491
- - - ~>
371
+ - - "~>"
492
372
  - !ruby/object:Gem::Version
493
373
  version: '0.10'
494
- - - '>='
374
+ - - ">="
495
375
  - !ruby/object:Gem::Version
496
376
  version: 0.10.1
497
377
  type: :runtime
498
378
  prerelease: false
499
379
  version_requirements: !ruby/object:Gem::Requirement
500
380
  requirements:
501
- - - ~>
381
+ - - "~>"
502
382
  - !ruby/object:Gem::Version
503
383
  version: '0.10'
504
- - - '>='
384
+ - - ">="
505
385
  - !ruby/object:Gem::Version
506
386
  version: 0.10.1
507
387
  - !ruby/object:Gem::Dependency
508
388
  name: activerecord
509
389
  requirement: !ruby/object:Gem::Requirement
510
390
  requirements:
511
- - - ~>
391
+ - - "~>"
512
392
  - !ruby/object:Gem::Version
513
393
  version: '4.2'
514
- - - '>='
394
+ - - ">="
515
395
  - !ruby/object:Gem::Version
516
396
  version: 4.2.0
517
397
  type: :runtime
518
398
  prerelease: false
519
399
  version_requirements: !ruby/object:Gem::Requirement
520
400
  requirements:
521
- - - ~>
401
+ - - "~>"
522
402
  - !ruby/object:Gem::Version
523
403
  version: '4.2'
524
- - - '>='
404
+ - - ">="
525
405
  - !ruby/object:Gem::Version
526
406
  version: 4.2.0
527
407
  - !ruby/object:Gem::Dependency
528
408
  name: sqlite3
529
409
  requirement: !ruby/object:Gem::Requirement
530
410
  requirements:
531
- - - ~>
411
+ - - "~>"
532
412
  - !ruby/object:Gem::Version
533
413
  version: '1.3'
534
- - - '>='
414
+ - - ">="
535
415
  - !ruby/object:Gem::Version
536
416
  version: 1.3.10
537
417
  type: :runtime
538
418
  prerelease: false
539
419
  version_requirements: !ruby/object:Gem::Requirement
540
420
  requirements:
541
- - - ~>
421
+ - - "~>"
542
422
  - !ruby/object:Gem::Version
543
423
  version: '1.3'
544
- - - '>='
424
+ - - ">="
545
425
  - !ruby/object:Gem::Version
546
426
  version: 1.3.10
547
427
  - !ruby/object:Gem::Dependency
548
428
  name: grape-kaminari
549
429
  requirement: !ruby/object:Gem::Requirement
550
430
  requirements:
551
- - - ~>
431
+ - - "~>"
552
432
  - !ruby/object:Gem::Version
553
433
  version: '0.1'
554
- - - '>='
434
+ - - ">="
555
435
  - !ruby/object:Gem::Version
556
436
  version: 0.1.7
557
437
  type: :runtime
558
438
  prerelease: false
559
439
  version_requirements: !ruby/object:Gem::Requirement
560
440
  requirements:
561
- - - ~>
441
+ - - "~>"
562
442
  - !ruby/object:Gem::Version
563
443
  version: '0.1'
564
- - - '>='
444
+ - - ">="
565
445
  - !ruby/object:Gem::Version
566
446
  version: 0.1.7
567
447
  - !ruby/object:Gem::Dependency
@@ -582,62 +462,82 @@ dependencies:
582
462
  name: flavour_saver
583
463
  requirement: !ruby/object:Gem::Requirement
584
464
  requirements:
585
- - - ~>
465
+ - - "~>"
586
466
  - !ruby/object:Gem::Version
587
467
  version: '0.3'
588
- - - '>='
468
+ - - ">="
589
469
  - !ruby/object:Gem::Version
590
470
  version: 0.3.4
591
471
  type: :runtime
592
472
  prerelease: false
593
473
  version_requirements: !ruby/object:Gem::Requirement
594
474
  requirements:
595
- - - ~>
475
+ - - "~>"
596
476
  - !ruby/object:Gem::Version
597
477
  version: '0.3'
598
- - - '>='
478
+ - - ">="
599
479
  - !ruby/object:Gem::Version
600
480
  version: 0.3.4
601
481
  - !ruby/object:Gem::Dependency
602
482
  name: thor
603
483
  requirement: !ruby/object:Gem::Requirement
604
484
  requirements:
605
- - - ~>
485
+ - - "~>"
606
486
  - !ruby/object:Gem::Version
607
487
  version: '0.19'
608
- - - '>='
488
+ - - ">="
609
489
  - !ruby/object:Gem::Version
610
490
  version: 0.19.1
611
491
  type: :runtime
612
492
  prerelease: false
613
493
  version_requirements: !ruby/object:Gem::Requirement
614
494
  requirements:
615
- - - ~>
495
+ - - "~>"
616
496
  - !ruby/object:Gem::Version
617
497
  version: '0.19'
618
- - - '>='
498
+ - - ">="
619
499
  - !ruby/object:Gem::Version
620
500
  version: 0.19.1
621
501
  - !ruby/object:Gem::Dependency
622
- name: rack-parser
502
+ name: goliath
503
+ requirement: !ruby/object:Gem::Requirement
504
+ requirements:
505
+ - - "~>"
506
+ - !ruby/object:Gem::Version
507
+ version: '1.0'
508
+ - - ">="
509
+ - !ruby/object:Gem::Version
510
+ version: 1.0.4
511
+ type: :runtime
512
+ prerelease: false
513
+ version_requirements: !ruby/object:Gem::Requirement
514
+ requirements:
515
+ - - "~>"
516
+ - !ruby/object:Gem::Version
517
+ version: '1.0'
518
+ - - ">="
519
+ - !ruby/object:Gem::Version
520
+ version: 1.0.4
521
+ - !ruby/object:Gem::Dependency
522
+ name: goliath-proxy
623
523
  requirement: !ruby/object:Gem::Requirement
624
524
  requirements:
625
- - - ~>
525
+ - - "~>"
626
526
  - !ruby/object:Gem::Version
627
- version: '0.6'
628
- - - '>='
527
+ version: '0.0'
528
+ - - ">="
629
529
  - !ruby/object:Gem::Version
630
- version: 0.6.1
530
+ version: 0.0.1
631
531
  type: :runtime
632
532
  prerelease: false
633
533
  version_requirements: !ruby/object:Gem::Requirement
634
534
  requirements:
635
- - - ~>
535
+ - - "~>"
636
536
  - !ruby/object:Gem::Version
637
- version: '0.6'
638
- - - '>='
537
+ version: '0.0'
538
+ - - ">="
639
539
  - !ruby/object:Gem::Version
640
- version: 0.6.1
540
+ version: 0.0.1
641
541
  description: An agile, programmable, controllable proxy server for use standalone
642
542
  or as part of an integration test suite with clients for many languages
643
543
  email:
@@ -647,11 +547,11 @@ executables:
647
547
  extensions: []
648
548
  extra_rdoc_files: []
649
549
  files:
650
- - .bowerrc
651
- - .gitignore
652
- - .rspec
653
- - .rubocop.yml
654
- - .travis.yml
550
+ - ".bowerrc"
551
+ - ".gitignore"
552
+ - ".rspec"
553
+ - ".rubocop.yml"
554
+ - ".travis.yml"
655
555
  - Gemfile
656
556
  - Guardfile
657
557
  - LICENSE
@@ -2304,6 +2204,7 @@ files:
2304
2204
  - db/migrations/20150221152500_add_record_requests_to_request_specs.rb
2305
2205
  - db/schema.rb
2306
2206
  - db/seed.rb
2207
+ - echo_server.rb
2307
2208
  - examples/README.md
2308
2209
  - examples/facebook_api.html
2309
2210
  - examples/tumblr_api.html
@@ -2369,12 +2270,12 @@ require_paths:
2369
2270
  - lib
2370
2271
  required_ruby_version: !ruby/object:Gem::Requirement
2371
2272
  requirements:
2372
- - - '>='
2273
+ - - ">="
2373
2274
  - !ruby/object:Gem::Version
2374
2275
  version: '0'
2375
2276
  required_rubygems_version: !ruby/object:Gem::Requirement
2376
2277
  requirements:
2377
- - - '>='
2278
+ - - ">="
2378
2279
  - !ruby/object:Gem::Version
2379
2280
  version: '0'
2380
2281
  requirements: []