mongoid_recurring 0.1.7 → 0.1.9

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: bdb60a9e03a738e678222d2e309f0f7678afa5ec
4
- data.tar.gz: ad2a4b88b0633dccaacfa18b0549000e5260d981
2
+ SHA256:
3
+ metadata.gz: d93168be6cf7aacdd0e202ada6b49038260e3fca390fb65d9c1f6bfc9fd055a3
4
+ data.tar.gz: 65b6cfc80e790570b74af9c1d94dcb640486f57299be76295dbeb142d1817a3a
5
5
  SHA512:
6
- metadata.gz: 50c5ecb4aa985b901fc514ba52748c1b8a0063bd87ce87688dcf2838783d228fc219b7956ae3024834d440276cfc10b9720e69db468ebe3c1eadee465f54d1a8
7
- data.tar.gz: 84e52bd69cb1bf22291a5f96bad5ba233311e5b5f69a4a46a74492b22044f2bed7ab30ef9abb8c54b4a4ef62af0dff45edbf1112aebca0d31ace6ae43739ff89
6
+ metadata.gz: f0ecb27addb7b95c2c6b98cf702f9b4eae2e352319880fc18d61bc7e7aef6774684533c3a7b51cad4471fa96e0a9b1a3b77b8ded87a28d5156023c6f7c705853
7
+ data.tar.gz: 879020e487917e5e8cdce616006ac66274b73bf18b547d177d8410a252104ea8d405557fc6e15c056e656996918c1b50c1c3197418486e1ff598adc460c074b5
@@ -0,0 +1,29 @@
1
+ name: Tests
2
+ on: [push, pull_request]
3
+ concurrency:
4
+ group: ${{ github.ref }}
5
+ cancel-in-progress: true
6
+ jobs:
7
+ test:
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ gemfile: ["7", "8"]
12
+ ruby: ["2.7", "3.0", "3.1", "3.2"]
13
+ include:
14
+ - gemfile: "6"
15
+ ruby: "2.7"
16
+ runs-on: ubuntu-latest
17
+ services:
18
+ mongodb:
19
+ image: mongo
20
+ ports: ["27017:27017"]
21
+ env:
22
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby }}
28
+ bundler-cache: true
29
+ - run: bundle exec rake
data/.gitignore CHANGED
@@ -1,9 +1,11 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
3
  /Gemfile.lock
4
+ /gemfiles/*.gemfile.lock
4
5
  /_yardoc/
5
6
  /coverage/
6
7
  /doc/
7
8
  /pkg/
8
9
  /spec/reports/
9
10
  /tmp/
11
+ .bundle
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ appraise "6" do
2
+ gem "mongoid", "~> 6.0"
3
+ end
4
+
5
+ appraise "7" do
6
+ gem "mongoid", "~> 7.0"
7
+ end
8
+
9
+ appraise "8" do
10
+ gem "mongoid", "~> 8.0"
11
+ end
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.1.9
4
+
5
+ * Mongoid 8 compatibility
6
+
7
+ ## 0.1.8
8
+
9
+ * Mongoid 7 compatibility
data/Gemfile CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in mongoid_recurring.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
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "mongoid", "~> 6.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "mongoid", "~> 7.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "mongoid", "~> 8.0"
6
+
7
+ gemspec path: "../"
@@ -19,7 +19,7 @@ module MongoidRecurring
19
19
 
20
20
  field :dtstart, type: DateTime
21
21
  field :dtend, type: DateTime
22
- field :all_day, type: Boolean, default: false
22
+ field :all_day, type: Mongoid::Boolean, default: false
23
23
 
24
24
  field :schedule, type: MongoidIceCubeExtension::Schedule
25
25
  field :schedule_dtend, type: DateTime
@@ -1,3 +1,3 @@
1
1
  module MongoidRecurring
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
@@ -23,11 +23,12 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency 'mongoid', '>= 5.1'
24
24
  spec.add_dependency 'mongoid_ice_cube_extension', '>= 0.1.1'
25
25
 
26
- spec.add_development_dependency 'bundler', '~> 1.6'
26
+ spec.add_development_dependency 'appraisal'
27
+ spec.add_development_dependency 'bundler'
27
28
  spec.add_development_dependency 'coveralls'
28
- spec.add_development_dependency 'database_cleaner'
29
+ spec.add_development_dependency 'database_cleaner-mongoid'
29
30
  spec.add_development_dependency 'guard'
30
31
  spec.add_development_dependency 'guard-minitest'
31
32
  spec.add_development_dependency 'minitest'
32
- spec.add_development_dependency 'rake', '~> 10.0'
33
+ spec.add_development_dependency 'rake'
33
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_recurring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-24 00:00:00.000000000 Z
11
+ date: 2024-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -66,20 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.1.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: appraisal
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - "~>"
87
+ - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: '1.6'
89
+ version: '0'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - "~>"
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: '1.6'
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: coveralls
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -95,7 +109,7 @@ dependencies:
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
- name: database_cleaner
112
+ name: database_cleaner-mongoid
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - ">="
@@ -154,17 +168,17 @@ dependencies:
154
168
  name: rake
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - "~>"
171
+ - - ">="
158
172
  - !ruby/object:Gem::Version
159
- version: '10.0'
173
+ version: '0'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - "~>"
178
+ - - ">="
165
179
  - !ruby/object:Gem::Version
166
- version: '10.0'
167
- description:
180
+ version: '0'
181
+ description:
168
182
  email:
169
183
  - tomas.celizna@gmail.com
170
184
  executables: []
@@ -172,8 +186,10 @@ extensions: []
172
186
  extra_rdoc_files: []
173
187
  files:
174
188
  - ".coveralls.yml"
189
+ - ".github/workflows/test.yml"
175
190
  - ".gitignore"
176
- - ".travis.yml"
191
+ - Appraisals
192
+ - CHANGELOG.md
177
193
  - Gemfile
178
194
  - Guardfile
179
195
  - LICENSE.txt
@@ -181,6 +197,9 @@ files:
181
197
  - Rakefile
182
198
  - bin/console
183
199
  - bin/setup
200
+ - gemfiles/6.gemfile
201
+ - gemfiles/7.gemfile
202
+ - gemfiles/8.gemfile
184
203
  - lib/mongoid_recurring.rb
185
204
  - lib/mongoid_recurring/has_recurring_fields.rb
186
205
  - lib/mongoid_recurring/occurrence.rb
@@ -190,7 +209,7 @@ homepage: https://github.com/tomasc/mongoid_recurring
190
209
  licenses:
191
210
  - MIT
192
211
  metadata: {}
193
- post_install_message:
212
+ post_install_message:
194
213
  rdoc_options: []
195
214
  require_paths:
196
215
  - lib
@@ -205,9 +224,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
224
  - !ruby/object:Gem::Version
206
225
  version: '0'
207
226
  requirements: []
208
- rubyforge_project:
209
- rubygems_version: 2.4.5.1
210
- signing_key:
227
+ rubygems_version: 3.5.6
228
+ signing_key:
211
229
  specification_version: 4
212
230
  summary: Recurring date time fields for Mongoid models.
213
231
  test_files: []
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- script: 'bundle exec rake'
4
- rvm:
5
- - 2.2.5
6
- services:
7
- - mongodb
8
-
9
- notifications:
10
- email:
11
- recipients:
12
- - tomas.celizna@gmail.com
13
- on_failure: change
14
- on_success: never