alephant-broker 3.5.4 → 3.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50561e06a4d8eb481476abef767fc2f911aa0c6c
4
- data.tar.gz: 28bf088f6451659af364197641ec9690fd8b3e99
3
+ metadata.gz: 05c6adac26727c40736d51d7819bc2a3274f2c2e
4
+ data.tar.gz: e077559f777a6b5c33acdf790c7f4f74a7ac023a
5
5
  SHA512:
6
- metadata.gz: fda6c955738592a0e5d4c6ed7f20022b619dc01d2fffd7e69cd9cca68e195d04530b96409455b80a88ba19ac51e039503b7c0276f161b51920a77ab219179916
7
- data.tar.gz: 22ec87eec245caeaf38f1d0e5d6863836f67af5c821bbd49f3b3cea06c70cc4aabbca71899ea3e56210c644b34cead039c16216640af2c9dcb8deb1ab170f4c0
6
+ metadata.gz: 725b00c3beb5ae0f2af61941f028c0394076f2d04e34e9d1cf7310ad77650bba1581e35e018994238b14d3d8ac67ef732dff319853b7e4b17c2d282eb137cb64
7
+ data.tar.gz: 2de20236cba6ee24b20e46d973d8304313e0263345c18187396a357a2279c89640a09b9102edaec984b81f29b706ce92713ec7f811c26b83b939ed9ddca6c31a
@@ -48,8 +48,8 @@ module Alephant
48
48
 
49
49
  def parse(json)
50
50
  begin
51
- JSON.parse(json)
52
- rescue JSON::ParserError => e
51
+ ::JSON.parse(json)
52
+ rescue ::JSON::ParserError => e
53
53
  logger.warn "Broker.environment#data: ParserError"
54
54
  logger.metric "JSONParserError"
55
55
  nil
@@ -16,7 +16,7 @@ module Alephant
16
16
  end
17
17
 
18
18
  def setup
19
- @content = JSON.generate({
19
+ @content = ::JSON.generate({
20
20
  'batch_id' => batch_id,
21
21
  'components' => json
22
22
  })
@@ -41,4 +41,3 @@ module Alephant
41
41
  end
42
42
  end
43
43
  end
44
-
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "3.5.4"
3
+ VERSION = "3.5.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,279 +1,279 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.4
4
+ version: 3.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC News
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-01 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: rspec
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - '>='
17
+ - - ">="
17
18
  - !ruby/object:Gem::Version
18
19
  version: '0'
19
- name: rspec
20
- prerelease: false
21
20
  type: :development
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
+ name: rspec-nc
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - '>='
31
+ - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
- name: rspec-nc
34
- prerelease: false
35
34
  type: :development
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: guard
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - '>='
45
+ - - ">="
45
46
  - !ruby/object:Gem::Version
46
47
  version: '0'
47
- name: guard
48
- prerelease: false
49
48
  type: :development
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: guard-rspec
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - '>='
59
+ - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- name: guard-rspec
62
- prerelease: false
63
62
  type: :development
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
+ name: pry
70
71
  requirement: !ruby/object:Gem::Requirement
71
72
  requirements:
72
- - - '>='
73
+ - - ">="
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
75
- name: pry
76
- prerelease: false
77
76
  type: :development
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
+ name: pry-remote
84
85
  requirement: !ruby/object:Gem::Requirement
85
86
  requirements:
86
- - - '>='
87
+ - - ">="
87
88
  - !ruby/object:Gem::Version
88
89
  version: '0'
89
- name: pry-remote
90
- prerelease: false
91
90
  type: :development
91
+ prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
+ name: pry-nav
98
99
  requirement: !ruby/object:Gem::Requirement
99
100
  requirements:
100
- - - '>='
101
+ - - ">="
101
102
  - !ruby/object:Gem::Version
102
103
  version: '0'
103
- name: pry-nav
104
- prerelease: false
105
104
  type: :development
105
+ prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
+ name: rake-rspec
112
113
  requirement: !ruby/object:Gem::Requirement
113
114
  requirements:
114
- - - '>='
115
+ - - ">="
115
116
  - !ruby/object:Gem::Version
116
117
  version: 0.0.2
117
- name: rake-rspec
118
- prerelease: false
119
118
  type: :development
119
+ prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.0.2
125
125
  - !ruby/object:Gem::Dependency
126
+ name: bundler
126
127
  requirement: !ruby/object:Gem::Requirement
127
128
  requirements:
128
- - - ~>
129
+ - - "~>"
129
130
  - !ruby/object:Gem::Version
130
131
  version: '1.5'
131
- name: bundler
132
- prerelease: false
133
132
  type: :development
133
+ prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '1.5'
139
139
  - !ruby/object:Gem::Dependency
140
+ name: rake
140
141
  requirement: !ruby/object:Gem::Requirement
141
142
  requirements:
142
- - - '>='
143
+ - - ">="
143
144
  - !ruby/object:Gem::Version
144
145
  version: '0'
145
- name: rake
146
- prerelease: false
147
146
  type: :development
147
+ prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
+ name: rack-test
154
155
  requirement: !ruby/object:Gem::Requirement
155
156
  requirements:
156
- - - '>='
157
+ - - ">="
157
158
  - !ruby/object:Gem::Version
158
159
  version: '0'
159
- name: rack-test
160
- prerelease: false
161
160
  type: :development
161
+ prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
+ name: alephant-lookup
168
169
  requirement: !ruby/object:Gem::Requirement
169
170
  requirements:
170
- - - '>='
171
+ - - ">="
171
172
  - !ruby/object:Gem::Version
172
173
  version: '0'
173
- name: alephant-lookup
174
- prerelease: false
175
174
  type: :runtime
175
+ prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
+ name: alephant-cache
182
183
  requirement: !ruby/object:Gem::Requirement
183
184
  requirements:
184
- - - '>='
185
+ - - ">="
185
186
  - !ruby/object:Gem::Version
186
187
  version: '0'
187
- name: alephant-cache
188
- prerelease: false
189
188
  type: :runtime
189
+ prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
+ name: alephant-logger
196
197
  requirement: !ruby/object:Gem::Requirement
197
198
  requirements:
198
199
  - - '='
199
200
  - !ruby/object:Gem::Version
200
201
  version: 1.2.0
201
- name: alephant-logger
202
- prerelease: false
203
202
  type: :runtime
203
+ prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '='
207
207
  - !ruby/object:Gem::Version
208
208
  version: 1.2.0
209
209
  - !ruby/object:Gem::Dependency
210
+ name: alephant-sequencer
210
211
  requirement: !ruby/object:Gem::Requirement
211
212
  requirements:
212
- - - '>='
213
+ - - ">="
213
214
  - !ruby/object:Gem::Version
214
215
  version: '0'
215
- name: alephant-sequencer
216
- prerelease: false
217
216
  type: :runtime
217
+ prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - '>='
220
+ - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
+ name: dalli-elasticache
224
225
  requirement: !ruby/object:Gem::Requirement
225
226
  requirements:
226
- - - '>='
227
+ - - ">="
227
228
  - !ruby/object:Gem::Version
228
229
  version: '0'
229
- name: dalli-elasticache
230
- prerelease: false
231
230
  type: :runtime
231
+ prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - '>='
234
+ - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  - !ruby/object:Gem::Dependency
238
+ name: pmap
238
239
  requirement: !ruby/object:Gem::Requirement
239
240
  requirements:
240
- - - '>='
241
+ - - ">="
241
242
  - !ruby/object:Gem::Version
242
243
  version: '0'
243
- name: pmap
244
- prerelease: false
245
244
  type: :runtime
245
+ prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - '>='
248
+ - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  - !ruby/object:Gem::Dependency
252
+ name: faraday
252
253
  requirement: !ruby/object:Gem::Requirement
253
254
  requirements:
254
- - - '>='
255
+ - - ">="
255
256
  - !ruby/object:Gem::Version
256
257
  version: '0'
257
- name: faraday
258
- prerelease: false
259
258
  type: :runtime
259
+ prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - '>='
262
+ - - ">="
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  - !ruby/object:Gem::Dependency
266
+ name: crimp
266
267
  requirement: !ruby/object:Gem::Requirement
267
268
  requirements:
268
- - - '>='
269
+ - - ">="
269
270
  - !ruby/object:Gem::Version
270
271
  version: '0'
271
- name: crimp
272
- prerelease: false
273
272
  type: :runtime
273
+ prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - '>='
276
+ - - ">="
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
279
  description: Brokers requests for alephant components
@@ -283,9 +283,9 @@ executables: []
283
283
  extensions: []
284
284
  extra_rdoc_files: []
285
285
  files:
286
- - .gitignore
287
- - .ruby-version
288
- - .travis.yml
286
+ - ".gitignore"
287
+ - ".ruby-version"
288
+ - ".travis.yml"
289
289
  - Gemfile
290
290
  - Guardfile
291
291
  - LICENSE.txt
@@ -329,24 +329,24 @@ homepage: https://github.com/BBC-News/alephant-broker
329
329
  licenses:
330
330
  - MIT
331
331
  metadata: {}
332
- post_install_message:
332
+ post_install_message:
333
333
  rdoc_options: []
334
334
  require_paths:
335
335
  - lib
336
336
  required_ruby_version: !ruby/object:Gem::Requirement
337
337
  requirements:
338
- - - '>='
338
+ - - ">="
339
339
  - !ruby/object:Gem::Version
340
340
  version: '0'
341
341
  required_rubygems_version: !ruby/object:Gem::Requirement
342
342
  requirements:
343
- - - '>='
343
+ - - ">="
344
344
  - !ruby/object:Gem::Version
345
345
  version: '0'
346
346
  requirements: []
347
- rubyforge_project:
348
- rubygems_version: 2.1.9
349
- signing_key:
347
+ rubyforge_project:
348
+ rubygems_version: 2.2.2
349
+ signing_key:
350
350
  specification_version: 4
351
351
  summary: Brokers requests for alephant components
352
352
  test_files: