on_the_fly 0.0.3 → 0.0.4
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.
- data/lib/on_the_fly.rb +2 -1
- metadata +3 -3
data/lib/on_the_fly.rb
CHANGED
|
@@ -182,7 +182,8 @@ Paperclip::Attachment.class_eval do
|
|
|
182
182
|
def already_converted?
|
|
183
183
|
if self.to_s.match(/^s_[0-9]+_[0-9]+/) || self.to_s.match(/^s_[0-9]+_[a-z]+/) || self.to_s.match(/^s[0-9]+/) ||
|
|
184
184
|
self.to_s.match(/^cls_[0-9]+_[0-9]+/) || self.to_s.match(/^cls_[0-9]+_[a-z]+/) || self.to_s.match(/^cls[0-9]+/)
|
|
185
|
-
|
|
185
|
+
puts("[ONTHEFLY]:ALREADY CONVERTED");
|
|
186
|
+
return true
|
|
186
187
|
end
|
|
187
188
|
end
|
|
188
189
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: on_the_fly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -14,7 +14,7 @@ date: 2011-08-10 00:00:00.000000000Z
|
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: paperclip
|
|
17
|
-
requirement: &
|
|
17
|
+
requirement: &22352292 !ruby/object:Gem::Requirement
|
|
18
18
|
none: false
|
|
19
19
|
requirements:
|
|
20
20
|
- - ! '>='
|
|
@@ -22,7 +22,7 @@ dependencies:
|
|
|
22
22
|
version: '0'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
|
-
version_requirements: *
|
|
25
|
+
version_requirements: *22352292
|
|
26
26
|
description: ! "A Paperclip mix-in to allow auto-generation of resized images. Modded
|
|
27
27
|
to delete images\n\tand rename the thumb works on only the ES3 AMS system right
|
|
28
28
|
now."
|