radiant-images-extension 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/VERSION +1 -1
- data/images_extension.rb +7 -0
- data/radiant-images-extension.gemspec +1 -1
- metadata +3 -3
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/images_extension.rb
CHANGED
@@ -49,5 +49,12 @@ class ImagesExtension < Radiant::Extension
|
|
49
49
|
Radiant::Config['s3.bucket'] ||= "fs.domain.com"
|
50
50
|
Radiant::Config['s3.path'] ||= ":class/:basename-:style.:extension"
|
51
51
|
|
52
|
+
|
53
|
+
unless Radiant::Config["images.image_magick_path"].nil?
|
54
|
+
# Passenger needs this configuration to work with Image magick
|
55
|
+
# Radiant::Config["assets.image_magick_path"] = '/usr/local/bin/' # OS X Homebrew
|
56
|
+
Paperclip.options[:image_magick_path] = Radiant::Config["images.image_magick_path"]
|
57
|
+
end
|
58
|
+
|
52
59
|
end
|
53
60
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-images-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- squaretalent
|