lib/scoped_search.rb in scoped_search-2.5.0 vs lib/scoped_search.rb in scoped_search-2.5.1

- old
+ new

@@ -10,14 +10,10 @@ # the search fields. <tt>ScopedSearch::BackwardsCompatibility</tt> will # register the <tt>searchable_on</tt> method for backwards compatibility with # previous scoped_search versions (1.x). module ScopedSearch - # The current scoped_search version. Do not change thisvalue by hand, - # because it will be updated automatically by the gem release script. - VERSION = "2.5.0" - # The ClassMethods module will be included into the ActiveRecord::Base class # to add the <tt>ActiveRecord::Base.scoped_search</tt> method and the # <tt>ActiveRecord::Base.search_for</tt> named scope. module ClassMethods @@ -82,9 +78,10 @@ end end # Load all lib files +require "scoped_search/version" require 'scoped_search/definition' require 'scoped_search/query_language' require 'scoped_search/query_builder' require 'scoped_search/auto_complete_builder'