lib/redcloth-rails.rb in redcloth-rails-0.1.1 vs lib/redcloth-rails.rb in redcloth-rails-0.2.0

- old
+ new

@@ -1,13 +1,9 @@ -unless defined?(RedCloth::Rails::Version) - require File.join(File.dirname(__FILE__), 'redcloth-rails/version.rb') -end - module RedCloth module Rails if defined?(::Rails) && ::Rails.version.to_f >= 3.1 - require File.join(File.dirname(__FILE__), 'redcloth-rails/engine.rb') + require 'redcloth-rails/engine' else raise 'Rails >= 3.1 is required' end end