lib/papermill.rb in papermill-0.14.0 vs lib/papermill.rb in papermill-0.14.1

- old
+ new

@@ -3,9 +3,16 @@ 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" require 'papermill/papermill_module' require 'papermill/papermill_asset' require 'papermill/form_builder' require 'papermill/papermill_helper' ActionView::Base.send :include, PapermillHelper