takenoko-s3 0.0.4 → 0.0.5

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: 89da4e61d17910973acecbcb47413fc4ae9cbbdc
4
- data.tar.gz: 96b4c093cb19f88cbbcfc2b92f3adb4a7e267541
3
+ metadata.gz: 2608fa6041d1280ad760abd979fdc662cb9e7fae
4
+ data.tar.gz: 2d6c23a967ca61e9207c1dcd96dea44f17c06c42
5
5
  SHA512:
6
- metadata.gz: 59405fa9d8911d899ba16ade33a5022b1eb2a43044117dee167e335af624b21f8a57f633a079f6ab9b7a98b720dc98f0a92a43e0dff2e388179893e6eed1096d
7
- data.tar.gz: f49431f55fee9a81669677aafe1ee61d3c34f696adf3dc07cec7009579cd2c1a69d4268490507edc6a5ff465af4a8eda46fc1816a029e6ccb2ce0b17d17af7b4
6
+ metadata.gz: 4c3f7e50d0d258e788191f24c7e9ad93b0a0181d8ef483d22f8bb01c559bb4331d4d1d60d2edfca25295dbee6c3db542e5d5ddb95fc1f2d5fcfc6afdcf52afcf
7
+ data.tar.gz: 07381f5976287f85c37bdda04d9209f188bd3880a2942f760c1aeb02f8742687f85b773188129fc80cfc4442c377a77634b2d7def9a02ef2775b5a32eeafbd05
@@ -1,4 +1,4 @@
1
- require 'fog'
1
+ require 'fog/aws'
2
2
  module Takenoko
3
3
  module S3
4
4
  class Client
@@ -16,4 +16,14 @@ namespace :takenoko do
16
16
  Takenoko.download_and_upload_all_to_s3
17
17
  end
18
18
 
19
+ namespace :table do
20
+ task :to_s3,[:table] =>"takenoko:download_and_upload_table_to_s3"
21
+ task "to_s3:upload_only",[:table] =>"takenoko:upload_table_to_s3"
22
+ end
23
+
24
+ namespace :all do
25
+ task :to_s3 => "takenoko:download_and_upload_all_to_s3"
26
+ task "to_s3:upload_only" =>"takenoko:upload_all_to_s3"
27
+ end
28
+
19
29
  end
@@ -1,5 +1,5 @@
1
1
  module Takenoko
2
2
  module S3
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
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.4"
14
+ spec.homepage = "https://github.com/khiemns54/takenoko-s3/tree/release/0.0.5"
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)/}) }
@@ -23,7 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
25
25
  spec.add_dependency "takenoko", "~> 0.2.3"
26
- spec.add_dependency "fog", "~> 1.38.0"
27
-
26
+ spec.add_dependency "fog-aws"
28
27
 
29
28
  end
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
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - KhiemNS
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -67,19 +67,19 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.2.3
69
69
  - !ruby/object:Gem::Dependency
70
- name: fog
70
+ name: fog-aws
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 1.38.0
75
+ version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 1.38.0
82
+ version: '0'
83
83
  description: S3 Uploader plugin for takenoko
84
84
  email:
85
85
  - khiem-nguyen@kayac.com
@@ -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.4
107
+ homepage: https://github.com/khiemns54/takenoko-s3/tree/release/0.0.5
108
108
  licenses:
109
109
  - MIT
110
110
  metadata: {}