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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14c3b4d2971748d63117701f6d6462c32866847e6a893b669b18515072e4e010
4
- data.tar.gz: 3084aec3824fa0724ecd86a3a86ecccc65f74aad73e796988abdb164bfbc23a7
3
+ metadata.gz: 3b285d8c34abc5e619d87aef4001e463e6ac3ff66fd50e856682bdd0d4a9197c
4
+ data.tar.gz: 6b1c7e6ab38a0744c143b488d8a454aa0f3eefb4ad45fb58a4df8bffa09b55f8
5
5
  SHA512:
6
- metadata.gz: 10b53ccaa47215d1786d688828f62ce9107bb482f240499b3f47bc80ffb2c733676a52c0c92de47570e8ca03f740cbc0b10bc1e0b1792633ad44ebc2458ed0b2
7
- data.tar.gz: 5fec43541fe7a64db1d6dc83d618f94d46cdba4b3a6a97f3a296821653383325c110a5565b1cf9f6a1d1193bc5d8adb344115f79b830bfbb45799dff93f70638
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', :path => File.expand_path("../../elasticsearch-model", __FILE__), :require => false
24
-
25
- gem 'virtus'
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 1.9.3 and higher.
7
+ This library is compatible with Ruby 2.4 and higher.
8
8
 
9
- The library version numbers follow the Elasticsearch major versions, and the `master` branch
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 | → | 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
- Copyright (c) 2014 Elasticsearch <http://www.elasticsearch.org>
578
-
579
- Licensed under the Apache License, Version 2.0 (the "License");
580
- you may not use this file except in compliance with the License.
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
- http://www.apache.org/licenses/LICENSE-2.0
584
-
585
- Unless required by applicable law or agreed to in writing, software
586
- distributed under the License is distributed on an "AS IS" BASIS,
587
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
588
- See the License for the specific language governing permissions and
589
- limitations under the License.
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.0.0.pre'
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", "~> 11.1"
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 <http://www.elasticsearch.org>
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.
@@ -35,7 +35,6 @@ class Note
35
35
  __add_date
36
36
  __extract_tags
37
37
  __truncate_text
38
- self
39
38
  end
40
39
 
41
40
  def method_missing(method_name, *arguments, &block)
@@ -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.search(query: { match: { title: 'fox dog' } })
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.
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module Persistence
20
- VERSION = '7.0.0.pre'
20
+ VERSION = '7.1.2.pre'
21
21
  end
22
22
  end
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.0.0.pre
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: 2019-04-30 00:00:00.000000000 Z
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.0.0.pre
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.0.0.pre
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: '11.1'
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: '11.1'
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.0.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.