elastic_searchable 1.6 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -2
- data/.rvmrc +1 -1
- data/CONTRIBUTORS.txt +0 -1
- data/Rakefile +9 -7
- data/elastic_searchable.gemspec +6 -7
- data/lib/elastic_searchable/active_record_extensions.rb +7 -2
- data/lib/elastic_searchable/index.rb +19 -53
- data/lib/elastic_searchable/queries.rb +8 -41
- data/lib/elastic_searchable/version.rb +1 -1
- data/lib/elastic_searchable.rb +30 -4
- data/test/database.yml +3 -0
- data/{spec/spec_helper.rb → test/helper.rb} +10 -16
- data/{spec/support → test}/setup_database.rb +0 -0
- data/test/test_elastic_searchable.rb +558 -0
- metadata +69 -115
- checksums.yaml +0 -7
- data/.travis.yml +0 -5
- data/spec/elastic_searchable_spec.rb +0 -433
- data/spec/support/blog.rb +0 -6
- data/spec/support/book.rb +0 -10
- data/spec/support/database.yml +0 -3
- data/spec/support/friend.rb +0 -4
- data/spec/support/max_page_size_class.rb +0 -6
- data/spec/support/post.rb +0 -26
- data/spec/support/user.rb +0 -8
metadata
CHANGED
@@ -1,155 +1,115 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic_searchable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Ryan Sonnek
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2012-02-07 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: activerecord
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2151908780 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 3.0.5
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.5
|
24
|
+
version_requirements: *2151908780
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: httparty
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &2151907680 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - ! '>='
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: 0.6.0
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.6.0
|
35
|
+
version_requirements: *2151907680
|
41
36
|
- !ruby/object:Gem::Dependency
|
42
37
|
name: backgrounded
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &2151906900 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
44
40
|
requirements:
|
45
|
-
- -
|
41
|
+
- - ! '>='
|
46
42
|
- !ruby/object:Gem::Version
|
47
43
|
version: 0.7.0
|
48
44
|
type: :runtime
|
49
45
|
prerelease: false
|
50
|
-
version_requirements:
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.7.0
|
46
|
+
version_requirements: *2151906900
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
48
|
name: multi_json
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &2151906200 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 1.0.0
|
62
55
|
type: :runtime
|
63
56
|
prerelease: false
|
64
|
-
version_requirements:
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.0.0
|
57
|
+
version_requirements: *2151906200
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirement: &2151905500 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
72
62
|
requirements:
|
73
|
-
- -
|
63
|
+
- - =
|
74
64
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
65
|
+
version: 0.9.2.2
|
76
66
|
type: :development
|
77
67
|
prerelease: false
|
78
|
-
version_requirements:
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
68
|
+
version_requirements: *2151905500
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: sqlite3
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirement: &2151904900 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
86
73
|
requirements:
|
87
|
-
- -
|
74
|
+
- - =
|
88
75
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
76
|
+
version: 1.3.4
|
90
77
|
type: :development
|
91
78
|
prerelease: false
|
92
|
-
version_requirements:
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
79
|
+
version_requirements: *2151904900
|
97
80
|
- !ruby/object:Gem::Dependency
|
98
81
|
name: pry
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rspec
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirement: &2151904080 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
114
84
|
requirements:
|
115
|
-
- -
|
85
|
+
- - =
|
116
86
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
87
|
+
version: 0.9.6.2
|
118
88
|
type: :development
|
119
89
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
90
|
+
version_requirements: *2151904080
|
125
91
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
+
name: shoulda
|
93
|
+
requirement: &2151919660 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
128
95
|
requirements:
|
129
|
-
- -
|
96
|
+
- - =
|
130
97
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
98
|
+
version: 2.11.3
|
132
99
|
type: :development
|
133
100
|
prerelease: false
|
134
|
-
version_requirements:
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
101
|
+
version_requirements: *2151919660
|
139
102
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
103
|
+
name: mocha
|
104
|
+
requirement: &2151918640 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
142
106
|
requirements:
|
143
|
-
- -
|
107
|
+
- - =
|
144
108
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
109
|
+
version: 0.10.0
|
146
110
|
type: :development
|
147
111
|
prerelease: false
|
148
|
-
version_requirements:
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
112
|
+
version_requirements: *2151918640
|
153
113
|
description: integrate the elastic search engine with rails
|
154
114
|
email:
|
155
115
|
- ryan@codecrate.com
|
@@ -157,10 +117,9 @@ executables: []
|
|
157
117
|
extensions: []
|
158
118
|
extra_rdoc_files: []
|
159
119
|
files:
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
- ".travis.yml"
|
120
|
+
- .document
|
121
|
+
- .gitignore
|
122
|
+
- .rvmrc
|
164
123
|
- CONTRIBUTORS.txt
|
165
124
|
- Gemfile
|
166
125
|
- LICENSE.txt
|
@@ -176,47 +135,42 @@ files:
|
|
176
135
|
- lib/elastic_searchable/paginator.rb
|
177
136
|
- lib/elastic_searchable/queries.rb
|
178
137
|
- lib/elastic_searchable/version.rb
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
- spec/support/database.yml
|
184
|
-
- spec/support/friend.rb
|
185
|
-
- spec/support/max_page_size_class.rb
|
186
|
-
- spec/support/post.rb
|
187
|
-
- spec/support/setup_database.rb
|
188
|
-
- spec/support/user.rb
|
138
|
+
- test/database.yml
|
139
|
+
- test/helper.rb
|
140
|
+
- test/setup_database.rb
|
141
|
+
- test/test_elastic_searchable.rb
|
189
142
|
homepage: http://github.com/socialcast/elastic_searchable
|
190
143
|
licenses: []
|
191
|
-
metadata: {}
|
192
144
|
post_install_message:
|
193
145
|
rdoc_options: []
|
194
146
|
require_paths:
|
195
147
|
- lib
|
196
148
|
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
197
150
|
requirements:
|
198
|
-
- -
|
151
|
+
- - ! '>='
|
199
152
|
- !ruby/object:Gem::Version
|
200
153
|
version: '0'
|
154
|
+
segments:
|
155
|
+
- 0
|
156
|
+
hash: -4429360215789291736
|
201
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
+
none: false
|
202
159
|
requirements:
|
203
|
-
- -
|
160
|
+
- - ! '>='
|
204
161
|
- !ruby/object:Gem::Version
|
205
162
|
version: '0'
|
163
|
+
segments:
|
164
|
+
- 0
|
165
|
+
hash: -4429360215789291736
|
206
166
|
requirements: []
|
207
167
|
rubyforge_project: elastic_searchable
|
208
|
-
rubygems_version:
|
168
|
+
rubygems_version: 1.8.13
|
209
169
|
signing_key:
|
210
|
-
specification_version:
|
170
|
+
specification_version: 3
|
211
171
|
summary: elastic search for activerecord
|
212
172
|
test_files:
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
- spec/support/database.yml
|
218
|
-
- spec/support/friend.rb
|
219
|
-
- spec/support/max_page_size_class.rb
|
220
|
-
- spec/support/post.rb
|
221
|
-
- spec/support/setup_database.rb
|
222
|
-
- spec/support/user.rb
|
173
|
+
- test/database.yml
|
174
|
+
- test/helper.rb
|
175
|
+
- test/setup_database.rb
|
176
|
+
- test/test_elastic_searchable.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 07b8465cf211c71d51f8aae0a70050d764ca5b85
|
4
|
-
data.tar.gz: 22718204ae3d09fd1e969c1a8410b4d352946ff8
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 64be3a3d8766e5a9d3a2d39523172703467572e496b96d92d3167686d04b8522b2aaf8203e32c60d8db4fe40ecedea7eb1fee945d49068ef0de7c47a51c4f490
|
7
|
-
data.tar.gz: f7791b7a15d83546061e34773e580d3d4a0fdee66d277f35c793d2515a20d0c0accc4c39f82b0d400a06a2dfd0ff35dc7910a1d3cb35f917c7481af867f1e737
|