refinerycms-images 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -53,6 +53,11 @@ module Refinery
|
|
53
53
|
def s3_secret_access_key
|
54
54
|
config.s3_secret_access_key.nil? ? Refinery::Core.s3_secret_access_key : config.s3_secret_access_key
|
55
55
|
end
|
56
|
+
|
57
|
+
def s3_region
|
58
|
+
config.s3_region.nil? ? Refinery::Core.s3_region : config.s3_region
|
59
|
+
end
|
60
|
+
|
56
61
|
end
|
57
62
|
end
|
58
63
|
end
|
@@ -38,7 +38,7 @@ module Refinery
|
|
38
38
|
|
39
39
|
def attach!(app)
|
40
40
|
### Extend active record ###
|
41
|
-
app.config.middleware.insert_before Refinery::
|
41
|
+
app.config.middleware.insert_before Refinery::Images.dragonfly_insert_before,
|
42
42
|
'Dragonfly::Middleware', :refinery_images
|
43
43
|
|
44
44
|
app.config.middleware.insert_before 'Dragonfly::Middleware', 'Rack::Cache', {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-images
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-
|
16
|
+
date: 2012-06-11 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: dragonfly
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
requirements:
|
55
55
|
- - '='
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 2.0.
|
57
|
+
version: 2.0.5
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,7 @@ dependencies:
|
|
62
62
|
requirements:
|
63
63
|
- - '='
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 2.0.
|
65
|
+
version: 2.0.5
|
66
66
|
description: Handles all image upload and processing functionality in Refinery CMS.
|
67
67
|
email: info@refinerycms.com
|
68
68
|
executables: []
|
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
segments:
|
147
147
|
- 0
|
148
|
-
hash:
|
148
|
+
hash: 316957619954740532
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
segments:
|
156
156
|
- 0
|
157
|
-
hash:
|
157
|
+
hash: 316957619954740532
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project: refinerycms
|
160
160
|
rubygems_version: 1.8.22
|