papermill 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- 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'
|