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 CHANGED
@@ -2,4 +2,5 @@
2
2
  log/*.log
3
3
  tmp/**/*
4
4
  config/database.yml
5
- db/*.sqlite3
5
+ db/*.sqlite3
6
+ papermill.gemspec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.0
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[:escaped_basename] = proc do |attachment, style|
12
- Paperclip.interpolates[:basename].call(attachment, style).to_url
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{papermill}
8
- s.version = "0.12.0"
8
+ s.version = "0.12.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Benoit B\303\251n\303\251zech"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: papermill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"