pg_search 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/pg_search/tasks.rb +1 -1
- data/lib/pg_search/version.rb +1 -1
- metadata +40 -61
data/CHANGELOG
CHANGED
data/lib/pg_search/tasks.rb
CHANGED
@@ -4,7 +4,7 @@ require 'pg_search'
|
|
4
4
|
namespace :pg_search do
|
5
5
|
namespace :multisearch do
|
6
6
|
desc "Rebuild PgSearch multisearch records for MODEL"
|
7
|
-
task rebuild
|
7
|
+
task :rebuild => :environment do
|
8
8
|
raise "must set MODEL=<model name>" unless ENV["MODEL"]
|
9
9
|
model_class = ENV["MODEL"].classify.constantize
|
10
10
|
PgSearch::Multisearch.rebuild(model_class)
|
data/lib/pg_search/version.rb
CHANGED
metadata
CHANGED
@@ -1,59 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_search
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
version: "0.3"
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Case Commons, LLC
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-08 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
20
15
|
name: activerecord
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2164362320 !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
segments:
|
29
|
-
- 3
|
30
|
-
version: "3"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3'
|
31
22
|
type: :runtime
|
32
|
-
version_requirements: *id001
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: activesupport
|
35
23
|
prerelease: false
|
36
|
-
|
24
|
+
version_requirements: *2164362320
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activesupport
|
27
|
+
requirement: &2164361700 !ruby/object:Gem::Requirement
|
37
28
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
segments:
|
43
|
-
- 3
|
44
|
-
version: "3"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
45
33
|
type: :runtime
|
46
|
-
|
47
|
-
|
48
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2164361700
|
36
|
+
description: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's
|
37
|
+
full text search
|
38
|
+
email:
|
49
39
|
- casecommons-dev@googlegroups.com
|
50
40
|
executables: []
|
51
|
-
|
52
41
|
extensions: []
|
53
|
-
|
54
42
|
extra_rdoc_files: []
|
55
|
-
|
56
|
-
files:
|
43
|
+
files:
|
57
44
|
- .autotest
|
58
45
|
- .gitignore
|
59
46
|
- .rspec
|
@@ -93,38 +80,30 @@ files:
|
|
93
80
|
- sql/uninstall_dmetaphone.sql
|
94
81
|
homepage: https://github.com/Casecommons/pg_search
|
95
82
|
licenses: []
|
96
|
-
|
97
83
|
post_install_message:
|
98
84
|
rdoc_options: []
|
99
|
-
|
100
|
-
require_paths:
|
85
|
+
require_paths:
|
101
86
|
- lib
|
102
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
88
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
|
108
|
-
|
109
|
-
- 0
|
110
|
-
version: "0"
|
111
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
94
|
none: false
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
segments:
|
118
|
-
- 0
|
119
|
-
version: "0"
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
120
99
|
requirements: []
|
121
|
-
|
122
100
|
rubyforge_project:
|
123
101
|
rubygems_version: 1.8.10
|
124
102
|
signing_key:
|
125
103
|
specification_version: 3
|
126
|
-
summary: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's
|
127
|
-
|
104
|
+
summary: PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's
|
105
|
+
full text search
|
106
|
+
test_files:
|
128
107
|
- spec/associations_spec.rb
|
129
108
|
- spec/pg_search/document_spec.rb
|
130
109
|
- spec/pg_search/multisearch_spec.rb
|