retina_rails 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab138b302000f7fe80c74791698ab63eb3767f9f
4
- data.tar.gz: fcc8039ef665d5e15e4cdcb561015d79df618efc
3
+ metadata.gz: 3348ab981ce8e305a3bc0d9f92f285db7a592050
4
+ data.tar.gz: c9b32df090ae747bf5a3815fbb66fe68bb463d87
5
5
  SHA512:
6
- metadata.gz: a07feddf0d93c425dcd7dee264afff7d3eab6dbee8d7072439d3a48e6d122595e0c54200cb6442104232bdd9c1f5a93763b4474272b4ffba8c2bf9925967e937
7
- data.tar.gz: 679e66d2d3b510e851b18f55d1a92fd1d6ef543ba7ec168fbee867e24e32ea27740dd6255b0a05e37ebddd605586a204f183a6d14b535b1501de4afec24a0e7f
6
+ metadata.gz: dc0d266b80bb18106f0cb127e1fd8c8adc594307efb302269589bdc04b301a2199036765723ef4eb261820739b6bb3705564f992ca126cdcc8546a48b1f6a1ac
7
+ data.tar.gz: 34afe57cbfb49236c76c20aca3765d45bf3c3449d31d28845a4f56a379dd317d9baa1372d43ee813d03d19a3ee0182bee533bcf30a5bd60112b7dd19e5a190b2
@@ -10,6 +10,7 @@ env:
10
10
  - "RAILS_VERSION=3.1.0"
11
11
  - "RAILS_VERSION=3.2.0"
12
12
  - "RAILS_VERSION=4.0.0"
13
+ - "RAILS_VERSION=4.1.0"
13
14
  - "RAILS_VERSION=master"
14
15
 
15
16
  matrix:
data/README.md CHANGED
@@ -118,7 +118,7 @@ Displaying a retina image
118
118
  ------------
119
119
 
120
120
  ```ruby
121
- retina_image_tag(@user, :image, :small, :default => [50, 40)
121
+ retina_image_tag(@user, :image, :small, :default => [50, 40])
122
122
  # or
123
123
  retina_image_tag(@user, :image, :small, :default => { :width => 50, :height => 40 })
124
124
  ```
@@ -32,7 +32,7 @@ image_tag(@user.image.url(:small), :retina => true)
32
32
 
33
33
  **New way:**
34
34
  ```ruby
35
- retina_image_tag(@user, :image, :small, :default => [50, 40)
35
+ retina_image_tag(@user, :image, :small, :default => [50, 40])
36
36
  # or
37
37
  retina_image_tag(@user, :image, :small, :default => { :width => 50, :height => 40 })
38
38
  ```
@@ -85,6 +85,9 @@ module RetinaRails
85
85
  dimensions.insert(0, height)
86
86
  dimensions.insert(0, width)
87
87
 
88
+ ## Reset the processors
89
+ versions[name][:uploader].processors = []
90
+
88
91
  ## Override version with double height and width
89
92
  version name, options do
90
93
  process dimensions_processor[0] => dimensions
@@ -93,6 +96,8 @@ module RetinaRails
93
96
 
94
97
  ## Set other processors
95
98
  processors.each do |processor|
99
+ process processor[0] => processor[1]
100
+
96
101
  quality_processor = true if processor[0] == :retina_quality
97
102
  end
98
103
 
@@ -1,3 +1,3 @@
1
1
  module RetinaRails
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retina_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan van Zonneveld
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-01 00:00:00.000000000 Z
12
+ date: 2014-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler