elasticsearch-persistence 7.0.0.pre → 7.1.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/README.md +18 -16
- data/elasticsearch-persistence.gemspec +2 -2
- data/examples/notes/README.markdown +1 -1
- data/examples/notes/application.rb +0 -1
- data/lib/elasticsearch/persistence/repository/search.rb +1 -1
- data/lib/elasticsearch/persistence/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b285d8c34abc5e619d87aef4001e463e6ac3ff66fd50e856682bdd0d4a9197c
|
4
|
+
data.tar.gz: 6b1c7e6ab38a0744c143b488d8a454aa0f3eefb4ad45fb58a4df8bffa09b55f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2289928f8273025b461ba42b09a10189c8c84b618e23192c759a94257f6b164bda555773d1a0c9cc090385eea962e2f47930270203928674de98a8271e19e4f
|
7
|
+
data.tar.gz: 6df2a36a85b35ca8d49d097d852fe6ec26b8681dbe120a5258ce8912f747e897a816537e3de74d2c4d231a3374607a3737a8346eae7631406bc6dc44f2831c28
|
data/Gemfile
CHANGED
@@ -20,11 +20,11 @@ source 'https://rubygems.org'
|
|
20
20
|
# Specify your gem's dependencies in elasticsearch-persistence.gemspec
|
21
21
|
gemspec
|
22
22
|
|
23
|
-
gem 'elasticsearch-model',
|
24
|
-
|
25
|
-
|
23
|
+
gem 'elasticsearch-model',
|
24
|
+
path: File.expand_path('../elasticsearch-model', __dir__),
|
25
|
+
require: false
|
26
26
|
|
27
27
|
group :development, :testing do
|
28
|
-
gem 'rspec'
|
29
28
|
gem 'pry-nav'
|
29
|
+
gem 'rspec'
|
30
30
|
end
|
data/README.md
CHANGED
@@ -4,10 +4,9 @@ Persistence layer for Ruby domain objects in Elasticsearch, using the Repository
|
|
4
4
|
|
5
5
|
## Compatibility
|
6
6
|
|
7
|
-
This library is compatible with Ruby
|
7
|
+
This library is compatible with Ruby 2.4 and higher.
|
8
8
|
|
9
|
-
The library version numbers follow the Elasticsearch major versions
|
10
|
-
is compatible with the Elasticsearch `master` branch, therefore, with the next major version.
|
9
|
+
The library version numbers follow the Elasticsearch major versions. The `master` branch is compatible with the latest Elasticsearch stack stable release.
|
11
10
|
|
12
11
|
| Rubygem | | Elasticsearch |
|
13
12
|
|:-------------:|:-:| :-----------: |
|
@@ -15,7 +14,7 @@ is compatible with the Elasticsearch `master` branch, therefore, with the next m
|
|
15
14
|
| 2.x | → | 2.x |
|
16
15
|
| 5.x | → | 5.x |
|
17
16
|
| 6.x | → | 6.x |
|
18
|
-
| master | → |
|
17
|
+
| master | → | 7.x |
|
19
18
|
|
20
19
|
## Installation
|
21
20
|
|
@@ -574,16 +573,19 @@ The ActiveRecord pattern has been deprecated as of version 6.0.0 of this gem. Pl
|
|
574
573
|
|
575
574
|
This software is licensed under the Apache 2 license, quoted below.
|
576
575
|
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
576
|
+
Licensed to Elasticsearch B.V. under one or more contributor
|
577
|
+
license agreements. See the NOTICE file distributed with
|
578
|
+
this work for additional information regarding copyright
|
579
|
+
ownership. Elasticsearch B.V. licenses this file to you under
|
580
|
+
the Apache License, Version 2.0 (the "License"); you may
|
581
|
+
not use this file except in compliance with the License.
|
581
582
|
You may obtain a copy of the License at
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
Unless required by applicable law or agreed to in writing,
|
586
|
-
distributed under the License is distributed on an
|
587
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
588
|
-
See the License for the
|
589
|
-
|
583
|
+
|
584
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
585
|
+
|
586
|
+
Unless required by applicable law or agreed to in writing,
|
587
|
+
software distributed under the License is distributed on an
|
588
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
589
|
+
KIND, either express or implied. See the License for the
|
590
|
+
specific language governing permissions and limitations
|
591
|
+
under the License.
|
@@ -41,13 +41,13 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.required_ruby_version = ">= 1.9.3"
|
42
42
|
|
43
43
|
s.add_dependency "elasticsearch", '~> 7'
|
44
|
-
s.add_dependency "elasticsearch-model", '7.
|
44
|
+
s.add_dependency "elasticsearch-model", '7.1.2.pre'
|
45
45
|
s.add_dependency "activesupport", '> 4'
|
46
46
|
s.add_dependency "activemodel", '> 4'
|
47
47
|
s.add_dependency "hashie"
|
48
48
|
|
49
49
|
s.add_development_dependency "bundler"
|
50
|
-
s.add_development_dependency "rake", "~>
|
50
|
+
s.add_development_dependency "rake", "~> 12"
|
51
51
|
|
52
52
|
s.add_development_dependency "oj" unless defined?(JRUBY_VERSION)
|
53
53
|
|
@@ -21,7 +21,7 @@ The application demonstrates:
|
|
21
21
|
|
22
22
|
This software is licensed under the Apache 2 license, quoted below.
|
23
23
|
|
24
|
-
Copyright (c) 2014 Elasticsearch <
|
24
|
+
Copyright (c) 2014 Elasticsearch <https://www.elastic.co>
|
25
25
|
|
26
26
|
Licensed under the Apache License, Version 2.0 (the "License");
|
27
27
|
you may not use this file except in compliance with the License.
|
@@ -88,7 +88,7 @@ module Elasticsearch
|
|
88
88
|
#
|
89
89
|
# @example Return the count of domain object matching a query in the Elasticsearch DSL
|
90
90
|
#
|
91
|
-
# repository.
|
91
|
+
# repository.count(query: { match: { title: 'fox dog' } })
|
92
92
|
# # => 1
|
93
93
|
#
|
94
94
|
# @param [ Hash, String ] query_or_definition The query or search definition.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-persistence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.1.2.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elasticsearch
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 7.
|
33
|
+
version: 7.1.2.pre
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 7.
|
40
|
+
version: 7.1.2.pre
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '12'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '12'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: oj
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
349
|
- !ruby/object:Gem::Version
|
350
350
|
version: 1.3.1
|
351
351
|
requirements: []
|
352
|
-
rubygems_version: 3.
|
352
|
+
rubygems_version: 3.1.4
|
353
353
|
signing_key:
|
354
354
|
specification_version: 4
|
355
355
|
summary: Persistence layer for Ruby models and Elasticsearch.
|