carrierwave-meta 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/carrierwave-meta/meta.rb +2 -2
- data/lib/carrierwave-meta/version.rb +1 -1
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -244,7 +244,7 @@ The uploader:
|
|
244
244
|
|
245
245
|
= A note about testing
|
246
246
|
|
247
|
-
fschwahn added support for mini-magick. To run tests with mini-magick do:
|
247
|
+
@fschwahn added support for mini-magick. To run tests with mini-magick do:
|
248
248
|
|
249
249
|
bundle exec rake spec PROCESSOR=mini_magick
|
250
250
|
|
@@ -43,8 +43,8 @@ module CarrierWave
|
|
43
43
|
|
44
44
|
private
|
45
45
|
def call_store_meta(file = nil)
|
46
|
-
# Re-retrieve metadata for a file only if model is not present.
|
47
|
-
store_meta if self.model.nil?
|
46
|
+
# Re-retrieve metadata for a file only if model is not present OR model is not saved.
|
47
|
+
store_meta if self.model.nil? || (self.model.respond_to?(:new_record?) && self.model.new_record?)
|
48
48
|
end
|
49
49
|
|
50
50
|
def get_dimensions
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Sokolov
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-11-11 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: carrierwave
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
requirements: []
|
192
192
|
|
193
193
|
rubyforge_project: carrierwave-meta
|
194
|
-
rubygems_version: 1.8.
|
194
|
+
rubygems_version: 1.8.11
|
195
195
|
signing_key:
|
196
196
|
specification_version: 3
|
197
197
|
summary: ""
|