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 +5 -5
- data/.github/workflows/test.yml +29 -0
- data/.gitignore +2 -0
- data/Appraisals +11 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +7 -0
- data/gemfiles/6.gemfile +7 -0
- data/gemfiles/7.gemfile +7 -0
- data/gemfiles/8.gemfile +7 -0
- data/lib/mongoid_recurring/has_recurring_fields.rb +1 -1
- data/lib/mongoid_recurring/version.rb +1 -1
- data/mongoid_recurring.gemspec +4 -3
- metadata +36 -18
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d93168be6cf7aacdd0e202ada6b49038260e3fca390fb65d9c1f6bfc9fd055a3
|
4
|
+
data.tar.gz: 65b6cfc80e790570b74af9c1d94dcb640486f57299be76295dbeb142d1817a3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/Appraisals
ADDED
data/CHANGELOG.md
ADDED
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
|
data/gemfiles/6.gemfile
ADDED
data/gemfiles/7.gemfile
ADDED
data/gemfiles/8.gemfile
ADDED
@@ -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
|
data/mongoid_recurring.gemspec
CHANGED
@@ -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 '
|
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'
|
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.
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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
|
-
-
|
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
|
-
|
209
|
-
|
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: []
|