elasticsearch-model-mongoid_extensions 1.0.0 → 1.0.1

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
- SHA1:
3
- metadata.gz: dee980e6dc3ef0396943aaf053720ef297a1c906
4
- data.tar.gz: 764ad6cb13f89c06537630bc61e6ae56567ae85c
2
+ SHA256:
3
+ metadata.gz: 83ae68f2327ac0a29070798111ed65724b3f14108f55985c9d356a655a3cb742
4
+ data.tar.gz: 16392943f8ef6d971a43acc2cfb5672e1d00c387ce9b3d26bde0827241aa7b00
5
5
  SHA512:
6
- metadata.gz: 15136de7ebeeb9ab393aae065e0cab307c7a893066ee0cb64e795b1c432be391fb83b3b4500ea2c46363e2d3bb30d91d4b6a5bba003a5d330077145b55f87005
7
- data.tar.gz: 1a4ee1c6bbd2c17f7ad80a6b1d0b632cdbe953d5ffbc052127a89e1fcfaf757cf39562e735eb1c6e37d07d66984172a4606c2132758e71a1ec517f1aa9814151
6
+ metadata.gz: 44c88ff3857330feded922b34736b452b8a9a1e5559e2d5bc687e07505b44e51a570fd7e6b7ab07a8395ed5fe2c903f074b559650b1b29a8ff3dd8a2ef5dcc0e
7
+ data.tar.gz: 3dbc352f073198c5b741bc555880843a481d1222170021afe549eec41e4bf2a1bbe1a1af4361bf09430ee8352668401e374a9e35934dfe5dd6c3ef691550fd85
data/.travis.yml CHANGED
@@ -14,3 +14,12 @@ before_install:
14
14
  - curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.2.deb && sudo dpkg -i --force-confnew elasticsearch-5.5.2.deb && sudo service elasticsearch start
15
15
  before_script:
16
16
  - sleep 10
17
+
18
+ matrix:
19
+ include:
20
+ - rvm: 2.3.3
21
+ env: MONGOID_VERSION=5
22
+ - rvm: 2.3.3
23
+ env: MONGOID_VERSION=6
24
+ - rvm: 2.5.0
25
+ env: MONGOID_VERSION=7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.1
4
+
5
+ * Mongoid 7 compatibility
6
+
3
7
  ## 1.0.0
4
8
 
5
9
  * upgrade to `elasticsearch-rails`, `~> 5.0`
data/Gemfile CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in elasticsearch-model-mongoid_extensions.gemspec
4
4
  gemspec
5
+
6
+ case version = ENV['MONGOID_VERSION'] || '~> 7.0'
7
+ when /7/ then gem 'mongoid', '~> 7.0'
8
+ when /6/ then gem 'mongoid', '~> 6.0'
9
+ when /5/ then gem 'mongoid', '~> 5.1'
10
+ else gem 'mongoid', version
11
+ end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency 'activesupport', '>= 4'
22
22
  spec.add_dependency 'elasticsearch-model', '~> 5.0'
23
23
  spec.add_dependency 'elasticsearch-rails', '~> 5.0'
24
- spec.add_dependency 'mongoid', '>= 5'
24
+ spec.add_dependency 'mongoid', '>= 5', '< 8'
25
25
 
26
26
  spec.add_development_dependency 'bundler'
27
27
  spec.add_development_dependency 'database_cleaner'
@@ -1,7 +1,7 @@
1
1
  module Elasticsearch
2
2
  module Model
3
3
  module MongoidExtensions
4
- VERSION = '1.0.0'.freeze
4
+ VERSION = '1.0.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-model-mongoid_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-20 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -59,6 +59,9 @@ dependencies:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '5'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '8'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +69,9 @@ dependencies:
66
69
  - - ">="
67
70
  - !ruby/object:Gem::Version
68
71
  version: '5'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '8'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: bundler
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -210,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
216
  version: '0'
211
217
  requirements: []
212
218
  rubyforge_project:
213
- rubygems_version: 2.5.2
219
+ rubygems_version: 2.7.3
214
220
  signing_key:
215
221
  specification_version: 4
216
222
  summary: Elasticsearch::Model extensions for Mongoid adding support of single collection