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.
- data/VERSION +1 -1
- data/lib/papermill.rb +4 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
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
|
-
|
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'
|