jeremyboles-graffic 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/graffic.rb +9 -0
  2. metadata +1 -1
data/lib/graffic.rb CHANGED
@@ -156,6 +156,15 @@ class Graffic < ActiveRecord::Base
156
156
  status
157
157
  end
158
158
 
159
+ def save_and_process_without_versions
160
+ if status = save
161
+ move_without_queue!
162
+ upload_without_queue!
163
+ process_without_verions!
164
+ end
165
+ status
166
+ end
167
+
159
168
  # Returns a size string. Good for RMagick and image_tag :size
160
169
  def size
161
170
  "#{width}x#{height}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeremyboles-graffic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Boles