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 CHANGED
@@ -1 +1,2 @@
1
1
  .DS_Store
2
+ *.gem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-images-extension}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["squaretalent"]
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - squaretalent