fluent-plugin-s3-input 0.0.13 → 0.0.14

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: d8b41da7dd8a7569283c4952d86dc2645d7da4b8
4
- data.tar.gz: c9d08c9fb91144c87b8dc00db2df1d2bcc7cf7a3
3
+ metadata.gz: 4e9281ad1ed41acfd3f4fa6be41ce1ddca95db46
4
+ data.tar.gz: ffa18c1d5361dfb23467ab92e1e2189c0794249d
5
5
  SHA512:
6
- metadata.gz: a0326823d30f4615e9a8e37d76c38651759578689c7bd41d2df7b5138d735ff8f2b9f52fad940123b8b0b6d6599dec60b02de419e0e94d5ec706f3cccc8b69b1
7
- data.tar.gz: 7f6bb3071d70bffbd44a0316436d4f9de29ee47033227f375f3326672e12ab691fceda20b8d7c31aca5a22ce69896c78dab41acbc79d7d41fc2239895bc72ed7
6
+ metadata.gz: fc9ed579b0c05cfcf429590643ca2b99b1631d7989c87d68d45589943b1b2873a9d8768062edd32df25bc5e9a6495fddf200ef174ffc35412fca0c48a25afe0c
7
+ data.tar.gz: 64bed5a2626ede7150158f17b1c23763a2fac85239f2420ee5809ebaf753c0ec64301948bbff1eb2db2c199199794648b84d8bad6f39768f81cecb6c2a8e9e83
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-s3-input (0.0.13)
4
+ fluent-plugin-s3-input (0.0.14)
5
5
  aws-sdk
6
6
  fluentd
7
7
  oj
@@ -10,13 +10,13 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- aws-sdk (2.9.24)
14
- aws-sdk-resources (= 2.9.24)
15
- aws-sdk-core (2.9.24)
13
+ aws-sdk (2.9.25)
14
+ aws-sdk-resources (= 2.9.25)
15
+ aws-sdk-core (2.9.25)
16
16
  aws-sigv4 (~> 1.0)
17
17
  jmespath (~> 1.0)
18
- aws-sdk-resources (2.9.24)
19
- aws-sdk-core (= 2.9.24)
18
+ aws-sdk-resources (2.9.25)
19
+ aws-sdk-core (= 2.9.25)
20
20
  aws-sigv4 (1.0.0)
21
21
  cool.io (1.5.0)
22
22
  fluentd (0.14.16)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-s3-input"
7
- spec.version = "0.0.13"
7
+ spec.version = "0.0.14"
8
8
  spec.authors = ["Anthony Johnson"]
9
9
  spec.email = ["ansoni@gmail.com"]
10
10
  spec.description = %q{Fluentd plugin to read a file from S3 and emit it}
@@ -94,7 +94,9 @@ module Fluent
94
94
  begin
95
95
  s3_record = Oj.load(json_data)
96
96
  rescue Oj::ParseError=>e
97
- puts "Error loading #{json_data} - #{e.to_s}"
97
+ puts "Failure parsing: "
98
+ puts json_data.to_s
99
+ puts "Error: #{e.to_s}"
98
100
  end
99
101
  elsif @format == 'csv'
100
102
  data = input.read
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-s3-input
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Johnson