dragonfly-s3_data_store 1.0.5 → 1.1.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aebce2788f1efd7a37bcb9f2890f381d32a3b0aa
|
4
|
+
data.tar.gz: a968d0553a2351d1841de6c2cb56b8392d335bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 069c0484f3ddd0495ad2cd9f6dbcf6b96d2b80fc39ef7a6ce786e3a8b1c033d91bc021d86fbeb6faca2cbd8658beee8b1b613c6e8553f8d11c925654eb4fbba5
|
7
|
+
data.tar.gz: 95bb0814be7e75b3758b0900369b735bc0629bd06e2331929218f7607320a07c00c2a22a547501c500f1b68dfd17c3169b15424bd4a3a9fb700d2cd9448c2bdf
|
@@ -19,6 +19,14 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_runtime_dependency "dragonfly", "~> 1.0"
|
22
|
-
spec.add_runtime_dependency "fog"
|
22
|
+
spec.add_runtime_dependency "fog-aws"
|
23
23
|
spec.add_development_dependency "rspec", "~> 2.0"
|
24
|
+
|
25
|
+
spec.post_install_message = <<-POST_INSTALL_MESSAGE
|
26
|
+
=====================================================
|
27
|
+
Thanks for installing dragonfly-s3_data_store!!
|
28
|
+
If you have any fog compatibility problems, please be aware that
|
29
|
+
it now depends on the 'fog-aws' gem rather than the 'fog' gem.
|
30
|
+
=====================================================
|
31
|
+
POST_INSTALL_MESSAGE
|
24
32
|
end
|
data/spec/s3_data_store_spec.rb
CHANGED
@@ -207,7 +207,7 @@ describe Dragonfly::S3DataStore do
|
|
207
207
|
end
|
208
208
|
|
209
209
|
it "gives an expiring url" do
|
210
|
-
@data_store.url_for(@uid, :expires => 1301476942).should =~ /\/some\/path\/.*\/something\.png\?
|
210
|
+
@data_store.url_for(@uid, :expires => 1301476942).should =~ /\/some\/path\/.*\/something\.png\?X-Amz-Expires=/
|
211
211
|
end
|
212
212
|
end
|
213
213
|
end
|
@@ -291,7 +291,7 @@ describe Dragonfly::S3DataStore do
|
|
291
291
|
|
292
292
|
it "should give an expiring url" do
|
293
293
|
@data_store.url_for(@uid, :expires => 1301476942).should =~
|
294
|
-
%r{^https://#{BUCKET_NAME}\.#{@data_store.domain}/some/path/on/s3\?
|
294
|
+
%r{^https://#{BUCKET_NAME}\.#{@data_store.domain}/some/path/on/s3\?X-Amz-Expires=}
|
295
295
|
end
|
296
296
|
|
297
297
|
it "should allow for using https" do
|
@@ -325,7 +325,7 @@ describe Dragonfly::S3DataStore do
|
|
325
325
|
it "works with the deprecated x-amz-meta-extra header (but stringifies its keys)" do
|
326
326
|
uid = @data_store.write(content, :headers => {
|
327
327
|
'x-amz-meta-extra' => Dragonfly::Serializer.marshal_b64_encode(:some => 'meta', :wo => 4),
|
328
|
-
'x-amz-meta-json' =>
|
328
|
+
'x-amz-meta-json' => ""
|
329
329
|
})
|
330
330
|
c, meta = @data_store.read(uid)
|
331
331
|
meta['some'].should == 'meta'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dragonfly-s3_data_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dragonfly
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: fog
|
28
|
+
name: fog-aws
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -73,7 +73,12 @@ homepage: https://github.com/markevans/dragonfly-s3_data_store
|
|
73
73
|
licenses:
|
74
74
|
- MIT
|
75
75
|
metadata: {}
|
76
|
-
post_install_message:
|
76
|
+
post_install_message: |
|
77
|
+
=====================================================
|
78
|
+
Thanks for installing dragonfly-s3_data_store!!
|
79
|
+
If you have any fog compatibility problems, please be aware that
|
80
|
+
it now depends on the 'fog-aws' gem rather than the 'fog' gem.
|
81
|
+
=====================================================
|
77
82
|
rdoc_options: []
|
78
83
|
require_paths:
|
79
84
|
- lib
|