texticle 2.0.pre → 2.0.pre2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- === 2.0rc1
1
+ === 2.0.pre
2
2
 
3
3
  * Complete refactoring of Texticle
4
4
 
data/README.rdoc CHANGED
@@ -19,7 +19,7 @@ extending ActiveRecord with scopes making search easy and fun!
19
19
 
20
20
  In the project's Gemfile add
21
21
 
22
- gem 'texticle', '~> 2.0rc1', :require => 'texticle/rails'
22
+ gem 'texticle', '~> 2.0.pre', :require => 'texticle/rails'
23
23
 
24
24
  * ActiveRecord outside of Rails 3
25
25
 
@@ -40,7 +40,7 @@ Your models now have access to the search method:
40
40
 
41
41
  == INSTALL:
42
42
 
43
- * gem install texticle
43
+ * gem install texticle --pre
44
44
 
45
45
  == LICENSE:
46
46
 
data/lib/texticle.rb CHANGED
@@ -47,7 +47,7 @@ module Texticle
47
47
  end
48
48
  end
49
49
 
50
- def respond_to?(method)
50
+ def respond_to?(method, include_private = false)
51
51
  Helper.dynamic_search_method?(method, self.columns) ? true : super
52
52
  end
53
53
 
data/spec/config.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  database: texticle
2
- username: <username>
2
+ username: ncrespo
3
3
  pool: 5
4
4
  timeout: 5000
@@ -113,6 +113,10 @@ class TexticleTest < Test::Unit::TestCase
113
113
 
114
114
  assert !Game.respond_to?(:search_by_id)
115
115
  end
116
+
117
+ should "allow for 2 arguments to #respond_to?" do
118
+ assert Game.respond_to?(:normalize, true)
119
+ end
116
120
  end
117
121
  end
118
122
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: texticle
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 4
5
- version: 2.0.pre
5
+ version: 2.0.pre2
6
6
  platform: ruby
7
7
  authors:
8
8
  - ecin