attached 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Gemfile +1 -3
  2. data/README.rdoc +7 -2
  3. metadata +2 -2
data/Gemfile CHANGED
@@ -4,6 +4,4 @@ gem 'rails'
4
4
 
5
5
  gem 'guid'
6
6
 
7
- gem 'aws-s3', :require => 'aws/s3'
8
-
9
- gem 'rmagick'
7
+ gem 'aws-s3', :require => 'aws/s3'
data/README.rdoc CHANGED
@@ -69,9 +69,14 @@ View:
69
69
 
70
70
  === Processor
71
71
 
72
- has_attached :avatar, :processor => :resize, :styles => {
72
+ has_attached :avatar, :processor => :image, :styles => {
73
73
  :small => { :size => "200x200#" }
74
- :large => { :size => "200x200#" }
74
+ :large => { :size => "400x400#" }
75
+ }
76
+
77
+ has_attached :avatar, :processors => [:image], :styles => {
78
+ :small => { :size => "200x200#" }
79
+ :large => { :size => "400x400#" }
75
80
  }
76
81
 
77
82
  == Copyright
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kevin Sylvestre