takenoko-s3 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/takenoko/s3.rb +3 -0
- data/lib/takenoko/s3/attach_helper.rb +2 -2
- data/lib/takenoko/s3/version.rb +1 -1
- data/takenoko-s3.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 373cd9a59b96a95ae597d6fe6f829af507cb78d0
|
4
|
+
data.tar.gz: fba417b9e33608c42e60dac42d0e673cf1745c0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7412fe15255762367b6cd9c2696e52321cd7bcb9e290e40e75f807c39b8172337a41a255c263d8372a0e59cb7d2348ce6735610c358e270e270d732145fec9c0
|
7
|
+
data.tar.gz: 089f55bc7483a03efd69b4b7f0b483d01e2e0cd446e00d7aa7c4fbdc72ad95497816f0922fbb1b81ca4fb535a678889557a72b0195aa578563cadb2b91799d58
|
data/lib/takenoko/s3.rb
CHANGED
@@ -37,11 +37,11 @@ module Takenoko
|
|
37
37
|
end
|
38
38
|
|
39
39
|
Rails.logger.info "Uploading to s3: #{file_path} -> #{s3_path}"
|
40
|
-
f = bucket.files.create({
|
40
|
+
f = bucket.files.create(Takenoko.s3.upload_options.merge({
|
41
41
|
key: s3_path,
|
42
42
|
body: file,
|
43
43
|
public: col[:s3_public],
|
44
|
-
})
|
44
|
+
}))
|
45
45
|
|
46
46
|
log_data[find_val] ||= {}
|
47
47
|
log_data[find_val][:s3_last_upload] = file.mtime.to_i
|
data/lib/takenoko/s3/version.rb
CHANGED
data/takenoko-s3.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{S3 Uploader plugin for takenoko}
|
13
13
|
spec.description = %q{S3 Uploader plugin for takenoko}
|
14
|
-
spec.homepage = "https://github.com/khiemns54/takenoko-s3/tree/release/0.0.
|
14
|
+
spec.homepage = "https://github.com/khiemns54/takenoko-s3/tree/release/0.0.8"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: takenoko-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KhiemNS
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -104,7 +104,7 @@ files:
|
|
104
104
|
- lib/takenoko/s3/tasks/takenoko.rake
|
105
105
|
- lib/takenoko/s3/version.rb
|
106
106
|
- takenoko-s3.gemspec
|
107
|
-
homepage: https://github.com/khiemns54/takenoko-s3/tree/release/0.0.
|
107
|
+
homepage: https://github.com/khiemns54/takenoko-s3/tree/release/0.0.8
|
108
108
|
licenses:
|
109
109
|
- MIT
|
110
110
|
metadata: {}
|