lib/papermill.rb in papermill-0.14.1 vs lib/papermill.rb in papermill-0.14.2
- old
+ new
@@ -3,16 +3,10 @@
Object.send :include, PapermillObjectExtensions
Hash.send :include, PapermillHashExtensions
File.send :include, PapermillFileExtensions
String.send :include, PapermillStringExtensions
String.send :include, PapermillStringToUrlNotFound unless String.instance_methods.include? "to_url"
-begin
- Formtastic::SemanticFormBuilder.send :include, PapermillFormtasticExtensions
- puts "FORMTASTIC"
-rescue LoadError
- puts "NO FORMTASTIC"
-end
-puts "HEYYY"
+Formtastic::SemanticFormBuilder.send :include, PapermillFormtasticExtensions rescue LoadError, NameError
require 'papermill/papermill_module'
require 'papermill/papermill_asset'
require 'papermill/form_builder'
require 'papermill/papermill_helper'
ActionView::Base.send :include, PapermillHelper