fluent-plugin-s3 0.2.3 → 0.2.4

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.
data/ChangeLog CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ Release 0.2.4 - 2012/11/21
3
+
4
+ * Set content type when writing file to s3
5
+
6
+
2
7
  Release 0.2.3 - 2012/11/19
3
8
 
4
9
  * Loosen 'aws-sdk' version requirement from "~> 1.1.3" to "~> 1.1"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -55,7 +55,7 @@ class S3Output < Fluent::TimeSlicedOutput
55
55
  begin
56
56
  chunk.write_to(w)
57
57
  w.close
58
- @bucket.objects[s3path].write(Pathname.new(tmp.path))
58
+ @bucket.objects[s3path].write(Pathname.new(tmp.path), :content_type => 'application/x-gzip')
59
59
  ensure
60
60
  w.close rescue nil
61
61
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-20 00:00:00.000000000 Z
12
+ date: 2012-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd