montrose 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +7 -6
- data/Appraisals +7 -3
- data/CHANGELOG.md +24 -0
- data/README.md +20 -15
- data/gemfiles/activesupport_5.2.gemfile +1 -1
- data/gemfiles/activesupport_6.0.gemfile +1 -1
- data/gemfiles/activesupport_6.1.gemfile +1 -1
- data/gemfiles/activesupport_7.0.gemfile +16 -0
- data/lib/montrose/chainable.rb +0 -1
- data/lib/montrose/day.rb +83 -0
- data/lib/montrose/frequency.rb +59 -26
- data/lib/montrose/hour.rb +22 -0
- data/lib/montrose/ical.rb +128 -0
- data/lib/montrose/minute.rb +22 -0
- data/lib/montrose/month.rb +47 -0
- data/lib/montrose/month_day.rb +25 -0
- data/lib/montrose/options.rb +56 -65
- data/lib/montrose/recurrence.rb +11 -5
- data/lib/montrose/rule/during.rb +7 -15
- data/lib/montrose/rule/minute_of_hour.rb +25 -0
- data/lib/montrose/rule/nth_day_of_month.rb +0 -2
- data/lib/montrose/rule/nth_day_of_year.rb +0 -2
- data/lib/montrose/rule/time_of_day.rb +1 -1
- data/lib/montrose/rule.rb +18 -16
- data/lib/montrose/stack.rb +1 -2
- data/lib/montrose/time_of_day.rb +48 -0
- data/lib/montrose/utils.rb +0 -38
- data/lib/montrose/version.rb +1 -1
- data/lib/montrose/week.rb +20 -0
- data/lib/montrose/year_day.rb +25 -0
- data/lib/montrose.rb +20 -8
- data/montrose.gemspec +2 -2
- metadata +19 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: montrose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ross Kaffenberger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5.2'
|
20
|
-
- - "
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '5.2'
|
30
|
-
- - "
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: appraisal
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,9 +144,11 @@ files:
|
|
144
144
|
- gemfiles/activesupport_5.2.gemfile
|
145
145
|
- gemfiles/activesupport_6.0.gemfile
|
146
146
|
- gemfiles/activesupport_6.1.gemfile
|
147
|
+
- gemfiles/activesupport_7.0.gemfile
|
147
148
|
- lib/montrose.rb
|
148
149
|
- lib/montrose/chainable.rb
|
149
150
|
- lib/montrose/clock.rb
|
151
|
+
- lib/montrose/day.rb
|
150
152
|
- lib/montrose/errors.rb
|
151
153
|
- lib/montrose/frequency.rb
|
152
154
|
- lib/montrose/frequency/daily.rb
|
@@ -156,6 +158,11 @@ files:
|
|
156
158
|
- lib/montrose/frequency/secondly.rb
|
157
159
|
- lib/montrose/frequency/weekly.rb
|
158
160
|
- lib/montrose/frequency/yearly.rb
|
161
|
+
- lib/montrose/hour.rb
|
162
|
+
- lib/montrose/ical.rb
|
163
|
+
- lib/montrose/minute.rb
|
164
|
+
- lib/montrose/month.rb
|
165
|
+
- lib/montrose/month_day.rb
|
159
166
|
- lib/montrose/options.rb
|
160
167
|
- lib/montrose/recurrence.rb
|
161
168
|
- lib/montrose/refinements/array_concat.rb
|
@@ -169,6 +176,7 @@ files:
|
|
169
176
|
- lib/montrose/rule/during.rb
|
170
177
|
- lib/montrose/rule/except.rb
|
171
178
|
- lib/montrose/rule/hour_of_day.rb
|
179
|
+
- lib/montrose/rule/minute_of_hour.rb
|
172
180
|
- lib/montrose/rule/month_of_year.rb
|
173
181
|
- lib/montrose/rule/nth_day_matcher.rb
|
174
182
|
- lib/montrose/rule/nth_day_of_month.rb
|
@@ -179,8 +187,11 @@ files:
|
|
179
187
|
- lib/montrose/rule/week_of_year.rb
|
180
188
|
- lib/montrose/schedule.rb
|
181
189
|
- lib/montrose/stack.rb
|
190
|
+
- lib/montrose/time_of_day.rb
|
182
191
|
- lib/montrose/utils.rb
|
183
192
|
- lib/montrose/version.rb
|
193
|
+
- lib/montrose/week.rb
|
194
|
+
- lib/montrose/year_day.rb
|
184
195
|
- montrose.gemspec
|
185
196
|
homepage: https://github.com/rossta/montrose
|
186
197
|
licenses:
|
@@ -194,14 +205,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
205
|
requirements:
|
195
206
|
- - ">="
|
196
207
|
- !ruby/object:Gem::Version
|
197
|
-
version: 2.
|
208
|
+
version: 2.6.0
|
198
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
210
|
requirements:
|
200
211
|
- - ">="
|
201
212
|
- !ruby/object:Gem::Version
|
202
213
|
version: '0'
|
203
214
|
requirements: []
|
204
|
-
rubygems_version: 3.2.
|
215
|
+
rubygems_version: 3.2.32
|
205
216
|
signing_key:
|
206
217
|
specification_version: 4
|
207
218
|
summary: Recurring events in Ruby
|