papermill 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/VERSION +1 -1
- data/lib/papermill/papermill_asset.rb +2 -2
- data/papermill.gemspec +1 -1
- metadata +1 -1
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.1
|
@@ -8,8 +8,8 @@ class PapermillAsset < ActiveRecord::Base
|
|
8
8
|
belongs_to :assetable, :polymorphic => true
|
9
9
|
before_destroy :destroy_files
|
10
10
|
|
11
|
-
Paperclip.interpolates
|
12
|
-
Paperclip
|
11
|
+
Paperclip.interpolates :escaped_basename do |attachment, style|
|
12
|
+
Paperclip::Interpolations[:basename].call(attachment, style).to_url
|
13
13
|
end
|
14
14
|
|
15
15
|
has_attached_file :file,
|
data/papermill.gemspec
CHANGED