Skip to content

Commit

Permalink
2.0.pre4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ecin committed Jul 4, 2011
1 parent 2162fbf commit 25f3274
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
20 changes: 20 additions & 0 deletions 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 == 2.0.pre3


* 1 new feature * 1 new feature
Expand Down
13 changes: 6 additions & 7 deletions Manifest.txt
Expand Up @@ -4,10 +4,9 @@ Manifest.txt
README.rdoc README.rdoc
Rakefile Rakefile
lib/texticle.rb lib/texticle.rb
lib/texticle/full_text_index.rb lib/texticle/rails.rb
lib/texticle/railtie.rb lib/texticle/searchable.rb
lib/texticle/tasks.rb spec/config.yml
rails/init.rb spec/spec_helper.rb
test/helper.rb spec/texticle_spec.rb
test/test_full_text_index.rb spec/texticle/searchable_spec.rb
test/test_texticle.rb
3 changes: 3 additions & 0 deletions README.rdoc
@@ -1,5 +1,7 @@
= texticle = texticle


Further documentation available at:

* http://tenderlove.github.com/texticle * http://tenderlove.github.com/texticle


== DESCRIPTION: == DESCRIPTION:
Expand Down Expand Up @@ -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('Sonic') # will search through the model's :string columns
Game.search(:title => 'Mario') Game.search(:title => 'Mario')
Game.search_by_title('Street Fighter').search_by_system('PS3') Game.search_by_title('Street Fighter').search_by_system('PS3')
Game.search_by_title_and_system('Final Fantasy', 'PS2')


== REQUIREMENTS: == REQUIREMENTS:


Expand Down
5 changes: 3 additions & 2 deletions texticle.gemspec
Expand Up @@ -2,7 +2,7 @@


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{texticle} 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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["ecin", "Aaron Patterson"] s.authors = ["ecin", "Aaron Patterson"]
Expand All @@ -11,7 +11,8 @@ Gem::Specification.new do |s|
ActiveRecord with scopes making search easy and fun!} ActiveRecord with scopes making search easy and fun!}
s.email = ["ecin@copypastel.com"] s.email = ["ecin@copypastel.com"]
s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.rdoc", "README.rdoc"] 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.homepage = %q{http://tenderlove.github.com/texticle}
s.rdoc_options = ["--main", "README.rdoc"] s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"] s.require_paths = ["lib"]
Expand Down

0 comments on commit 25f3274

Please sign in to comment.