Permalink
Browse files

2.0.pre4 release

  • Loading branch information...
1 parent 2162fbf commit 25f32749be0aa6580643fc9d887dc8efd9a198af @ecin ecin committed Jul 4, 2011
Showing with 32 additions and 9 deletions.
  1. +20 −0 CHANGELOG.rdoc
  2. +6 −7 Manifest.txt
  3. +3 −0 README.rdoc
  4. +3 −2 texticle.gemspec
View
20 CHANGELOG.rdoc
@@ -1,3 +1,23 @@
+== 2.0.pre4
+
+* 1 new feature
+
+ * Searchable is now available to specify which columns you want searched:
+
+ require 'texticle/searchable'
+ class Game
+ include Searchable(:title)
+ end
+
+ This also allows Texticle use in Rails without having #search available to all models:
+
+ gem 'texticle', '~> 2.0.pre4', :require => 'texticle/searchable'
+
+* 1 bugfix
+
+ * ActiveRecord::Base.extend(Texticle) doesn't break #method_missing and #respond_to? anymore
+
+
== 2.0.pre3
* 1 new feature
View
13 Manifest.txt
@@ -4,10 +4,9 @@ Manifest.txt
README.rdoc
Rakefile
lib/texticle.rb
-lib/texticle/full_text_index.rb
-lib/texticle/railtie.rb
-lib/texticle/tasks.rb
-rails/init.rb
-test/helper.rb
-test/test_full_text_index.rb
-test/test_texticle.rb
+lib/texticle/rails.rb
+lib/texticle/searchable.rb
+spec/config.yml
+spec/spec_helper.rb
+spec/texticle_spec.rb
+spec/texticle/searchable_spec.rb
View
3 README.rdoc
@@ -1,5 +1,7 @@
= texticle
+Further documentation available at:
+
* http://tenderlove.github.com/texticle
== DESCRIPTION:
@@ -33,6 +35,7 @@ Your models now have access to the search method:
Game.search('Sonic') # will search through the model's :string columns
Game.search(:title => 'Mario')
Game.search_by_title('Street Fighter').search_by_system('PS3')
+ Game.search_by_title_and_system('Final Fantasy', 'PS2')
== REQUIREMENTS:
View
5 texticle.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{texticle}
- s.version = "2.0.pre3"
+ s.version = "2.0.pre4"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["ecin", "Aaron Patterson"]
@@ -11,7 +11,8 @@ Gem::Specification.new do |s|
ActiveRecord with scopes making search easy and fun!}
s.email = ["ecin@copypastel.com"]
s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.rdoc", "README.rdoc"]
- s.files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/texticle.rb", "lib/texticle/rails.rb", "spec/spec_helper.rb", "spec/texticle_spec.rb", "spec/config.yml"]
+ s.files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/texticle.rb", "lib/texticle/searchable.rb",
+ "lib/texticle/rails.rb", "spec/spec_helper.rb", "spec/texticle_spec.rb", "spec/texticle/searchable_spec.rb", "spec/config.yml"]
s.homepage = %q{http://tenderlove.github.com/texticle}
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]

0 comments on commit 25f3274

Please sign in to comment.