vayacondios-server 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/config/vayacondios.example.yaml +1 -1
- data/config/vayacondios.yaml +1 -1
- data/lib/vayacondios/server/rack/jsonize.rb +5 -1
- data/lib/vayacondios/version.rb +1 -1
- metadata +4 -32
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzRmOTU2YjY4MjgxNjhkNGYxZTRmNTg2OWQzNjJlODZhMzc1YzJmOQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTdhOTVkYmE2MTdjYjJhYjcxOGJmMTYyYTJkOTk1NmExMTlhYmUyYw==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZjRlNjEyMDY4Y2E2NzI0MDc0M2MwMDUzZGYwY2EwZWJiYTQ3ZDViZGEyMTdk
|
10
|
+
ZjNhMzg1M2NiY2I3MzZhOWY4YWU3ODQ5NDM4YzllNzRlN2Y4ZjNhOWY1YWMz
|
11
|
+
NTkwNDg2ZjM0MzExODBjYzVlZjhiNGU0YjgyZTYzZDM0Y2E4N2I=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NDZlY2I2N2I3YzNkODBlYTEyN2EyOTkxM2YwM2JhNzAzNmQ0ZTkzYjVlNTc0
|
14
|
+
ZDBlMmJkNGU2ZTE0YjY5NzlhZDEwODJlMGNiNzUxZjZlMWJjMGIwOTFiNTlh
|
15
|
+
ZTJkOTYyZGMzZmIxZTQ5NmUyN2QwMjZiZjc5NzAwODU1NTExN2I=
|
data/config/vayacondios.yaml
CHANGED
@@ -22,6 +22,10 @@ class Vayacondios
|
|
22
22
|
# Will *not* do this if the request was sent to `/status` which
|
23
23
|
# is expected to just return the string `OK`.
|
24
24
|
#
|
25
|
+
# As per Infomart, the client expects an empty string when there is no body to
|
26
|
+
# return. This does not conform to proper JSON spec and will be an improper response
|
27
|
+
# for most other users.
|
28
|
+
#
|
25
29
|
# @param [Hash] env the request environment
|
26
30
|
# @param [Integer] status the HTTP status code of the response
|
27
31
|
# @param [Hash] headers the HTTP headers of the response
|
@@ -30,7 +34,7 @@ class Vayacondios
|
|
30
34
|
def post_process(env, status, headers, body)
|
31
35
|
return [status, headers, body] if env["REQUEST_PATH"] == '/status'
|
32
36
|
headers['Content-Type'] = 'application/json'
|
33
|
-
body
|
37
|
+
body = body.nil? ? [''] : [MultiJson.encode(body)]
|
34
38
|
[status, headers, body]
|
35
39
|
end
|
36
40
|
|
data/lib/vayacondios/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vayacondios-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.11
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Philip (flip) Kromer
|
@@ -17,7 +16,6 @@ dependencies:
|
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: configliere
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
20
|
- - ! '>='
|
23
21
|
- !ruby/object:Gem::Version
|
@@ -25,7 +23,6 @@ dependencies:
|
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
27
|
- - ! '>='
|
31
28
|
- !ruby/object:Gem::Version
|
@@ -33,7 +30,6 @@ dependencies:
|
|
33
30
|
- !ruby/object:Gem::Dependency
|
34
31
|
name: gorillib
|
35
32
|
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
33
|
requirements:
|
38
34
|
- - ! '>='
|
39
35
|
- !ruby/object:Gem::Version
|
@@ -41,7 +37,6 @@ dependencies:
|
|
41
37
|
type: :runtime
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
41
|
- - ! '>='
|
47
42
|
- !ruby/object:Gem::Version
|
@@ -49,7 +44,6 @@ dependencies:
|
|
49
44
|
- !ruby/object:Gem::Dependency
|
50
45
|
name: multi_json
|
51
46
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
47
|
requirements:
|
54
48
|
- - ! '>='
|
55
49
|
- !ruby/object:Gem::Version
|
@@ -57,7 +51,6 @@ dependencies:
|
|
57
51
|
type: :runtime
|
58
52
|
prerelease: false
|
59
53
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
54
|
requirements:
|
62
55
|
- - ! '>='
|
63
56
|
- !ruby/object:Gem::Version
|
@@ -65,7 +58,6 @@ dependencies:
|
|
65
58
|
- !ruby/object:Gem::Dependency
|
66
59
|
name: eventmachine
|
67
60
|
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
61
|
requirements:
|
70
62
|
- - ~>
|
71
63
|
- !ruby/object:Gem::Version
|
@@ -73,7 +65,6 @@ dependencies:
|
|
73
65
|
type: :runtime
|
74
66
|
prerelease: false
|
75
67
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
68
|
requirements:
|
78
69
|
- - ~>
|
79
70
|
- !ruby/object:Gem::Version
|
@@ -81,7 +72,6 @@ dependencies:
|
|
81
72
|
- !ruby/object:Gem::Dependency
|
82
73
|
name: goliath
|
83
74
|
requirement: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
75
|
requirements:
|
86
76
|
- - ~>
|
87
77
|
- !ruby/object:Gem::Version
|
@@ -89,7 +79,6 @@ dependencies:
|
|
89
79
|
type: :runtime
|
90
80
|
prerelease: false
|
91
81
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
82
|
requirements:
|
94
83
|
- - ~>
|
95
84
|
- !ruby/object:Gem::Version
|
@@ -97,7 +86,6 @@ dependencies:
|
|
97
86
|
- !ruby/object:Gem::Dependency
|
98
87
|
name: em-http-request
|
99
88
|
requirement: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
89
|
requirements:
|
102
90
|
- - ~>
|
103
91
|
- !ruby/object:Gem::Version
|
@@ -105,7 +93,6 @@ dependencies:
|
|
105
93
|
type: :runtime
|
106
94
|
prerelease: false
|
107
95
|
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
96
|
requirements:
|
110
97
|
- - ~>
|
111
98
|
- !ruby/object:Gem::Version
|
@@ -113,7 +100,6 @@ dependencies:
|
|
113
100
|
- !ruby/object:Gem::Dependency
|
114
101
|
name: em-mongo
|
115
102
|
requirement: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
103
|
requirements:
|
118
104
|
- - ~>
|
119
105
|
- !ruby/object:Gem::Version
|
@@ -121,7 +107,6 @@ dependencies:
|
|
121
107
|
type: :runtime
|
122
108
|
prerelease: false
|
123
109
|
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
110
|
requirements:
|
126
111
|
- - ~>
|
127
112
|
- !ruby/object:Gem::Version
|
@@ -129,7 +114,6 @@ dependencies:
|
|
129
114
|
- !ruby/object:Gem::Dependency
|
130
115
|
name: foreman
|
131
116
|
requirement: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
117
|
requirements:
|
134
118
|
- - ! '>='
|
135
119
|
- !ruby/object:Gem::Version
|
@@ -137,7 +121,6 @@ dependencies:
|
|
137
121
|
type: :runtime
|
138
122
|
prerelease: false
|
139
123
|
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
124
|
requirements:
|
142
125
|
- - ! '>='
|
143
126
|
- !ruby/object:Gem::Version
|
@@ -145,7 +128,6 @@ dependencies:
|
|
145
128
|
- !ruby/object:Gem::Dependency
|
146
129
|
name: rake
|
147
130
|
requirement: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
131
|
requirements:
|
150
132
|
- - ! '>='
|
151
133
|
- !ruby/object:Gem::Version
|
@@ -153,7 +135,6 @@ dependencies:
|
|
153
135
|
type: :development
|
154
136
|
prerelease: false
|
155
137
|
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
138
|
requirements:
|
158
139
|
- - ! '>='
|
159
140
|
- !ruby/object:Gem::Version
|
@@ -161,7 +142,6 @@ dependencies:
|
|
161
142
|
- !ruby/object:Gem::Dependency
|
162
143
|
name: mongo
|
163
144
|
requirement: !ruby/object:Gem::Requirement
|
164
|
-
none: false
|
165
145
|
requirements:
|
166
146
|
- - ! '>='
|
167
147
|
- !ruby/object:Gem::Version
|
@@ -169,7 +149,6 @@ dependencies:
|
|
169
149
|
type: :development
|
170
150
|
prerelease: false
|
171
151
|
version_requirements: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
152
|
requirements:
|
174
153
|
- - ! '>='
|
175
154
|
- !ruby/object:Gem::Version
|
@@ -268,33 +247,26 @@ files:
|
|
268
247
|
- vayacondios-server.gemspec
|
269
248
|
homepage: https://github.com/infochimps-labs/vayacondios
|
270
249
|
licenses: []
|
250
|
+
metadata: {}
|
271
251
|
post_install_message:
|
272
252
|
rdoc_options: []
|
273
253
|
require_paths:
|
274
254
|
- lib
|
275
255
|
required_ruby_version: !ruby/object:Gem::Requirement
|
276
|
-
none: false
|
277
256
|
requirements:
|
278
257
|
- - ! '>='
|
279
258
|
- !ruby/object:Gem::Version
|
280
259
|
version: '0'
|
281
|
-
segments:
|
282
|
-
- 0
|
283
|
-
hash: -2113008710275106167
|
284
260
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
285
|
-
none: false
|
286
261
|
requirements:
|
287
262
|
- - ! '>='
|
288
263
|
- !ruby/object:Gem::Version
|
289
264
|
version: '0'
|
290
|
-
segments:
|
291
|
-
- 0
|
292
|
-
hash: -2113008710275106167
|
293
265
|
requirements: []
|
294
266
|
rubyforge_project:
|
295
|
-
rubygems_version:
|
267
|
+
rubygems_version: 2.0.5
|
296
268
|
signing_key:
|
297
|
-
specification_version:
|
269
|
+
specification_version: 4
|
298
270
|
summary: Data goes in. The right thing happens
|
299
271
|
test_files:
|
300
272
|
- spec/client/itemset_legacy_spec.rb
|