lib/lockbox.rb in lockbox-0.6.6 vs lib/lockbox.rb in lockbox-0.6.7

- old
+ new

@@ -26,10 +26,10 @@ end if defined?(ActiveSupport.on_load) ActiveSupport.on_load(:active_record) do # TODO raise error in 0.7.0 - if ActiveRecord::VERSION::STRING.to_f <= 5.0 + if ActiveRecord::VERSION::STRING.to_f < 5.0 warn "Active Record version (#{ActiveRecord::VERSION::STRING}) not supported in this version of Lockbox (#{Lockbox::VERSION})" end extend Lockbox::Model extend Lockbox::Model::Attached