pg_search 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 735ffccde62a50183e77d846993ef9f8d947cf43
4
+ data.tar.gz: 197fedcebf3d1fcd57dade510d804ec2aa146291
5
+ SHA512:
6
+ metadata.gz: d580a5b8367c0eda143d7f50ac9565e9c171bd7626db7d039c5b4a5c98da6f595a0d4dd63de02acba76e36525eb32e0b5e98db149cc460c213868259f5643099
7
+ data.tar.gz: 7c2be9002e9a6acee62d80583ca689fb8a6f89988e8656d59fb561facdeebcd348f05a91f0bdb8d6e39631ebb107a5ad9efc9586594910f55666e9f14f2e8efe
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.2.2
2
+
3
+ * Fix a compatibility issue between Ruby 1.8.7 and 1.9.3 when using Rails 2
4
+ (James Badger)
5
+
1
6
  ### 0.2.1
2
7
 
3
8
  * Backport support for searching against tsvector columns (Kris Hicks)
data/lib/pg_search.rb CHANGED
@@ -16,7 +16,7 @@ module PgSearch
16
16
  def pg_search_scope(name, options)
17
17
  scope = PgSearch::Scope.new(name, self, options)
18
18
  scope_method =
19
- if respond_to?(:scope) && !protected_methods.include?('scope')
19
+ if respond_to?(:scope) && !protected_methods.map(&:to_s).include?('scope')
20
20
  :scope # ActiveRecord 3.x
21
21
  else
22
22
  :named_scope # ActiveRecord 2.x
@@ -1,3 +1,3 @@
1
1
  module PgSearch
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,33 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pg_search
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 1
10
- version: 0.2.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Case Commons, LLC
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-12-15 00:00:00 Z
11
+ date: 2013-07-08 00:00:00.000000000 Z
19
12
  dependencies: []
20
-
21
- description: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's full text search
22
- email:
13
+ description: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's
14
+ full text search
15
+ email:
23
16
  - casecommons-dev@googlegroups.com
24
17
  executables: []
25
-
26
18
  extensions: []
27
-
28
19
  extra_rdoc_files: []
29
-
30
- files:
20
+ files:
31
21
  - .autotest
32
22
  - .gitignore
33
23
  - .rvmrc
@@ -63,38 +53,29 @@ files:
63
53
  - sql/uninstall_dmetaphone.sql
64
54
  homepage: https://github.com/Casecommons/pg_search
65
55
  licenses: []
66
-
56
+ metadata: {}
67
57
  post_install_message:
68
58
  rdoc_options: []
69
-
70
- require_paths:
59
+ require_paths:
71
60
  - lib
72
- required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
79
- - 0
80
- version: "0"
81
- required_rubygems_version: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
90
71
  requirements: []
91
-
92
72
  rubyforge_project:
93
- rubygems_version: 1.8.10
73
+ rubygems_version: 2.0.3
94
74
  signing_key:
95
- specification_version: 3
96
- summary: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's full text search
97
- test_files:
75
+ specification_version: 4
76
+ summary: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's
77
+ full text search
78
+ test_files:
98
79
  - spec/associations_spec.rb
99
80
  - spec/pg_search_spec.rb
100
81
  - spec/spec_helper.rb