papermill 0.12.1 → 0.12.2

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/.gitignore CHANGED
@@ -2,5 +2,4 @@
2
2
  log/*.log
3
3
  tmp/**/*
4
4
  config/database.yml
5
- db/*.sqlite3
6
- papermill.gemspec
5
+ db/*.sqlite3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.1
1
+ 0.12.2
@@ -1 +1 @@
1
- <%= link_to(raw_asset.name, edit_papermill_url(asset), :class => "name") -%>
1
+ <%= link_to(raw_asset.name, edit_papermill_url(raw_asset), :class => "name") -%>
@@ -8,7 +8,7 @@ class PapermillAsset < ActiveRecord::Base
8
8
  belongs_to :assetable, :polymorphic => true
9
9
  before_destroy :destroy_files
10
10
 
11
- Paperclip.interpolates :escaped_basename do |attachment, style|
11
+ Paperclip.interpolates(:escaped_basename) do |attachment, style|
12
12
  Paperclip::Interpolations[:basename].call(attachment, style).to_url
13
13
  end
14
14
 
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.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-06 00:00:00 +02:00
12
+ date: 2009-10-07 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -78,7 +78,6 @@ files:
78
78
  - lib/papermill/papermill_asset.rb
79
79
  - lib/papermill/papermill_helper.rb
80
80
  - lib/papermill/papermill_module.rb
81
- - papermill.gemspec
82
81
  - public/.DS_Store
83
82
  - public/papermill/images/background.png
84
83
  - public/papermill/images/container-background.jpg