Sha256: 473f94d221ce2356d1b50ede2b59fa8b2c109a562d15d0045976f6ce82f1def6
Contents?: true
Size: 986 Bytes
Versions: 2
Compression:
Stored size: 986 Bytes
Contents
I18n.load_path = [File.join(File.dirname(__FILE__), "../config/locales/papermill.yml")] + I18n.load_path require 'extensions' require 'papermill/flash_session_cookie_middleware.rb' Object.send :include, PapermillObjectExtensions Hash.send :include, PapermillHashExtensions File.send :include, PapermillFileExtensions String.send :include, StringToUrlNotFound unless String.instance_methods.include? "to_url" Formtastic::SemanticFormBuilder.send(:include, PapermillFormtasticExtensions) rescue NameError require 'papermill/papermill_options.rb' begin require File.join(RAILS_ROOT, "config/initializers/papermill.rb") rescue LoadError, MissingSourceFile end require 'paperclip' unless defined?(Paperclip) require 'papermill/papermill_paperclip_processor' require 'papermill/papermill' require 'papermill/papermill_asset' require 'papermill/form_builder' require 'papermill/papermill_helper' ActionView::Base.send :include, PapermillHelper ActiveRecord::Base.send :include, Papermill
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
papermill-1.1.6 | lib/papermill.rb |
papermill-1.1.5 | lib/papermill.rb |