papermill 1.1.4 → 1.1.5

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/papermill.rb +4 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
data/lib/papermill.rb CHANGED
@@ -9,7 +9,10 @@ String.send :include, StringToUrlNotFound unless String.instance_methods.include
9
9
  Formtastic::SemanticFormBuilder.send(:include, PapermillFormtasticExtensions) rescue NameError
10
10
 
11
11
  require 'papermill/papermill_options.rb'
12
- require File.join(RAILS_ROOT, "config/initializers/papermill.rb") rescue LoadError, MissingSourceFile
12
+ begin
13
+ require File.join(RAILS_ROOT, "config/initializers/papermill.rb")
14
+ rescue LoadError, MissingSourceFile
15
+ end
13
16
  require 'paperclip' unless defined?(Paperclip)
14
17
  require 'papermill/papermill_paperclip_processor'
15
18
  require 'papermill/papermill'
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: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"