fluent-plugin-aliyunoss 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea5a93144d5435174567597623da043b85a89e29
4
- data.tar.gz: 2518f372c9ba9d0b705de800e19e614a6bab1875
3
+ metadata.gz: bdb41097907531d24f6140a311f2c20878e06d2d
4
+ data.tar.gz: 3bd39ab3ad2461618b63f24f0686088d99785776
5
5
  SHA512:
6
- metadata.gz: b0cf5872d90b84c2505777cbc8a2501713a52975538af73783dd11cd7ecee7efb610ef7ca8b53998176b3a9ec3d8e27cb8ab076818163f3d8b4dd191e1da0074
7
- data.tar.gz: 16c615442400cbd1e27d5ec5e3c3a4bb43de1e18bd9f6b931fcc70f5366881af8a23cdfe606736be2ed6b6e6eb02fb9d071652ee6562eb04cb6a068b83a2297a
6
+ metadata.gz: e62cf0b11b083deab2e9fa2cadbe54523c67c01af0274a48997af4eca491cccefca682af793336c0345943c13658bccac093d62d78c00146de180970bea6a229
7
+ data.tar.gz: '078f84e602c41ab2db6b930991438bb1bfa92fd5ff875c723783094ea54d5cc651928a0d57fc3b51fd3242e9c72e5a98111b176d3a07f41b1eb16982623d9680'
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-aliyunoss"
6
- spec.version = "0.2.0"
6
+ spec.version = "0.2.1"
7
7
  spec.authors = ["junjie"]
8
8
  spec.email = ["junjzh0205@gmail.com"]
9
9
 
@@ -71,7 +71,7 @@ module Fluent
71
71
  fake_path = "#{chunk_path}.json"
72
72
  File::symlink(chunk_path, fake_path)
73
73
 
74
- command = "orc-tools convert -o #{output_path} #{fake_path}"
74
+ command = "java -jar /orc-tools.jar convert -o #{output_path} #{fake_path}"
75
75
  log.debug "cmd: #{command}"
76
76
  res = system command
77
77
  unless res
@@ -131,7 +131,7 @@ module Fluent
131
131
  begin
132
132
  f = Tempfile.new('oss-')
133
133
  compress(chunk, f)
134
- path = process_object_key_format(chunk, "#{@oss_path}.#{{@store_as}})
134
+ path = process_object_key_format(chunk, "#{@oss_path}.#{@store_as}")
135
135
  log.debug "output_path: #{f.path} oss_path: #{path}"
136
136
  raise "Upload #{f.path} failed" unless @bucket.resumable_upload(path, f.path)
137
137
  ensure
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-aliyunoss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - junjie