textacular 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +7 -1
- data/Rakefile +5 -6
- data/lib/textacular/trigram_installer.rb +1 -1
- data/lib/textacular/version.rb +1 -1
- data/spec/config.travis.yml +8 -0
- data/spec/spec_helper.rb +93 -67
- data/spec/support/ar_stand_in.rb +4 -0
- data/spec/{fixtures → support}/character.rb +1 -0
- data/spec/{fixtures → support}/game.rb +0 -2
- data/spec/support/game_extended_with_textacular.rb +5 -0
- data/spec/support/game_extended_with_textacular_and_custom_language.rb +7 -0
- data/spec/support/game_fail.rb +3 -0
- data/spec/support/game_fail_extended_with_textacular.rb +5 -0
- data/spec/support/not_there.rb +3 -0
- data/spec/support/textacular_web_comic.rb +7 -0
- data/spec/{fixtures/webcomic.rb → support/web_comic.rb} +0 -0
- data/spec/support/web_comic_with_searchable.rb +6 -0
- data/spec/support/web_comic_with_searchable_name.rb +6 -0
- data/spec/support/web_comic_with_searchable_name_and_author.rb +6 -0
- data/spec/textacular/full_text_indexer_spec.rb +69 -0
- data/spec/textacular/migration_generator_spec.rb +67 -0
- data/spec/textacular/searchable_spec.rb +136 -55
- data/spec/textacular/trigram_installer_spec.rb +24 -0
- data/spec/textacular_spec.rb +292 -150
- metadata +54 -40
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: textacular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Hamill
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-12-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pg
|
@@ -18,58 +18,44 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.14
|
21
|
+
version: '0.14'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.14
|
28
|
+
version: '0.14'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
|
-
name:
|
30
|
+
name: rspec
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: '0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
|
-
name:
|
44
|
+
name: database_cleaner
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: '0'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - "
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: rake
|
59
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - "~>"
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 0.9.0
|
64
|
-
type: :development
|
65
|
-
prerelease: false
|
66
|
-
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - "~>"
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 0.9.0
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: pry
|
73
59
|
requirement: !ruby/object:Gem::Requirement
|
74
60
|
requirements:
|
75
61
|
- - ">="
|
@@ -83,7 +69,7 @@ dependencies:
|
|
83
69
|
- !ruby/object:Gem::Version
|
84
70
|
version: '0'
|
85
71
|
- !ruby/object:Gem::Dependency
|
86
|
-
name: pry
|
72
|
+
name: pry
|
87
73
|
requirement: !ruby/object:Gem::Requirement
|
88
74
|
requirements:
|
89
75
|
- - ">="
|
@@ -97,7 +83,7 @@ dependencies:
|
|
97
83
|
- !ruby/object:Gem::Version
|
98
84
|
version: '0'
|
99
85
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
86
|
+
name: pry-doc
|
101
87
|
requirement: !ruby/object:Gem::Requirement
|
102
88
|
requirements:
|
103
89
|
- - ">="
|
@@ -119,7 +105,7 @@ dependencies:
|
|
119
105
|
version: '3.0'
|
120
106
|
- - "<"
|
121
107
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
108
|
+
version: '5.0'
|
123
109
|
type: :runtime
|
124
110
|
prerelease: false
|
125
111
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -129,7 +115,7 @@ dependencies:
|
|
129
115
|
version: '3.0'
|
130
116
|
- - "<"
|
131
117
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
118
|
+
version: '5.0'
|
133
119
|
description: |-
|
134
120
|
Textacular exposes full text search capabilities from PostgreSQL, extending
|
135
121
|
ActiveRecord with scopes making search easy and fun!
|
@@ -153,12 +139,26 @@ files:
|
|
153
139
|
- lib/textacular/tasks.rb
|
154
140
|
- lib/textacular/trigram_installer.rb
|
155
141
|
- lib/textacular/version.rb
|
142
|
+
- spec/config.travis.yml
|
156
143
|
- spec/config.yml.example
|
157
|
-
- spec/fixtures/character.rb
|
158
|
-
- spec/fixtures/game.rb
|
159
|
-
- spec/fixtures/webcomic.rb
|
160
144
|
- spec/spec_helper.rb
|
145
|
+
- spec/support/ar_stand_in.rb
|
146
|
+
- spec/support/character.rb
|
147
|
+
- spec/support/game.rb
|
148
|
+
- spec/support/game_extended_with_textacular.rb
|
149
|
+
- spec/support/game_extended_with_textacular_and_custom_language.rb
|
150
|
+
- spec/support/game_fail.rb
|
151
|
+
- spec/support/game_fail_extended_with_textacular.rb
|
152
|
+
- spec/support/not_there.rb
|
153
|
+
- spec/support/textacular_web_comic.rb
|
154
|
+
- spec/support/web_comic.rb
|
155
|
+
- spec/support/web_comic_with_searchable.rb
|
156
|
+
- spec/support/web_comic_with_searchable_name.rb
|
157
|
+
- spec/support/web_comic_with_searchable_name_and_author.rb
|
158
|
+
- spec/textacular/full_text_indexer_spec.rb
|
159
|
+
- spec/textacular/migration_generator_spec.rb
|
161
160
|
- spec/textacular/searchable_spec.rb
|
161
|
+
- spec/textacular/trigram_installer_spec.rb
|
162
162
|
- spec/textacular_spec.rb
|
163
163
|
homepage: http://textacular.github.com/textacular
|
164
164
|
licenses:
|
@@ -180,16 +180,30 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.
|
183
|
+
rubygems_version: 2.4.3
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Textacular exposes full text search capabilities from PostgreSQL
|
187
187
|
test_files:
|
188
188
|
- spec/config.yml.example
|
189
|
-
- spec/
|
190
|
-
- spec/fixtures/game.rb
|
191
|
-
- spec/fixtures/webcomic.rb
|
189
|
+
- spec/config.travis.yml
|
192
190
|
- spec/spec_helper.rb
|
193
|
-
- spec/
|
191
|
+
- spec/support/ar_stand_in.rb
|
192
|
+
- spec/support/character.rb
|
193
|
+
- spec/support/game.rb
|
194
|
+
- spec/support/game_extended_with_textacular.rb
|
195
|
+
- spec/support/game_extended_with_textacular_and_custom_language.rb
|
196
|
+
- spec/support/game_fail.rb
|
197
|
+
- spec/support/game_fail_extended_with_textacular.rb
|
198
|
+
- spec/support/not_there.rb
|
199
|
+
- spec/support/textacular_web_comic.rb
|
200
|
+
- spec/support/web_comic.rb
|
201
|
+
- spec/support/web_comic_with_searchable.rb
|
202
|
+
- spec/support/web_comic_with_searchable_name.rb
|
203
|
+
- spec/support/web_comic_with_searchable_name_and_author.rb
|
194
204
|
- spec/textacular_spec.rb
|
205
|
+
- spec/textacular/full_text_indexer_spec.rb
|
206
|
+
- spec/textacular/migration_generator_spec.rb
|
207
|
+
- spec/textacular/searchable_spec.rb
|
208
|
+
- spec/textacular/trigram_installer_spec.rb
|
195
209
|
has_rdoc:
|