lib/conversions.rb in conversions-1.4.5 vs lib/conversions.rb in conversions-1.4.6

- old
+ new

@@ -1,11 +1,9 @@ require 'active_support' require 'active_support/version' -%w{ - active_support/core_ext/module/attribute_accessors -}.each do |active_support_3_requirement| - require active_support_3_requirement -end if ActiveSupport::VERSION::MAJOR == 3 +if ActiveSupport::VERSION::MAJOR >= 3 + require 'active_support/core_ext' +end # Conversions makes it easy to convert between units. module Conversions mattr_accessor :conversions \ No newline at end of file