lib/errata.rb in errata-0.1.7 vs lib/errata.rb in errata-0.1.8
- old
+ new
@@ -1,5 +1,13 @@
require 'active_support'
+require 'active_support/version'
+%w{
+ active_support/core_ext/module/delegation
+ active_support/core_ext/hash/keys
+ active_support/core_ext/hash/slice
+}.each do |active_support_3_requirement|
+ require active_support_3_requirement
+end if ActiveSupport::VERSION::MAJOR == 3
require 'remote_table'
require 'erratum'
require 'erratum/delete'
require 'erratum/reject'
require 'erratum/replace'