lib/leap.rb in leap-0.5.7 vs lib/leap.rb in leap-0.5.8

- old
+ new

@@ -1,13 +1,9 @@ +require 'active_support' require 'active_support/version' -%w{ - active_support/core_ext/hash/slice - active_support/core_ext/array/wrap - active_support/core_ext/array/extract_options -}.each do |active_support_3_requirement| - require active_support_3_requirement -end if ActiveSupport::VERSION::MAJOR == 3 -require 'blockenspiel' +if ActiveSupport::VERSION::MAJOR >= 3 + require 'active_support/core_ext' +end require 'leap/subject' require 'leap/committee' require 'leap/quorum' require 'leap/decision'