paperclip-bsm-s3 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paperclip_bsm_s3.rb +0 -9
- metadata +14 -14
data/lib/paperclip_bsm_s3.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'paperclip'
|
2
2
|
require 'paperclip/storage/s3'
|
3
|
-
require 'aws/s3'
|
4
3
|
|
5
4
|
module Paperclip # :nodoc:
|
6
5
|
|
@@ -24,11 +23,3 @@ module Paperclip # :nodoc:
|
|
24
23
|
|
25
24
|
end
|
26
25
|
end
|
27
|
-
|
28
|
-
Paperclip::Storage::S3.module_eval do
|
29
|
-
|
30
|
-
def expiring_url(style_name = default_style, opts = {})
|
31
|
-
AWS::S3::S3Object.url_for path(style_name), bucket_name, opts.reverse_merge(:expires_in => 3600, :use_ssl => true)
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-bsm-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-12-18 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: paperclip
|
16
|
-
requirement: &
|
16
|
+
requirement: &20137700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -24,21 +24,21 @@ dependencies:
|
|
24
24
|
version: 2.5.0
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *20137700
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: aws-s3
|
30
|
-
requirement: &
|
30
|
+
requirement: &20136780 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '0'
|
36
|
-
type: :
|
36
|
+
type: :development
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *20136780
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rake
|
41
|
-
requirement: &
|
41
|
+
requirement: &20136100 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ! '>='
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: '0'
|
47
47
|
type: :development
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *20136100
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: rspec
|
52
|
-
requirement: &
|
52
|
+
requirement: &20135300 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ! '>='
|
@@ -57,10 +57,10 @@ dependencies:
|
|
57
57
|
version: '0'
|
58
58
|
type: :development
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *20135300
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: sqlite3-ruby
|
63
|
-
requirement: &
|
63
|
+
requirement: &20099440 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - ! '>='
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
|
-
version_requirements: *
|
71
|
+
version_requirements: *20099440
|
72
72
|
description:
|
73
73
|
email: dimitrij@blacksquaremedia.com
|
74
74
|
executables: []
|
@@ -77,8 +77,8 @@ extra_rdoc_files: []
|
|
77
77
|
files:
|
78
78
|
- LICENSE
|
79
79
|
- README.rdoc
|
80
|
-
- lib/paperclip_bsm_s3.rb
|
81
80
|
- lib/paperclip-bsm-s3.rb
|
81
|
+
- lib/paperclip_bsm_s3.rb
|
82
82
|
- rails/init.rb
|
83
83
|
homepage: https://github.com/bsm/paperclip-bsm-s3
|
84
84
|
licenses: []
|