mongoid_ice_cube_extension 0.2.1 → 0.2.2

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: f9ecc00d2cf60eeeae9d583259ea9ae171c714fa
4
- data.tar.gz: 2fe5da88146f6f69c566fcb28e2f09944a5716c7
2
+ SHA256:
3
+ metadata.gz: 5f1a1c282e22c4356c1d7b7bc3fefeea50414e7b1e0b510b8191574fe81c883e
4
+ data.tar.gz: 28c735229b8c76cc7cd9fd5ec39fe4ac81bfed31effea55a5bf01156510096ba
5
5
  SHA512:
6
- metadata.gz: b84cfc8b3c2cbee9232a8edeb6f27b03938fecdd2e7f8ee9b36a440b355297e566aa8e4e273c68e63d2377051532a6b20632ab7801aa10d7adfe3f40b5d7ce5f
7
- data.tar.gz: 3604f78e2f92a31239b04af26efcdd0a628a98ce116efd19310358e64ab5063b358a510ac996835003471a383c8c305d100070a7c916d8140aa150179847516e
6
+ metadata.gz: faecd23b99ba9d4e54eb55bf6149e80acef2048c383a66b55bd45359f3329c7aa987b58f96953e041ca61edb021a409742e20760695ead27ec060e1ddf7ffddd
7
+ data.tar.gz: de3b7d54c3926d4c95f96e90474065dd4169194edb6cd35cb99519a211a3766546368cf42b32528be865f113cf999d4c275ea5450abf64a502ee2043e08bcd01
@@ -2,7 +2,7 @@ language: ruby
2
2
  cache: bundler
3
3
  script: 'bundle exec rake'
4
4
  rvm:
5
- - 2.2.4
5
+ - 2.2.5
6
6
 
7
7
  notifications:
8
8
  email:
@@ -10,3 +10,14 @@ notifications:
10
10
  - tomas.celizna@gmail.com
11
11
  on_failure: change
12
12
  on_success: never
13
+
14
+ matrix:
15
+ include:
16
+ - rvm: 2.3.3
17
+ env: MONGOID_VERSION=4
18
+ - rvm: 2.3.3
19
+ env: MONGOID_VERSION=5
20
+ - rvm: 2.3.3
21
+ env: MONGOID_VERSION=6
22
+ - rvm: 2.5.0
23
+ env: MONGOID_VERSION=7
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.2.2
4
+
5
+ * Mongoid 7 compatibility
data/Gemfile CHANGED
@@ -2,3 +2,11 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in mongoid_ice_cube_extension.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
+ when /4/ then gem 'mongoid', '~> 4'
11
+ else gem 'mongoid', version
12
+ end
@@ -1,3 +1,3 @@
1
1
  module MongoidIceCubeExtension
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'mongoid', '>= 4.0'
20
+ spec.add_dependency 'mongoid', '>= 4.0', '< 8'
21
21
  spec.add_dependency 'ice_cube'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.6'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_ice_cube_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-24 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: mongoid
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '8'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '8'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: ice_cube
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -132,6 +138,7 @@ files:
132
138
  - ".coveralls.yml"
133
139
  - ".gitignore"
134
140
  - ".travis.yml"
141
+ - CHANGELOG.md
135
142
  - Gemfile
136
143
  - Guardfile
137
144
  - README.md
@@ -162,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
169
  version: '0'
163
170
  requirements: []
164
171
  rubyforge_project:
165
- rubygems_version: 2.4.5.1
172
+ rubygems_version: 2.7.3
166
173
  signing_key:
167
174
  specification_version: 4
168
175
  summary: Mongoid field extension that serializes/deserializes IceCube Schedule and