es-elasticity 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticity/base_document.rb +1 -1
- data/lib/elasticity/index_mapper.rb +1 -0
- data/lib/elasticity/version.rb +1 -1
- data/spec/functional/persistence_spec.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0894b365ac839909536201e53a77446302a51606
|
4
|
+
data.tar.gz: 1aac5d88c4ea51c355babcef0d6d62218d3f6b52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d349ea21084175b7b9c933c521d5af7b02d37d868929248f64ddeaa7ede415dc2d254d6edca448a8886af04d8bdd69f4fe658034c77f0b210d4f168cba395d61
|
7
|
+
data.tar.gz: a889157a7788f7ccbfd9dedc6a540f924f473af7a2d70a792b88617f37e0be52f377391a6ac64a1cdb287273660b423b1600185e572ddd10d4b8a641fe07e9f5
|
data/lib/elasticity/version.rb
CHANGED
@@ -42,8 +42,8 @@ RSpec.describe "Persistence", elasticsearch: true do
|
|
42
42
|
end
|
43
43
|
|
44
44
|
it "successfully index, update, search, count and delete" do
|
45
|
-
john = subject.new(name: "John", birthdate: "1985-10-31")
|
46
|
-
mari = subject.new(name: "Mari", birthdate: "1986-09-24")
|
45
|
+
john = subject.new(name: "John", birthdate: "1985-10-31", sort: ['john'])
|
46
|
+
mari = subject.new(name: "Mari", birthdate: "1986-09-24", sort: ['mari'])
|
47
47
|
|
48
48
|
john.update
|
49
49
|
mari.update
|
@@ -194,8 +194,8 @@ RSpec.describe "Persistence", elasticsearch: true do
|
|
194
194
|
end
|
195
195
|
|
196
196
|
it "remaps to a different index transparently" do
|
197
|
-
john = subject.new(id: 1, name: "John", birthdate: "1985-10-31")
|
198
|
-
mari = subject.new(id: 2, name: "Mari", birthdate: "1986-09-24")
|
197
|
+
john = subject.new(id: 1, name: "John", birthdate: "1985-10-31", sort: ['john'])
|
198
|
+
mari = subject.new(id: 2, name: "Mari", birthdate: "1986-09-24", sort: ['mari'])
|
199
199
|
|
200
200
|
john.update
|
201
201
|
mari.update
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: es-elasticity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Kochenburger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
version: '0'
|
231
231
|
requirements: []
|
232
232
|
rubyforge_project:
|
233
|
-
rubygems_version: 2.4.5
|
233
|
+
rubygems_version: 2.4.5.1
|
234
234
|
signing_key:
|
235
235
|
specification_version: 4
|
236
236
|
summary: ActiveModel-based library for working with Elasticsearch
|