logstash-input-flume 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: c02d9533d46d3b97f0411e384c8611bff4f4cf5817a8cf9658d613d542505b2a
4
- data.tar.gz: 54b7f68ccd862ff603c5ceb371dcb242d9a18a62d9088e409f8436975d596e39
3
+ metadata.gz: 789168b1a88ecb5ae67af38965e859ba041499135b6a6810330176e0d7641427
4
+ data.tar.gz: '09cfb8b78b3205e5f72b846ac54d22440b7a0a12091223f1d516004708625fc7'
5
5
  SHA512:
6
- metadata.gz: 434aedd32f1f30641bf0349131b70d7a86c89957d3dac06fc80b86d8e710afadbec3c8209f9ade32536b819e729a6234cc06a4bb9c181d126693dca5cdecfe6b
7
- data.tar.gz: d5ddd7ef1acf457afbec68e9cf92907584f28c8f209628094263f17c06b313055bc824f0e35b2c5241cf6a72f6441f8ba3d164974bfaddd24ffcad3a51bcc0a2
6
+ metadata.gz: 9eb2f52a672459ce1c3f5d407236eb825de39976b0a5a2df23dbde64d4cffc543f59d15c3532a16f314e05f69abf5ab070e303c6bfa6d080b27304ba46632ef4
7
+ data.tar.gz: 85b2defc2fdcc1c4ff6356a4c756adb56fb5bbc51effb28a60b0a8d6092b4dfebb78404e796864d1e6765a91ec08f2ed1fe580679589a67204c33c70283ff694
@@ -85,8 +85,6 @@ class ResourceOwnerOAuthClient < OAuthClient
85
85
 
86
86
  token_resp_json = JSON.parse(auth_resp.body)
87
87
 
88
- puts token_resp_json
89
-
90
88
  unless token_resp_json["success"]
91
89
  detailed = token_resp_json["detailed"]
92
90
 
@@ -156,8 +154,6 @@ class FlumeApiConnection
156
154
  resp_json = JSON.parse(resp.body)
157
155
 
158
156
  unless resp_json["success"]
159
- puts resp.to_hash
160
-
161
157
  retry_after = resp["retry-after"]
162
158
 
163
159
  if retry_after
@@ -228,16 +224,10 @@ class FlumeApiConnection
228
224
  }
229
225
  }
230
226
 
231
- puts ret
232
-
233
227
  ret.sort_by! { |item| item[:from] }
234
228
 
235
- puts ret
236
-
237
229
  ret.pop
238
230
 
239
- puts ret
240
-
241
231
  return ret
242
232
  end
243
233
 
@@ -306,8 +296,6 @@ class LogStash::Inputs::Flume < LogStash::Inputs::Base
306
296
 
307
297
  readings_by_minute = @conn.get_readings_by_minute(device, now, since)
308
298
 
309
- puts JSON.generate(readings_by_minute)
310
-
311
299
  unless readings_by_minute.empty?
312
300
  time_by_device[device_id] = readings_by_minute.map { |v| v[:to] }.max
313
301
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-flume'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Connect to Flume API'
6
6
  s.description = 'Connect to Flume API'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-flume
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Haugen