agile-proxy 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +105 -82
- data/README.md +2 -1
- data/agile-proxy.gemspec +32 -32
- data/lib/agile_proxy/handlers/stub_handler.rb +1 -2
- data/lib/agile_proxy/version.rb +1 -1
- data/spec/integration/specs/lib/server_spec.rb +2 -2
- data/spec/unit/agile_proxy/model/response_spec.rb +1 -1
- metadata +218 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d91b034f61fcaa9e8ee38cd80f07b32dd71933a0
|
4
|
+
data.tar.gz: 80a17be00c2e7c4ae6d70470fed71caadf3c5328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3d930df2fa0b343f795da51ff623262023c2bf3148c6adbe886332f62eeea28b7ad9203205a82cab81edae24f97a1c14901f6ae2ff036e4d1ee4b968bcc93c
|
7
|
+
data.tar.gz: 5b882e5b167bc9c71636570ec28b15d57db3b633472d3f0839499e20bd69d029c18fe9eb5a2120891e851be3604ed7f7ba6ddbba8ef6092f77410d662adec6a5
|
data/Gemfile.lock
CHANGED
@@ -1,55 +1,59 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
agile-proxy (0.1.
|
5
|
-
activerecord (~> 4.
|
6
|
-
em-http-request (~> 1.1.2)
|
7
|
-
em-synchrony (~> 1.0.3)
|
8
|
-
eventmachine (~> 1.0.3)
|
9
|
-
eventmachine_httpserver (~> 0.2.1)
|
10
|
-
flavour_saver
|
11
|
-
grape (~> 0.
|
12
|
-
grape-kaminari (~> 0.1.
|
13
|
-
http_parser.rb (~> 0.6.0)
|
14
|
-
multi_json
|
15
|
-
rack-parser (~> 0.6.1)
|
16
|
-
shoulda-matchers
|
17
|
-
sqlite3 (~> 1.3.10)
|
18
|
-
thin (~> 1.6.2)
|
19
|
-
thor
|
4
|
+
agile-proxy (0.1.13)
|
5
|
+
activerecord (~> 4.2, >= 4.2.0)
|
6
|
+
em-http-request (~> 1.1, >= 1.1.2)
|
7
|
+
em-synchrony (~> 1.0, >= 1.0.3)
|
8
|
+
eventmachine (~> 1.0, >= 1.0.3)
|
9
|
+
eventmachine_httpserver (~> 0.2, >= 0.2.1)
|
10
|
+
flavour_saver (~> 0.3, >= 0.3.4)
|
11
|
+
grape (~> 0.10, >= 0.10.1)
|
12
|
+
grape-kaminari (~> 0.1, >= 0.1.7)
|
13
|
+
http_parser.rb (~> 0.6, >= 0.6.0)
|
14
|
+
multi_json (~> 1.10, >= 1.10.1)
|
15
|
+
rack-parser (~> 0.6, >= 0.6.1)
|
16
|
+
shoulda-matchers (= 2.8.0.rc2)
|
17
|
+
sqlite3 (~> 1.3, >= 1.3.10)
|
18
|
+
thin (~> 1.6, >= 1.6.2)
|
19
|
+
thor (~> 0.19, >= 0.19.1)
|
20
20
|
|
21
21
|
GEM
|
22
22
|
remote: https://rubygems.org/
|
23
23
|
specs:
|
24
|
-
actionpack (4.
|
25
|
-
actionview (= 4.
|
26
|
-
activesupport (= 4.
|
27
|
-
rack (~> 1.
|
24
|
+
actionpack (4.2.0)
|
25
|
+
actionview (= 4.2.0)
|
26
|
+
activesupport (= 4.2.0)
|
27
|
+
rack (~> 1.6.0)
|
28
28
|
rack-test (~> 0.6.2)
|
29
|
-
|
30
|
-
|
29
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
30
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
31
|
+
actionview (4.2.0)
|
32
|
+
activesupport (= 4.2.0)
|
31
33
|
builder (~> 3.1)
|
32
34
|
erubis (~> 2.7.0)
|
33
|
-
|
34
|
-
|
35
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
36
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
37
|
+
activemodel (4.2.0)
|
38
|
+
activesupport (= 4.2.0)
|
35
39
|
builder (~> 3.1)
|
36
|
-
activerecord (4.
|
37
|
-
activemodel (= 4.
|
38
|
-
activesupport (= 4.
|
39
|
-
arel (~>
|
40
|
-
activesupport (4.
|
41
|
-
i18n (~> 0.
|
40
|
+
activerecord (4.2.0)
|
41
|
+
activemodel (= 4.2.0)
|
42
|
+
activesupport (= 4.2.0)
|
43
|
+
arel (~> 6.0)
|
44
|
+
activesupport (4.2.0)
|
45
|
+
i18n (~> 0.7)
|
42
46
|
json (~> 1.7, >= 1.7.7)
|
43
47
|
minitest (~> 5.1)
|
44
|
-
thread_safe (~> 0.
|
48
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
45
49
|
tzinfo (~> 1.1)
|
46
50
|
addressable (2.3.6)
|
47
|
-
airborne (0.1.
|
48
|
-
activesupport (>=
|
51
|
+
airborne (0.1.10)
|
52
|
+
activesupport (>= 3.0.0)
|
49
53
|
rack-test (~> 0.6, >= 0.6.2)
|
50
54
|
rest-client (~> 1.7, >= 1.7.2)
|
51
55
|
rspec (~> 3.1, >= 3.1.0)
|
52
|
-
arel (
|
56
|
+
arel (6.0.0)
|
53
57
|
axiom-types (0.1.1)
|
54
58
|
descendants_tracker (~> 0.0.4)
|
55
59
|
ice_nine (~> 0.11.0)
|
@@ -70,7 +74,7 @@ GEM
|
|
70
74
|
coercible (1.0.0)
|
71
75
|
descendants_tracker (~> 0.0.1)
|
72
76
|
cookiejar (0.3.2)
|
73
|
-
cucumber (1.3.
|
77
|
+
cucumber (1.3.18)
|
74
78
|
builder (>= 2.1.2)
|
75
79
|
diff-lcs (>= 1.1.3)
|
76
80
|
gherkin (~> 2.12)
|
@@ -89,20 +93,19 @@ GEM
|
|
89
93
|
http_parser.rb (>= 0.6.0)
|
90
94
|
em-socksify (0.3.0)
|
91
95
|
eventmachine (>= 1.0.0.beta.4)
|
92
|
-
em-synchrony (1.0.
|
96
|
+
em-synchrony (1.0.4)
|
93
97
|
eventmachine (>= 1.0.0.beta.1)
|
94
98
|
equalizer (0.0.9)
|
95
99
|
erubis (2.7.0)
|
96
|
-
eventmachine (1.0.
|
97
|
-
eventmachine (1.0.3-x86-mingw32)
|
100
|
+
eventmachine (1.0.4)
|
98
101
|
eventmachine_httpserver (0.2.1)
|
99
|
-
faker (1.
|
102
|
+
faker (1.4.3)
|
100
103
|
i18n (~> 0.5)
|
101
|
-
faraday (0.9.
|
104
|
+
faraday (0.9.1)
|
102
105
|
multipart-post (>= 1.2, < 3)
|
103
106
|
ffi (1.9.6)
|
104
107
|
ffi (1.9.6-x86-mingw32)
|
105
|
-
flavour_saver (0.3.
|
108
|
+
flavour_saver (0.3.4)
|
106
109
|
rltk (~> 2.2.0)
|
107
110
|
tilt
|
108
111
|
formatador (0.2.5)
|
@@ -110,7 +113,7 @@ GEM
|
|
110
113
|
multi_json (~> 1.3)
|
111
114
|
gherkin (2.12.2-x86-mingw32)
|
112
115
|
multi_json (~> 1.3)
|
113
|
-
grape (0.
|
116
|
+
grape (0.10.1)
|
114
117
|
activesupport
|
115
118
|
builder
|
116
119
|
hashie (>= 2.1.0)
|
@@ -120,42 +123,52 @@ GEM
|
|
120
123
|
rack-accept
|
121
124
|
rack-mount
|
122
125
|
virtus (>= 1.0.0)
|
123
|
-
grape-kaminari (0.1.
|
126
|
+
grape-kaminari (0.1.7)
|
124
127
|
grape
|
125
128
|
kaminari
|
126
|
-
guard (2.
|
129
|
+
guard (2.11.1)
|
127
130
|
formatador (>= 0.2.4)
|
128
131
|
listen (~> 2.7)
|
129
132
|
lumberjack (~> 1.0)
|
133
|
+
nenv (~> 0.1)
|
134
|
+
notiffany (~> 0.0)
|
130
135
|
pry (>= 0.9.12)
|
136
|
+
shellany (~> 0.0)
|
131
137
|
thor (>= 0.18.1)
|
132
|
-
hashie (3.3.
|
138
|
+
hashie (3.3.2)
|
133
139
|
hitimes (1.2.2)
|
140
|
+
hitimes (1.2.2-x86-mingw32)
|
134
141
|
http_parser.rb (0.6.0)
|
135
|
-
i18n (0.
|
136
|
-
ice_nine (0.11.
|
137
|
-
json (1.8.
|
138
|
-
kaminari (0.16.
|
142
|
+
i18n (0.7.0)
|
143
|
+
ice_nine (0.11.1)
|
144
|
+
json (1.8.2)
|
145
|
+
kaminari (0.16.2)
|
139
146
|
actionpack (>= 3.0.0)
|
140
147
|
activesupport (>= 3.0.0)
|
141
|
-
listen (2.
|
148
|
+
listen (2.8.5)
|
142
149
|
celluloid (>= 0.15.2)
|
143
150
|
rb-fsevent (>= 0.9.3)
|
144
151
|
rb-inotify (>= 0.9)
|
152
|
+
loofah (2.0.1)
|
153
|
+
nokogiri (>= 1.5.9)
|
145
154
|
lumberjack (1.0.9)
|
146
155
|
method_source (0.8.2)
|
147
156
|
mime-types (2.4.3)
|
148
|
-
mini_portile (0.6.
|
149
|
-
minitest (5.
|
157
|
+
mini_portile (0.6.2)
|
158
|
+
minitest (5.5.1)
|
150
159
|
multi_json (1.10.1)
|
151
160
|
multi_test (0.1.1)
|
152
161
|
multi_xml (0.5.5)
|
153
162
|
multipart-post (2.0.0)
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
163
|
+
nenv (0.2.0)
|
164
|
+
netrc (0.10.2)
|
165
|
+
nokogiri (1.6.6.2)
|
166
|
+
mini_portile (~> 0.6.0)
|
167
|
+
nokogiri (1.6.6.2-x86-mingw32)
|
168
|
+
mini_portile (~> 0.6.0)
|
169
|
+
notiffany (0.0.3)
|
170
|
+
nenv (~> 0.1)
|
171
|
+
shellany (~> 0.0)
|
159
172
|
poltergeist (1.5.1)
|
160
173
|
capybara (~> 2.1)
|
161
174
|
cliver (~> 0.3.1)
|
@@ -170,16 +183,24 @@ GEM
|
|
170
183
|
method_source (~> 0.8.1)
|
171
184
|
slop (~> 3.4)
|
172
185
|
win32console (~> 1.3)
|
173
|
-
rack (1.
|
186
|
+
rack (1.6.0)
|
174
187
|
rack-accept (0.4.5)
|
175
188
|
rack (>= 0.4)
|
176
189
|
rack-mount (0.8.3)
|
177
190
|
rack (>= 1.0.0)
|
178
191
|
rack-parser (0.6.1)
|
179
192
|
rack
|
180
|
-
rack-test (0.6.
|
193
|
+
rack-test (0.6.3)
|
181
194
|
rack (>= 1.0)
|
182
|
-
|
195
|
+
rails-deprecated_sanitizer (1.0.3)
|
196
|
+
activesupport (>= 4.2.0.alpha)
|
197
|
+
rails-dom-testing (1.0.5)
|
198
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
199
|
+
nokogiri (~> 1.6.0)
|
200
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
201
|
+
rails-html-sanitizer (1.0.1)
|
202
|
+
loofah (~> 2.0)
|
203
|
+
rake (0.9.6)
|
183
204
|
rb-fsevent (0.9.4)
|
184
205
|
rb-inotify (0.9.5)
|
185
206
|
ffi (>= 0.5.0)
|
@@ -206,12 +227,13 @@ GEM
|
|
206
227
|
rspec-support (~> 3.1.0)
|
207
228
|
rspec-support (3.1.2)
|
208
229
|
rubyzip (1.1.6)
|
209
|
-
selenium-webdriver (2.
|
230
|
+
selenium-webdriver (2.44.0)
|
210
231
|
childprocess (~> 0.5)
|
211
232
|
multi_json (~> 1.0)
|
212
233
|
rubyzip (~> 1.0)
|
213
234
|
websocket (~> 1.0)
|
214
|
-
|
235
|
+
shellany (0.0.1)
|
236
|
+
shoulda-matchers (2.8.0.rc2)
|
215
237
|
activesupport (>= 3.0.0)
|
216
238
|
simplecov (0.9.1)
|
217
239
|
docile (~> 1.1.0)
|
@@ -220,7 +242,6 @@ GEM
|
|
220
242
|
simplecov-html (0.8.0)
|
221
243
|
slop (3.6.0)
|
222
244
|
sqlite3 (1.3.10)
|
223
|
-
sqlite3 (1.3.10-x86-mingw32)
|
224
245
|
thin (1.6.3)
|
225
246
|
daemons (~> 1.0, >= 1.0.9)
|
226
247
|
eventmachine (~> 1.0)
|
@@ -232,13 +253,15 @@ GEM
|
|
232
253
|
hitimes
|
233
254
|
tzinfo (1.2.2)
|
234
255
|
thread_safe (~> 0.1)
|
235
|
-
virtus (1.0.
|
256
|
+
virtus (1.0.4)
|
236
257
|
axiom-types (~> 0.1)
|
237
258
|
coercible (~> 1.0)
|
238
259
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
239
260
|
equalizer (~> 0.0, >= 0.0.9)
|
240
261
|
websocket (1.2.1)
|
241
|
-
websocket-driver (0.
|
262
|
+
websocket-driver (0.5.1)
|
263
|
+
websocket-extensions (>= 0.1.0)
|
264
|
+
websocket-extensions (0.1.1)
|
242
265
|
win32console (1.3.2-x86-mingw32)
|
243
266
|
xpath (2.0.0)
|
244
267
|
nokogiri (~> 1.3)
|
@@ -250,20 +273,20 @@ PLATFORMS
|
|
250
273
|
|
251
274
|
DEPENDENCIES
|
252
275
|
agile-proxy!
|
253
|
-
airborne
|
254
|
-
cucumber
|
255
|
-
faker
|
256
|
-
faraday (~> 0.9.0)
|
257
|
-
guard
|
258
|
-
poltergeist
|
259
|
-
pry
|
260
|
-
rack (~> 1.
|
261
|
-
rake
|
262
|
-
rb-inotify
|
263
|
-
require_all
|
264
|
-
rest-client
|
265
|
-
rspec (~> 3.1.0)
|
266
|
-
rspec-mocks (~> 3.1.3)
|
267
|
-
selenium-webdriver (~> 2.43.0)
|
268
|
-
simplecov
|
269
|
-
yard
|
276
|
+
airborne (~> 0.1, >= 0.1.10)
|
277
|
+
cucumber (~> 1.3, >= 1.3.17)
|
278
|
+
faker (~> 1.2, >= 1.2.0)
|
279
|
+
faraday (~> 0.9, >= 0.9.0)
|
280
|
+
guard (~> 2.6, >= 2.6.1)
|
281
|
+
poltergeist (~> 1.5, >= 1.5.1)
|
282
|
+
pry (~> 0)
|
283
|
+
rack (~> 1.6, >= 1.6.0)
|
284
|
+
rake (~> 0)
|
285
|
+
rb-inotify (~> 0.9, >= 0.9.5)
|
286
|
+
require_all (~> 1.3, >= 1.3.2)
|
287
|
+
rest-client (~> 1.7, >= 1.7.2)
|
288
|
+
rspec (~> 3.1, >= 3.1.0)
|
289
|
+
rspec-mocks (~> 3.1, >= 3.1.3)
|
290
|
+
selenium-webdriver (~> 2.43, >= 2.43.0)
|
291
|
+
simplecov (~> 0.9, >= 0.9.1)
|
292
|
+
yard (~> 0.8, >= 0.8)
|
data/README.md
CHANGED
@@ -108,4 +108,5 @@ v0.1.11 Further improved database tidy up.
|
|
108
108
|
AGILE_PROXY_ENV can now set the environment at server startup
|
109
109
|
conditions handling improved in routing
|
110
110
|
v0.1.12 Added a 'Direct' server which is a simple HTTP server that response to the stubs - also allows
|
111
|
-
for static dirs to be hosted.
|
111
|
+
for static dirs to be hosted.
|
112
|
+
v0.1.13 Upgraded activerecord and other gems to later versions
|
data/agile-proxy.gemspec
CHANGED
@@ -15,36 +15,36 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ['lib']
|
16
16
|
gem.version = AgileProxy::VERSION
|
17
17
|
|
18
|
-
gem.add_development_dependency 'rake'
|
19
|
-
gem.add_development_dependency 'rspec', '~> 3.1.0'
|
20
|
-
gem.add_development_dependency 'rspec-mocks', '~> 3.1.3'
|
21
|
-
gem.add_development_dependency 'faraday', '~> 0.9.0'
|
22
|
-
gem.add_development_dependency 'poltergeist'
|
23
|
-
gem.add_development_dependency 'selenium-webdriver', '~> 2.43.0'
|
24
|
-
gem.add_development_dependency 'rack', '~> 1.
|
25
|
-
gem.add_development_dependency 'guard'
|
26
|
-
gem.add_development_dependency 'rb-inotify'
|
27
|
-
gem.add_development_dependency 'pry'
|
28
|
-
gem.add_development_dependency 'cucumber'
|
29
|
-
gem.add_development_dependency 'airborne'
|
30
|
-
gem.add_development_dependency 'rest-client'
|
31
|
-
gem.add_development_dependency 'require_all'
|
32
|
-
gem.add_development_dependency 'faker'
|
33
|
-
gem.add_development_dependency 'yard'
|
34
|
-
gem.add_development_dependency 'simplecov'
|
35
|
-
gem.add_runtime_dependency 'eventmachine', '~> 1.0.3'
|
36
|
-
gem.add_runtime_dependency 'em-synchrony', '~> 1.0.3'
|
37
|
-
gem.add_runtime_dependency 'em-http-request', '~> 1.1.2'
|
38
|
-
gem.add_runtime_dependency 'eventmachine_httpserver', '~> 0.2.1'
|
39
|
-
gem.add_runtime_dependency 'http_parser.rb', '~> 0.6.0'
|
40
|
-
gem.add_runtime_dependency 'multi_json'
|
41
|
-
gem.add_runtime_dependency 'thin', '~> 1.6.2'
|
42
|
-
gem.add_runtime_dependency 'grape', '~> 0.
|
43
|
-
gem.add_runtime_dependency 'activerecord', '~> 4.
|
44
|
-
gem.add_runtime_dependency 'sqlite3', '~> 1.3.10'
|
45
|
-
gem.add_runtime_dependency 'grape-kaminari', '~> 0.1.
|
46
|
-
gem.add_runtime_dependency 'shoulda-matchers'
|
47
|
-
gem.add_runtime_dependency 'flavour_saver'
|
48
|
-
gem.add_runtime_dependency 'thor'
|
49
|
-
gem.add_runtime_dependency 'rack-parser', '~> 0.6.1'
|
18
|
+
gem.add_development_dependency 'rake', '~> 0'
|
19
|
+
gem.add_development_dependency 'rspec', '~> 3.1', '>= 3.1.0'
|
20
|
+
gem.add_development_dependency 'rspec-mocks', '~> 3.1', '>= 3.1.3'
|
21
|
+
gem.add_development_dependency 'faraday', '~> 0.9', '>= 0.9.0'
|
22
|
+
gem.add_development_dependency 'poltergeist', '~> 1.5', '>= 1.5.1'
|
23
|
+
gem.add_development_dependency 'selenium-webdriver', '~> 2.43', '>= 2.43.0'
|
24
|
+
gem.add_development_dependency 'rack', '~> 1.6', '>= 1.6.0'
|
25
|
+
gem.add_development_dependency 'guard', '~> 2.6', '>= 2.6.1'
|
26
|
+
gem.add_development_dependency 'rb-inotify', '~> 0.9', '>= 0.9.5'
|
27
|
+
gem.add_development_dependency 'pry', '~> 0'
|
28
|
+
gem.add_development_dependency 'cucumber', '~> 1.3', '>= 1.3.17'
|
29
|
+
gem.add_development_dependency 'airborne', '~> 0.1', '>= 0.1.10'
|
30
|
+
gem.add_development_dependency 'rest-client', '~> 1.7', '>= 1.7.2'
|
31
|
+
gem.add_development_dependency 'require_all', '~> 1.3', '>= 1.3.2'
|
32
|
+
gem.add_development_dependency 'faker', '~> 1.2', '>= 1.2.0'
|
33
|
+
gem.add_development_dependency 'yard', '~> 0.8', '>= 0.8'
|
34
|
+
gem.add_development_dependency 'simplecov', '~> 0.9', '>= 0.9.1'
|
35
|
+
gem.add_runtime_dependency 'eventmachine', '~> 1.0', '>= 1.0.3'
|
36
|
+
gem.add_runtime_dependency 'em-synchrony', '~> 1.0', '>= 1.0.3'
|
37
|
+
gem.add_runtime_dependency 'em-http-request', '~> 1.1', '>= 1.1.2'
|
38
|
+
gem.add_runtime_dependency 'eventmachine_httpserver', '~> 0.2', '>= 0.2.1'
|
39
|
+
gem.add_runtime_dependency 'http_parser.rb', '~> 0.6', '>= 0.6.0'
|
40
|
+
gem.add_runtime_dependency 'multi_json', '~> 1.10', '>= 1.10.1'
|
41
|
+
gem.add_runtime_dependency 'thin', '~> 1.6', '>= 1.6.2'
|
42
|
+
gem.add_runtime_dependency 'grape', '~> 0.10', '>= 0.10.1'
|
43
|
+
gem.add_runtime_dependency 'activerecord', '~> 4.2', '>= 4.2.0'
|
44
|
+
gem.add_runtime_dependency 'sqlite3', '~> 1.3', '>= 1.3.10'
|
45
|
+
gem.add_runtime_dependency 'grape-kaminari', '~> 0.1', '>= 0.1.7'
|
46
|
+
gem.add_runtime_dependency 'shoulda-matchers', '2.8.0.rc2'
|
47
|
+
gem.add_runtime_dependency 'flavour_saver', '~> 0.3', '>= 0.3.4'
|
48
|
+
gem.add_runtime_dependency 'thor', '~> 0.19', '>= 0.19.1'
|
49
|
+
gem.add_runtime_dependency 'rack-parser', '~> 0.6', '>= 0.6.1'
|
50
50
|
end
|
@@ -62,14 +62,13 @@ module AgileProxy
|
|
62
62
|
route_spec = {
|
63
63
|
path => proc do |router_env|
|
64
64
|
AgileProxy.log(:info, "agile-proxy: STUB #{method} for '#{request.url}'")
|
65
|
-
spec.call(router_env['
|
65
|
+
spec.call(HashWithIndifferentAccess.new(router_env['action_dispatch.request.path_parameters'].merge(router_env['action_dispatch.request.query_parameters']).merge(router_env['action_dispatch.request.request_parameters'])), headers, body)
|
66
66
|
end
|
67
67
|
}
|
68
68
|
route_spec[:constraints] = ->(request) {
|
69
69
|
ret_value = spec.conditions_json.all? do |k, v|
|
70
70
|
request.params.key?(k) && request.params[k] == v
|
71
71
|
end
|
72
|
-
request.env['agile_proxy.parameters'] = request.env['action_dispatch.request.parameters']
|
73
72
|
ret_value
|
74
73
|
}
|
75
74
|
route_set.send method, route_spec
|
data/lib/agile_proxy/version.rb
CHANGED
@@ -75,8 +75,8 @@ shared_examples_for 'a request stub' do |options = {}|
|
|
75
75
|
end
|
76
76
|
it 'Should respond with an error for api/forums/:forum_id/:post_id.html with parameter substitution with a missing query parameter' do
|
77
77
|
resp = http.get '/api/forums/my_forum/my_post.html'
|
78
|
-
expect(resp.body).to eql
|
79
|
-
expect(resp.status).to eql
|
78
|
+
expect(resp.body).to eql '<html><body><h1>Sorted By: </h1><h2>my_forum</h2><h3>my_post</h3></body></html>'
|
79
|
+
expect(resp.status).to eql 200
|
80
80
|
end
|
81
81
|
it 'Should match the route by posted json data and the posted data can be output via the template' do
|
82
82
|
resp = http.post '/api/forums/my_forum', '{"posted_var": "special_value"}', 'Content-Type' => 'application/json'
|
@@ -30,7 +30,7 @@ describe AgileProxy::Response do
|
|
30
30
|
expect(subject.to_rack({ name: 'World' }, {}, '')).to eql([200, { 'Content-Type' => 'text/plain' }, 'Hello World'])
|
31
31
|
end
|
32
32
|
it 'Should deal with if a parameter is missing' do
|
33
|
-
expect(subject.to_rack({}, {}, '')).to eql([
|
33
|
+
expect(subject.to_rack({}, {}, '')).to eql([200, { 'Content-Type' => 'text/plain' }, "Hello "])
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agile-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-28 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
|
@@ -29,6 +29,9 @@ dependencies:
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.1'
|
34
|
+
- - ">="
|
32
35
|
- !ruby/object:Gem::Version
|
33
36
|
version: 3.1.0
|
34
37
|
type: :development
|
@@ -36,6 +39,9 @@ dependencies:
|
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.1'
|
44
|
+
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: 3.1.0
|
41
47
|
- !ruby/object:Gem::Dependency
|
@@ -43,6 +49,9 @@ dependencies:
|
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.1'
|
54
|
+
- - ">="
|
46
55
|
- !ruby/object:Gem::Version
|
47
56
|
version: 3.1.3
|
48
57
|
type: :development
|
@@ -50,6 +59,9 @@ dependencies:
|
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
52
61
|
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3.1'
|
64
|
+
- - ">="
|
53
65
|
- !ruby/object:Gem::Version
|
54
66
|
version: 3.1.3
|
55
67
|
- !ruby/object:Gem::Dependency
|
@@ -57,6 +69,9 @@ dependencies:
|
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
58
70
|
requirements:
|
59
71
|
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0.9'
|
74
|
+
- - ">="
|
60
75
|
- !ruby/object:Gem::Version
|
61
76
|
version: 0.9.0
|
62
77
|
type: :development
|
@@ -64,27 +79,39 @@ dependencies:
|
|
64
79
|
version_requirements: !ruby/object:Gem::Requirement
|
65
80
|
requirements:
|
66
81
|
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.9'
|
84
|
+
- - ">="
|
67
85
|
- !ruby/object:Gem::Version
|
68
86
|
version: 0.9.0
|
69
87
|
- !ruby/object:Gem::Dependency
|
70
88
|
name: poltergeist
|
71
89
|
requirement: !ruby/object:Gem::Requirement
|
72
90
|
requirements:
|
91
|
+
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.5'
|
73
94
|
- - ">="
|
74
95
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
96
|
+
version: 1.5.1
|
76
97
|
type: :development
|
77
98
|
prerelease: false
|
78
99
|
version_requirements: !ruby/object:Gem::Requirement
|
79
100
|
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.5'
|
80
104
|
- - ">="
|
81
105
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
106
|
+
version: 1.5.1
|
83
107
|
- !ruby/object:Gem::Dependency
|
84
108
|
name: selenium-webdriver
|
85
109
|
requirement: !ruby/object:Gem::Requirement
|
86
110
|
requirements:
|
87
111
|
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '2.43'
|
114
|
+
- - ">="
|
88
115
|
- !ruby/object:Gem::Version
|
89
116
|
version: 2.43.0
|
90
117
|
type: :development
|
@@ -92,6 +119,9 @@ dependencies:
|
|
92
119
|
version_requirements: !ruby/object:Gem::Requirement
|
93
120
|
requirements:
|
94
121
|
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '2.43'
|
124
|
+
- - ">="
|
95
125
|
- !ruby/object:Gem::Version
|
96
126
|
version: 2.43.0
|
97
127
|
- !ruby/object:Gem::Dependency
|
@@ -100,159 +130,222 @@ dependencies:
|
|
100
130
|
requirements:
|
101
131
|
- - "~>"
|
102
132
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
133
|
+
version: '1.6'
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 1.6.0
|
104
137
|
type: :development
|
105
138
|
prerelease: false
|
106
139
|
version_requirements: !ruby/object:Gem::Requirement
|
107
140
|
requirements:
|
108
141
|
- - "~>"
|
109
142
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
143
|
+
version: '1.6'
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 1.6.0
|
111
147
|
- !ruby/object:Gem::Dependency
|
112
148
|
name: guard
|
113
149
|
requirement: !ruby/object:Gem::Requirement
|
114
150
|
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '2.6'
|
115
154
|
- - ">="
|
116
155
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
156
|
+
version: 2.6.1
|
118
157
|
type: :development
|
119
158
|
prerelease: false
|
120
159
|
version_requirements: !ruby/object:Gem::Requirement
|
121
160
|
requirements:
|
161
|
+
- - "~>"
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '2.6'
|
122
164
|
- - ">="
|
123
165
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
166
|
+
version: 2.6.1
|
125
167
|
- !ruby/object:Gem::Dependency
|
126
168
|
name: rb-inotify
|
127
169
|
requirement: !ruby/object:Gem::Requirement
|
128
170
|
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.9'
|
129
174
|
- - ">="
|
130
175
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
176
|
+
version: 0.9.5
|
132
177
|
type: :development
|
133
178
|
prerelease: false
|
134
179
|
version_requirements: !ruby/object:Gem::Requirement
|
135
180
|
requirements:
|
181
|
+
- - "~>"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0.9'
|
136
184
|
- - ">="
|
137
185
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
186
|
+
version: 0.9.5
|
139
187
|
- !ruby/object:Gem::Dependency
|
140
188
|
name: pry
|
141
189
|
requirement: !ruby/object:Gem::Requirement
|
142
190
|
requirements:
|
143
|
-
- - "
|
191
|
+
- - "~>"
|
144
192
|
- !ruby/object:Gem::Version
|
145
193
|
version: '0'
|
146
194
|
type: :development
|
147
195
|
prerelease: false
|
148
196
|
version_requirements: !ruby/object:Gem::Requirement
|
149
197
|
requirements:
|
150
|
-
- - "
|
198
|
+
- - "~>"
|
151
199
|
- !ruby/object:Gem::Version
|
152
200
|
version: '0'
|
153
201
|
- !ruby/object:Gem::Dependency
|
154
202
|
name: cucumber
|
155
203
|
requirement: !ruby/object:Gem::Requirement
|
156
204
|
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '1.3'
|
157
208
|
- - ">="
|
158
209
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
210
|
+
version: 1.3.17
|
160
211
|
type: :development
|
161
212
|
prerelease: false
|
162
213
|
version_requirements: !ruby/object:Gem::Requirement
|
163
214
|
requirements:
|
215
|
+
- - "~>"
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: '1.3'
|
164
218
|
- - ">="
|
165
219
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
220
|
+
version: 1.3.17
|
167
221
|
- !ruby/object:Gem::Dependency
|
168
222
|
name: airborne
|
169
223
|
requirement: !ruby/object:Gem::Requirement
|
170
224
|
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0.1'
|
171
228
|
- - ">="
|
172
229
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
230
|
+
version: 0.1.10
|
174
231
|
type: :development
|
175
232
|
prerelease: false
|
176
233
|
version_requirements: !ruby/object:Gem::Requirement
|
177
234
|
requirements:
|
235
|
+
- - "~>"
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0.1'
|
178
238
|
- - ">="
|
179
239
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
240
|
+
version: 0.1.10
|
181
241
|
- !ruby/object:Gem::Dependency
|
182
242
|
name: rest-client
|
183
243
|
requirement: !ruby/object:Gem::Requirement
|
184
244
|
requirements:
|
245
|
+
- - "~>"
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '1.7'
|
185
248
|
- - ">="
|
186
249
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
250
|
+
version: 1.7.2
|
188
251
|
type: :development
|
189
252
|
prerelease: false
|
190
253
|
version_requirements: !ruby/object:Gem::Requirement
|
191
254
|
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '1.7'
|
192
258
|
- - ">="
|
193
259
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
260
|
+
version: 1.7.2
|
195
261
|
- !ruby/object:Gem::Dependency
|
196
262
|
name: require_all
|
197
263
|
requirement: !ruby/object:Gem::Requirement
|
198
264
|
requirements:
|
265
|
+
- - "~>"
|
266
|
+
- !ruby/object:Gem::Version
|
267
|
+
version: '1.3'
|
199
268
|
- - ">="
|
200
269
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
270
|
+
version: 1.3.2
|
202
271
|
type: :development
|
203
272
|
prerelease: false
|
204
273
|
version_requirements: !ruby/object:Gem::Requirement
|
205
274
|
requirements:
|
275
|
+
- - "~>"
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '1.3'
|
206
278
|
- - ">="
|
207
279
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
280
|
+
version: 1.3.2
|
209
281
|
- !ruby/object:Gem::Dependency
|
210
282
|
name: faker
|
211
283
|
requirement: !ruby/object:Gem::Requirement
|
212
284
|
requirements:
|
285
|
+
- - "~>"
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: '1.2'
|
213
288
|
- - ">="
|
214
289
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
290
|
+
version: 1.2.0
|
216
291
|
type: :development
|
217
292
|
prerelease: false
|
218
293
|
version_requirements: !ruby/object:Gem::Requirement
|
219
294
|
requirements:
|
295
|
+
- - "~>"
|
296
|
+
- !ruby/object:Gem::Version
|
297
|
+
version: '1.2'
|
220
298
|
- - ">="
|
221
299
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
300
|
+
version: 1.2.0
|
223
301
|
- !ruby/object:Gem::Dependency
|
224
302
|
name: yard
|
225
303
|
requirement: !ruby/object:Gem::Requirement
|
226
304
|
requirements:
|
305
|
+
- - "~>"
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: '0.8'
|
227
308
|
- - ">="
|
228
309
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0'
|
310
|
+
version: '0.8'
|
230
311
|
type: :development
|
231
312
|
prerelease: false
|
232
313
|
version_requirements: !ruby/object:Gem::Requirement
|
233
314
|
requirements:
|
315
|
+
- - "~>"
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0.8'
|
234
318
|
- - ">="
|
235
319
|
- !ruby/object:Gem::Version
|
236
|
-
version: '0'
|
320
|
+
version: '0.8'
|
237
321
|
- !ruby/object:Gem::Dependency
|
238
322
|
name: simplecov
|
239
323
|
requirement: !ruby/object:Gem::Requirement
|
240
324
|
requirements:
|
325
|
+
- - "~>"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0.9'
|
241
328
|
- - ">="
|
242
329
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
330
|
+
version: 0.9.1
|
244
331
|
type: :development
|
245
332
|
prerelease: false
|
246
333
|
version_requirements: !ruby/object:Gem::Requirement
|
247
334
|
requirements:
|
335
|
+
- - "~>"
|
336
|
+
- !ruby/object:Gem::Version
|
337
|
+
version: '0.9'
|
248
338
|
- - ">="
|
249
339
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
340
|
+
version: 0.9.1
|
251
341
|
- !ruby/object:Gem::Dependency
|
252
342
|
name: eventmachine
|
253
343
|
requirement: !ruby/object:Gem::Requirement
|
254
344
|
requirements:
|
255
345
|
- - "~>"
|
346
|
+
- !ruby/object:Gem::Version
|
347
|
+
version: '1.0'
|
348
|
+
- - ">="
|
256
349
|
- !ruby/object:Gem::Version
|
257
350
|
version: 1.0.3
|
258
351
|
type: :runtime
|
@@ -260,6 +353,9 @@ dependencies:
|
|
260
353
|
version_requirements: !ruby/object:Gem::Requirement
|
261
354
|
requirements:
|
262
355
|
- - "~>"
|
356
|
+
- !ruby/object:Gem::Version
|
357
|
+
version: '1.0'
|
358
|
+
- - ">="
|
263
359
|
- !ruby/object:Gem::Version
|
264
360
|
version: 1.0.3
|
265
361
|
- !ruby/object:Gem::Dependency
|
@@ -267,6 +363,9 @@ dependencies:
|
|
267
363
|
requirement: !ruby/object:Gem::Requirement
|
268
364
|
requirements:
|
269
365
|
- - "~>"
|
366
|
+
- !ruby/object:Gem::Version
|
367
|
+
version: '1.0'
|
368
|
+
- - ">="
|
270
369
|
- !ruby/object:Gem::Version
|
271
370
|
version: 1.0.3
|
272
371
|
type: :runtime
|
@@ -274,6 +373,9 @@ dependencies:
|
|
274
373
|
version_requirements: !ruby/object:Gem::Requirement
|
275
374
|
requirements:
|
276
375
|
- - "~>"
|
376
|
+
- !ruby/object:Gem::Version
|
377
|
+
version: '1.0'
|
378
|
+
- - ">="
|
277
379
|
- !ruby/object:Gem::Version
|
278
380
|
version: 1.0.3
|
279
381
|
- !ruby/object:Gem::Dependency
|
@@ -281,6 +383,9 @@ dependencies:
|
|
281
383
|
requirement: !ruby/object:Gem::Requirement
|
282
384
|
requirements:
|
283
385
|
- - "~>"
|
386
|
+
- !ruby/object:Gem::Version
|
387
|
+
version: '1.1'
|
388
|
+
- - ">="
|
284
389
|
- !ruby/object:Gem::Version
|
285
390
|
version: 1.1.2
|
286
391
|
type: :runtime
|
@@ -288,6 +393,9 @@ dependencies:
|
|
288
393
|
version_requirements: !ruby/object:Gem::Requirement
|
289
394
|
requirements:
|
290
395
|
- - "~>"
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '1.1'
|
398
|
+
- - ">="
|
291
399
|
- !ruby/object:Gem::Version
|
292
400
|
version: 1.1.2
|
293
401
|
- !ruby/object:Gem::Dependency
|
@@ -295,6 +403,9 @@ dependencies:
|
|
295
403
|
requirement: !ruby/object:Gem::Requirement
|
296
404
|
requirements:
|
297
405
|
- - "~>"
|
406
|
+
- !ruby/object:Gem::Version
|
407
|
+
version: '0.2'
|
408
|
+
- - ">="
|
298
409
|
- !ruby/object:Gem::Version
|
299
410
|
version: 0.2.1
|
300
411
|
type: :runtime
|
@@ -302,6 +413,9 @@ dependencies:
|
|
302
413
|
version_requirements: !ruby/object:Gem::Requirement
|
303
414
|
requirements:
|
304
415
|
- - "~>"
|
416
|
+
- !ruby/object:Gem::Version
|
417
|
+
version: '0.2'
|
418
|
+
- - ">="
|
305
419
|
- !ruby/object:Gem::Version
|
306
420
|
version: 0.2.1
|
307
421
|
- !ruby/object:Gem::Dependency
|
@@ -309,6 +423,9 @@ dependencies:
|
|
309
423
|
requirement: !ruby/object:Gem::Requirement
|
310
424
|
requirements:
|
311
425
|
- - "~>"
|
426
|
+
- !ruby/object:Gem::Version
|
427
|
+
version: '0.6'
|
428
|
+
- - ">="
|
312
429
|
- !ruby/object:Gem::Version
|
313
430
|
version: 0.6.0
|
314
431
|
type: :runtime
|
@@ -316,27 +433,39 @@ dependencies:
|
|
316
433
|
version_requirements: !ruby/object:Gem::Requirement
|
317
434
|
requirements:
|
318
435
|
- - "~>"
|
436
|
+
- !ruby/object:Gem::Version
|
437
|
+
version: '0.6'
|
438
|
+
- - ">="
|
319
439
|
- !ruby/object:Gem::Version
|
320
440
|
version: 0.6.0
|
321
441
|
- !ruby/object:Gem::Dependency
|
322
442
|
name: multi_json
|
323
443
|
requirement: !ruby/object:Gem::Requirement
|
324
444
|
requirements:
|
445
|
+
- - "~>"
|
446
|
+
- !ruby/object:Gem::Version
|
447
|
+
version: '1.10'
|
325
448
|
- - ">="
|
326
449
|
- !ruby/object:Gem::Version
|
327
|
-
version:
|
450
|
+
version: 1.10.1
|
328
451
|
type: :runtime
|
329
452
|
prerelease: false
|
330
453
|
version_requirements: !ruby/object:Gem::Requirement
|
331
454
|
requirements:
|
455
|
+
- - "~>"
|
456
|
+
- !ruby/object:Gem::Version
|
457
|
+
version: '1.10'
|
332
458
|
- - ">="
|
333
459
|
- !ruby/object:Gem::Version
|
334
|
-
version:
|
460
|
+
version: 1.10.1
|
335
461
|
- !ruby/object:Gem::Dependency
|
336
462
|
name: thin
|
337
463
|
requirement: !ruby/object:Gem::Requirement
|
338
464
|
requirements:
|
339
465
|
- - "~>"
|
466
|
+
- !ruby/object:Gem::Version
|
467
|
+
version: '1.6'
|
468
|
+
- - ">="
|
340
469
|
- !ruby/object:Gem::Version
|
341
470
|
version: 1.6.2
|
342
471
|
type: :runtime
|
@@ -344,6 +473,9 @@ dependencies:
|
|
344
473
|
version_requirements: !ruby/object:Gem::Requirement
|
345
474
|
requirements:
|
346
475
|
- - "~>"
|
476
|
+
- !ruby/object:Gem::Version
|
477
|
+
version: '1.6'
|
478
|
+
- - ">="
|
347
479
|
- !ruby/object:Gem::Version
|
348
480
|
version: 1.6.2
|
349
481
|
- !ruby/object:Gem::Dependency
|
@@ -352,33 +484,48 @@ dependencies:
|
|
352
484
|
requirements:
|
353
485
|
- - "~>"
|
354
486
|
- !ruby/object:Gem::Version
|
355
|
-
version: 0.
|
487
|
+
version: '0.10'
|
488
|
+
- - ">="
|
489
|
+
- !ruby/object:Gem::Version
|
490
|
+
version: 0.10.1
|
356
491
|
type: :runtime
|
357
492
|
prerelease: false
|
358
493
|
version_requirements: !ruby/object:Gem::Requirement
|
359
494
|
requirements:
|
360
495
|
- - "~>"
|
361
496
|
- !ruby/object:Gem::Version
|
362
|
-
version: 0.
|
497
|
+
version: '0.10'
|
498
|
+
- - ">="
|
499
|
+
- !ruby/object:Gem::Version
|
500
|
+
version: 0.10.1
|
363
501
|
- !ruby/object:Gem::Dependency
|
364
502
|
name: activerecord
|
365
503
|
requirement: !ruby/object:Gem::Requirement
|
366
504
|
requirements:
|
367
505
|
- - "~>"
|
368
506
|
- !ruby/object:Gem::Version
|
369
|
-
version: 4.
|
507
|
+
version: '4.2'
|
508
|
+
- - ">="
|
509
|
+
- !ruby/object:Gem::Version
|
510
|
+
version: 4.2.0
|
370
511
|
type: :runtime
|
371
512
|
prerelease: false
|
372
513
|
version_requirements: !ruby/object:Gem::Requirement
|
373
514
|
requirements:
|
374
515
|
- - "~>"
|
375
516
|
- !ruby/object:Gem::Version
|
376
|
-
version: 4.
|
517
|
+
version: '4.2'
|
518
|
+
- - ">="
|
519
|
+
- !ruby/object:Gem::Version
|
520
|
+
version: 4.2.0
|
377
521
|
- !ruby/object:Gem::Dependency
|
378
522
|
name: sqlite3
|
379
523
|
requirement: !ruby/object:Gem::Requirement
|
380
524
|
requirements:
|
381
525
|
- - "~>"
|
526
|
+
- !ruby/object:Gem::Version
|
527
|
+
version: '1.3'
|
528
|
+
- - ">="
|
382
529
|
- !ruby/object:Gem::Version
|
383
530
|
version: 1.3.10
|
384
531
|
type: :runtime
|
@@ -386,6 +533,9 @@ dependencies:
|
|
386
533
|
version_requirements: !ruby/object:Gem::Requirement
|
387
534
|
requirements:
|
388
535
|
- - "~>"
|
536
|
+
- !ruby/object:Gem::Version
|
537
|
+
version: '1.3'
|
538
|
+
- - ">="
|
389
539
|
- !ruby/object:Gem::Version
|
390
540
|
version: 1.3.10
|
391
541
|
- !ruby/object:Gem::Dependency
|
@@ -394,61 +544,82 @@ dependencies:
|
|
394
544
|
requirements:
|
395
545
|
- - "~>"
|
396
546
|
- !ruby/object:Gem::Version
|
397
|
-
version: 0.1
|
547
|
+
version: '0.1'
|
548
|
+
- - ">="
|
549
|
+
- !ruby/object:Gem::Version
|
550
|
+
version: 0.1.7
|
398
551
|
type: :runtime
|
399
552
|
prerelease: false
|
400
553
|
version_requirements: !ruby/object:Gem::Requirement
|
401
554
|
requirements:
|
402
555
|
- - "~>"
|
403
556
|
- !ruby/object:Gem::Version
|
404
|
-
version: 0.1
|
557
|
+
version: '0.1'
|
558
|
+
- - ">="
|
559
|
+
- !ruby/object:Gem::Version
|
560
|
+
version: 0.1.7
|
405
561
|
- !ruby/object:Gem::Dependency
|
406
562
|
name: shoulda-matchers
|
407
563
|
requirement: !ruby/object:Gem::Requirement
|
408
564
|
requirements:
|
409
|
-
- -
|
565
|
+
- - '='
|
410
566
|
- !ruby/object:Gem::Version
|
411
|
-
version:
|
567
|
+
version: 2.8.0.rc2
|
412
568
|
type: :runtime
|
413
569
|
prerelease: false
|
414
570
|
version_requirements: !ruby/object:Gem::Requirement
|
415
571
|
requirements:
|
416
|
-
- -
|
572
|
+
- - '='
|
417
573
|
- !ruby/object:Gem::Version
|
418
|
-
version:
|
574
|
+
version: 2.8.0.rc2
|
419
575
|
- !ruby/object:Gem::Dependency
|
420
576
|
name: flavour_saver
|
421
577
|
requirement: !ruby/object:Gem::Requirement
|
422
578
|
requirements:
|
579
|
+
- - "~>"
|
580
|
+
- !ruby/object:Gem::Version
|
581
|
+
version: '0.3'
|
423
582
|
- - ">="
|
424
583
|
- !ruby/object:Gem::Version
|
425
|
-
version:
|
584
|
+
version: 0.3.4
|
426
585
|
type: :runtime
|
427
586
|
prerelease: false
|
428
587
|
version_requirements: !ruby/object:Gem::Requirement
|
429
588
|
requirements:
|
589
|
+
- - "~>"
|
590
|
+
- !ruby/object:Gem::Version
|
591
|
+
version: '0.3'
|
430
592
|
- - ">="
|
431
593
|
- !ruby/object:Gem::Version
|
432
|
-
version:
|
594
|
+
version: 0.3.4
|
433
595
|
- !ruby/object:Gem::Dependency
|
434
596
|
name: thor
|
435
597
|
requirement: !ruby/object:Gem::Requirement
|
436
598
|
requirements:
|
599
|
+
- - "~>"
|
600
|
+
- !ruby/object:Gem::Version
|
601
|
+
version: '0.19'
|
437
602
|
- - ">="
|
438
603
|
- !ruby/object:Gem::Version
|
439
|
-
version:
|
604
|
+
version: 0.19.1
|
440
605
|
type: :runtime
|
441
606
|
prerelease: false
|
442
607
|
version_requirements: !ruby/object:Gem::Requirement
|
443
608
|
requirements:
|
609
|
+
- - "~>"
|
610
|
+
- !ruby/object:Gem::Version
|
611
|
+
version: '0.19'
|
444
612
|
- - ">="
|
445
613
|
- !ruby/object:Gem::Version
|
446
|
-
version:
|
614
|
+
version: 0.19.1
|
447
615
|
- !ruby/object:Gem::Dependency
|
448
616
|
name: rack-parser
|
449
617
|
requirement: !ruby/object:Gem::Requirement
|
450
618
|
requirements:
|
451
619
|
- - "~>"
|
620
|
+
- !ruby/object:Gem::Version
|
621
|
+
version: '0.6'
|
622
|
+
- - ">="
|
452
623
|
- !ruby/object:Gem::Version
|
453
624
|
version: 0.6.1
|
454
625
|
type: :runtime
|
@@ -456,6 +627,9 @@ dependencies:
|
|
456
627
|
version_requirements: !ruby/object:Gem::Requirement
|
457
628
|
requirements:
|
458
629
|
- - "~>"
|
630
|
+
- !ruby/object:Gem::Version
|
631
|
+
version: '0.6'
|
632
|
+
- - ">="
|
459
633
|
- !ruby/object:Gem::Version
|
460
634
|
version: 0.6.1
|
461
635
|
description: An agile, programmable, controllable proxy server for use standalone
|