rack2aws 0.3.0 → 0.4.0

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: aea0008457829bc7e98f35545a31e64cc51be0b4
4
- data.tar.gz: 069002f7d1973c702dcd20446ae8297ad4c57f5b
3
+ metadata.gz: 741322567e47b99043ed0a966d4cd3a2bdf31be5
4
+ data.tar.gz: 0b1a05eded89b4300a30d7992400f415a465fb46
5
5
  SHA512:
6
- metadata.gz: a1aee03e5fedf609c2f110c51a590ecc2fbdcf23365624fe7625f894a2bad711c43c4f537d65acf24956bff9ea8be39c5048a7f711e6ab0eeee9965db86deac7
7
- data.tar.gz: 39f110bba678f6e60e48c682009a7dc9ed74604fe81a6428871ea983a6b03fb323636d9b34ace726dbffc27d0e62507463bcfd5af8babef4413779b8d890fecc
6
+ metadata.gz: 8c61209699febe0896ff64f0386793b3c13d382bfd34eec58deb1c83f3df0226be8e026358ecd20dc801b42b97573a7e0333afd7d47b4659a7627224f1b594ed
7
+ data.tar.gz: 109822a5079cf60daf90d4c123e332372f1017c22d4d5fb93418b9a0ba518c779e863107a238b78ce25eb68274e4b824f68719550503a10bcb095d5d9ee4c2c4
@@ -87,7 +87,7 @@ module Rack2Aws
87
87
  def copy_file(file)
88
88
  aws_directory.files.create(:key => file.key,
89
89
  :body => file.body,
90
- :content_type => file,
90
+ :content_type => file.content_type,
91
91
  :public => allow_public)
92
92
  end
93
93
 
@@ -1,3 +1,3 @@
1
1
  module Rack2Aws
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack2aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Faissal Elamraoui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-10 00:00:00.000000000 Z
11
+ date: 2016-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -70,6 +70,20 @@ dependencies:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 2.1.1
73
+ - !ruby/object:Gem::Dependency
74
+ name: mime-types
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "<="
78
+ - !ruby/object:Gem::Version
79
+ version: 2.99.1
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - "<="
85
+ - !ruby/object:Gem::Version
86
+ version: 2.99.1
73
87
  - !ruby/object:Gem::Dependency
74
88
  name: bundler
75
89
  requirement: !ruby/object:Gem::Requirement