montrose 0.14.0 → 0.16.0

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
2
  SHA256:
3
- metadata.gz: d6f7ea1fd6222db409b16db79037e8fcdae1d3d2d974fe767ba1cc14e7751d15
4
- data.tar.gz: 7006787072b5ccd1d5bd1e37991fea4ee0539ff2c6b6e62a317194066b4ecb5d
3
+ metadata.gz: 1d62fee9cc488eb262f8f377a3241057e35ce47897e4ec20527794c7b971fea7
4
+ data.tar.gz: 0a4c66119146369751b2b5361d832c27a65a7084b03f1eefb6ef5491380a819d
5
5
  SHA512:
6
- metadata.gz: a0bf23b3af8e63c66f4bf8b81873f5869c88dd206cfe185f26b926f9eba4ab5895fb50aa318621949551d7d99ffa6d17b73e54509a4431230f048515f4554678
7
- data.tar.gz: af35726d60626e59eaab28ad6a4c3bda1a570405f2c8d47efbba42b6efd452eb61b66007385ce030bf303a1ad5c49b65280d0db9e20cab1c82fc07c88812ebce
6
+ metadata.gz: 193244663c218d1c3d118aac82c469abc7c1760c7bbbd79abb4324893ced38d5b28c36dae49b348311c6e451004f5dbd3aed22e770a9aa5c4fae7e7a6eb17a04
7
+ data.tar.gz: d26bd2132ae3fc9c8adc0fd4bf681a2508a067cdfb42c4a765a585b0a666b89e2e7ff0ecdf327c4404a0ea09f2290a0160d467dd83fc8319e10f46914a4c10fc
data/.circleci/config.yml CHANGED
@@ -2,6 +2,14 @@ version: 2.1
2
2
  orbs:
3
3
  ruby: circleci/ruby@2.1.0
4
4
 
5
+ executors:
6
+ app-ruby:
7
+ parameters:
8
+ ruby-version:
9
+ type: string
10
+ default: '2.7'
11
+ docker:
12
+ - image: cimg/ruby:<<parameters.ruby-version>>
5
13
 
6
14
  commands:
7
15
  run-tests:
@@ -14,44 +22,122 @@ commands:
14
22
  steps:
15
23
  - run: bundle exec rake standard
16
24
 
25
+ run-docs-build:
26
+ description: Generate docs
27
+ steps:
28
+ - run: bundle exec rake doc:build
29
+
30
+ run-docs-publish:
31
+ description: Update gh-pages
32
+ steps:
33
+ - run: |
34
+ git checkout gh-pages
35
+ cp -R doc/* .
36
+ git commit -vam '[skip ci] Update documentation'
37
+ git push origin gh-pages
38
+
17
39
  jobs:
18
40
  test:
19
41
  parameters:
20
- ruby_version:
42
+ ruby-version:
21
43
  type: string
22
44
  gemfile:
23
45
  type: string
24
- docker:
25
- - image: 'cimg/ruby:<< parameters.ruby_version >>'
46
+ executor:
47
+ name: app-ruby
48
+ ruby-version: <<parameters.ruby-version>>
26
49
  steps:
27
50
  - checkout
28
51
  - ruby/install-deps:
29
52
  gemfile: <<parameters.gemfile>>
30
53
  - run-tests
31
54
 
55
+ # Convenience job for setting github branch protection rules
56
+ test-matrix:
57
+ executor: app-ruby
58
+ steps:
59
+ - checkout
60
+ - run: echo "Done"
61
+
32
62
  lint:
33
- docker:
34
- - image: cimg/ruby:2.7
63
+ executor: app-ruby
35
64
  steps:
36
65
  - checkout
37
66
  - ruby/install-deps
38
67
  - run-lint
39
68
 
69
+ build-docs:
70
+ executor: app-ruby
71
+ steps:
72
+ - checkout
73
+ - ruby/install-deps
74
+ - run-docs-build
75
+ - persist_to_workspace:
76
+ root: .
77
+ paths: doc
78
+
79
+ publish-docs:
80
+ executor: app-ruby
81
+ steps:
82
+ - checkout
83
+ - ruby/install-deps
84
+ - attach_workspace:
85
+ at: .
86
+ - add_ssh_keys:
87
+ fingerprints: # ssh key generated solely for montrose docs
88
+ - "97:43:0c:36:36:1d:83:30:f0:76:d4:9f:d3:71:a8:a5"
89
+ - run:
90
+ name: Configure git
91
+ command: |
92
+ git config user.email "ci-build@rossta.net"
93
+ git config user.name "ci-build"
94
+ - run-docs-publish
95
+
96
+ release:
97
+ executor: app-ruby
98
+ steps:
99
+ - checkout
100
+ - ruby/install-deps
101
+ - run:
102
+ name: Publish gem to Rubygems
103
+ command: bundle exec rake release
104
+
40
105
  workflows:
41
- all-tests:
106
+ build:
42
107
  jobs:
43
108
  - lint
109
+ - build-docs
110
+ - test-matrix:
111
+ requires:
112
+ - test
44
113
  - test:
45
114
  matrix:
46
115
  parameters:
47
- ruby_version: ['2.6', '2.7', '3.0', '3.1']
116
+ ruby-version:
117
+ - '2.7'
118
+ - '3.0'
119
+ - '3.1'
120
+ - '3.2'
48
121
  gemfile:
49
- [
50
- 'gemfiles/activesupport_5.2.gemfile',
51
- 'gemfiles/activesupport_6.0.gemfile',
52
- 'gemfiles/activesupport_6.1.gemfile',
53
- 'gemfiles/activesupport_7.0.gemfile',
54
- ]
55
- exclude:
56
- - ruby_version: '2.6'
57
- gemfile: gemfiles/activesupport_7.0.gemfile
122
+ - 'gemfiles/activesupport_5.2.gemfile'
123
+ - 'gemfiles/activesupport_6.0.gemfile'
124
+ - 'gemfiles/activesupport_6.1.gemfile'
125
+ - 'gemfiles/activesupport_7.0.gemfile'
126
+ - 'gemfiles/activesupport_7.1.gemfile'
127
+ - publish-docs:
128
+ requires:
129
+ - lint
130
+ - build-docs
131
+ - test-matrix
132
+ filters:
133
+ branches:
134
+ only: main
135
+ - release:
136
+ requires:
137
+ - test
138
+ - lint
139
+ filters:
140
+ tags:
141
+ only: /^v.*/
142
+ branches:
143
+ ignore: /.*/
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
  /profile.log
10
10
  /trace.txt
11
11
  /.ruby-gemset
12
+ /vendor/
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7
1
+ 3.2
data/.standard.yml ADDED
@@ -0,0 +1 @@
1
+ ruby_version: 2.7
data/CHANGELOG.md CHANGED
@@ -1,187 +1,226 @@
1
+ ### 0.16.0 - (2023-10-11)
2
+
3
+ - enhancements
4
+ - Add support for Rails 7.1 (by @bugthing)
5
+ - Add support for Ruby 3.2
6
+
7
+ ### 0.15.0 - (2023-08-27)
8
+
9
+ - breaking changes
10
+ - Drop support for Ruby 2.6
11
+
12
+ ### 0.14.0 - (2023-08-23)
13
+
14
+ - enhancements
15
+ - Performance optimization for recurrences with :at option (by @artinboghosian)
16
+
17
+ ### 0.13.0 - (2022-01-04)
18
+
19
+ - enhancements
20
+
21
+ - Add support for Ruby 3.x
22
+ - Add support for Rails 7.0
23
+ - Add basic support for ical parsing
24
+
25
+ - bug fixes
26
+ - Make :during option work for time range spanning midnight
27
+
1
28
  ### 0.12.0 - (2021-02-02)
2
29
 
3
- * enhancements
4
- * Adds `Montrose.covering` to disambiguate `Montrose.between` behavior
5
- `#covering` provides recurrence masking behavior, i.e., only recurrences
6
- within the given range will be emitted
7
- * Added support for ActiveSupport 6 and Ruby 2.7
8
- * Adds `Montrose#infinite?` and ensures `Montrose.finite?` returns a boolean
9
-
10
- * bug fixes
11
- * Fixes `Recurrence#include?` behavior for infinite recurrences with
12
- intervals > 1
13
-
14
- * breaking changes
15
- * `Montrose.between` no longer provides masking behavior, which is now
16
- provided by `Montrose.covering`. A global option can be used
17
- `Montrose.enable_deprecated_between_masking = true` to retain the legacy
18
- behavior for `Montrose.between`. This option will be removed in v1.0.
19
- * Dropped official support for EOL'd rubies and ActiveSupport < 5.2
20
-
21
- * miscellaneous
22
- * switched from Travis to CircleCi for builds
23
- * switched default branch to `main`
30
+ - enhancements
31
+
32
+ - Adds `Montrose.covering` to disambiguate `Montrose.between` behavior
33
+ `#covering` provides recurrence masking behavior, i.e., only recurrences
34
+ within the given range will be emitted
35
+ - Added support for ActiveSupport 6 and Ruby 2.7
36
+ - Adds `Montrose#infinite?` and ensures `Montrose.finite?` returns a boolean
37
+
38
+ - bug fixes
39
+
40
+ - Fixes `Recurrence#include?` behavior for infinite recurrences with
41
+ intervals > 1
42
+
43
+ - breaking changes
44
+
45
+ - `Montrose.between` no longer provides masking behavior, which is now
46
+ provided by `Montrose.covering`. A global option can be used
47
+ `Montrose.enable_deprecated_between_masking = true` to retain the legacy
48
+ behavior for `Montrose.between`. This option will be removed in v1.0.
49
+ - Dropped official support for EOL'd rubies and ActiveSupport < 5.2
50
+
51
+ - miscellaneous
52
+ - switched from Travis to CircleCi for builds
53
+ - switched default branch to `main`
54
+
24
55
  #
56
+
25
57
  ### 0.11.0 - (2019-08-16)
26
58
 
27
- * enhancements
28
- * Adds `Recurrence#during` to support recurrences within time-of-day ranges,
59
+ - enhancements
60
+ - Adds `Recurrence#during` to support recurrences within time-of-day ranges,
29
61
  e.g. `Montrose.every(20.minutes).during("9am-5pm")`
30
62
 
31
63
  ### 0.10.1 - (2019-07-22)
32
64
 
33
- * enhancements
34
- * Adds `Schedule.dump` and `Schedule.load` to support ActiveRecord column
65
+ - enhancements
66
+ - Adds `Schedule.dump` and `Schedule.load` to support ActiveRecord column
35
67
  serialization
36
68
 
37
69
  ### 0.10.0 - (2019-07-17)
38
70
 
39
- * enhancements
40
- * Overrides `Recurrence#as_json` (by @mmagn) to correlate with behavior of
71
+ - enhancements
72
+
73
+ - Overrides `Recurrence#as_json` (by @mmagn) to correlate with behavior of
41
74
  `Recurrence#to_json`
42
75
 
43
- * bug fixes
44
- * In overriding `Recurrence#as_json` as described above, fixes potential
76
+ - bug fixes
77
+
78
+ - In overriding `Recurrence#as_json` as described above, fixes potential
45
79
  infinite loop of calling the method with an infinite recurrence
46
80
 
47
- * breaking changes
48
- * Start time for a daily Recurrence defined with :at options will no longer
81
+ - breaking changes
82
+ - Start time for a daily Recurrence defined with :at options will no longer
49
83
  reset to the beginning of the day; addresses confusion with original
50
84
  behavior in which such occurrences could emit events in the past relative
51
85
  to the given or explicit start time, i.e., earlier in the day
52
86
 
53
87
  ### 0.9.0 - (2019-03-11)
54
88
 
55
- * enhancements
56
- * Enables support for ActiveRecord 6
89
+ - enhancements
90
+
91
+ - Enables support for ActiveRecord 6
92
+
93
+ - bug fixes
57
94
 
58
- * bug fixes
59
- * Fixes bug for nth day of month when used with yearly interval
95
+ - Fixes bug for nth day of month when used with yearly interval
60
96
 
61
- * breaking changes
62
- * Using selected with :month with :day as a Hash will now enforce the
97
+ - breaking changes
98
+ - Using selected with :month with :day as a Hash will now enforce the
63
99
  `NthDayOfMonth` recurrence rule
64
- * Drops official support for Ruby 2.1 and 2.2
100
+ - Drops official support for Ruby 2.1 and 2.2
65
101
 
66
102
  ### 0.8.2 - (2018-08-02)
67
103
 
68
- * bug fixes
69
- * Fixes use of :at when time of day earlier than :starts
104
+ - bug fixes
105
+ - Fixes use of :at when time of day earlier than :starts
70
106
 
71
107
  ### 0.8.1 - (2018-07-27)
72
108
 
73
- * bug fixes
74
- * Fixes interval comparisons for secondly, hourly, minutely by zeroing usec
109
+ - bug fixes
110
+ - Fixes interval comparisons for secondly, hourly, minutely by zeroing usec
75
111
  for recurrence start and end times
76
112
 
77
113
  ### 0.8.0 - (2018-05-29)
78
114
 
79
- * enhancements
80
- * Parsing the `:at` option now initializes recurrence by the hour-minute-second
81
- * Support activesupport-5.2 (by @zokioki)
82
- * Support ruby-2.5
83
- * Support YAML.safe_load for Recurrence#to_yaml
115
+ - enhancements
116
+ - Parsing the `:at` option now initializes recurrence by the hour-minute-second
117
+ - Support activesupport-5.2 (by @zokioki)
118
+ - Support ruby-2.5
119
+ - Support YAML.safe_load for Recurrence#to_yaml
84
120
 
85
121
  ### 0.7.0 - (2017-09-18)
86
122
 
87
- * enhancements
88
- * Adds the :exclude_end option can be used to determine whether :until value
123
+ - enhancements
124
+
125
+ - Adds the :exclude_end option can be used to determine whether :until value
89
126
  is included in the recurrence. Mimics the API to Ruby's Range.
90
- * Support activesupport-5.1 (by @fauxparse)
91
- * Support ruby-2.4
127
+ - Support activesupport-5.1 (by @fauxparse)
128
+ - Support ruby-2.4
129
+
130
+ - bug fixes
92
131
 
93
- * bug fixes
94
- * Recurrence#to_json accepts arguments for JSON.dump
132
+ - Recurrence#to_json accepts arguments for JSON.dump
95
133
 
96
- * breaking changes
97
- * Previously, the :between option served as a shorthand for :starts to :until.
134
+ - breaking changes
135
+ - Previously, the :between option served as a shorthand for :starts to :until.
98
136
  Now, when both :starts and :between are provided, the recurrence will behave
99
- as if anchored by the given :starts option, but filtered through the given
100
- :between option.
101
- * The :exclude_end option changes the default behavior of :until--when the
137
+ as if anchored by the given :starts option, but filtered through the given
138
+ :between option.
139
+ - The :exclude_end option changes the default behavior of :until--when the
102
140
  timestamp of the interval matches the :until timestamp, it will be included
103
- by default unless the :exclude_end option is set to true.
141
+ by default unless the :exclude_end option is set to true.
104
142
 
105
143
  ### 0.6.0 - (2017-01-05)
106
144
 
107
- * enhancements
108
- * Alias `every` to `frequency`
109
- * Handle JSON and hashes in Recurrence serialization
110
- * Handle blank and nil objects in Recurrence deserialization
145
+ - enhancements
146
+ - Alias `every` to `frequency`
147
+ - Handle JSON and hashes in Recurrence serialization
148
+ - Handle blank and nil objects in Recurrence deserialization
111
149
 
112
150
  ### 0.5.0 - (2016-11-23)
113
151
 
114
- * enhancements
115
- * Adds `Recurrence#include?`
116
- * Improved documentation
152
+ - enhancements
153
+ - Adds `Recurrence#include?`
154
+ - Improved documentation
117
155
 
118
156
  ### 0.4.3 - (2016-11-20)
119
157
 
120
- * enhancements
121
- * Add CI support for ActiveSupport 4.1, 4.2, 5.0 (by @phlipper)
158
+ - enhancements
159
+ - Add CI support for ActiveSupport 4.1, 4.2, 5.0 (by @phlipper)
122
160
 
123
161
  ### 0.4.2 - (2016-07-27)
124
162
 
125
- * bug fixes
126
- * Respect `ActiveSupport::TimeWithZone` objects for casting time objects (by
163
+ - bug fixes
164
+ - Respect `ActiveSupport::TimeWithZone` objects for casting time objects (by
127
165
  @tconst)
128
166
 
129
167
  ### 0.4.1 - (2016-07-04)
130
168
 
131
- * enhancements
132
- * Support `Montrose.every(:second)`
169
+ - enhancements
170
+
171
+ - Support `Montrose.every(:second)`
133
172
 
134
- * bug fixes
135
- * Ensure `ActiveSupport::Duration` parts are used; fixes 'every 30 days' bug
173
+ - bug fixes
174
+ - Ensure `ActiveSupport::Duration` parts are used; fixes 'every 30 days' bug
136
175
 
137
176
  ### 0.4.0 - (2016-04-20)
138
177
 
139
- * enhancements
140
- * Respect configured time zone by using `Time.current` from `ActiveSupport`
141
- * Adds `Montrose::Recurrence#to_json` method
142
- * Additional tests for utils methods (by @AlexWheeler)
178
+ - enhancements
179
+ - Respect configured time zone by using `Time.current` from `ActiveSupport`
180
+ - Adds `Montrose::Recurrence#to_json` method
181
+ - Additional tests for utils methods (by @AlexWheeler)
143
182
 
144
183
  ### 0.3.0 - (2016-02-19)
145
184
 
146
- * enhancements
147
- * Adds `:except` option and chainable method to filter timestamps by date (by
185
+ - enhancements
186
+ - Adds `:except` option and chainable method to filter timestamps by date (by
148
187
  @thewatts)
149
- * bug fixes
150
- * Fix recurrences when specifying both `:starts` and `:at` by treating
188
+ - bug fixes
189
+ - Fix recurrences when specifying both `:starts` and `:at` by treating
151
190
  `:starts` value like a date
152
- * Respect recurrence rules using multiple `:at` values
153
- * Using `Montrose.r` without any arguments no longer throws `ArgumentError`
191
+ - Respect recurrence rules using multiple `:at` values
192
+ - Using `Montrose.r` without any arguments no longer throws `ArgumentError`
154
193
 
155
- ### 0.2.2 - 2016-02-08
194
+ ### 0.2.2 - (2016-02-08)
156
195
 
157
- * bug fixes
158
- * Handle `Hash` in `Montrose::Chainable` methods that support varargs
159
- * enhancements
160
- * Adds `Montrose.r` method for starting a new recurrence
161
- * Adds `Chainable` alias methods including `#starts`, `#until`, `#repeat`
162
- * README updates (by @thegcat)
196
+ - bug fixes
197
+ - Handle `Hash` in `Montrose::Chainable` methods that support varargs
198
+ - enhancements
199
+ - Adds `Montrose.r` method for starting a new recurrence
200
+ - Adds `Chainable` alias methods including `#starts`, `#until`, `#repeat`
201
+ - README updates (by @thegcat)
163
202
 
164
- ### 0.2.1 - 2016-02-03
203
+ ### 0.2.1 - (2016-02-03)
165
204
 
166
- * bug fixes
167
- * Handle `nil` in `Montrose::Options` constructor
205
+ - bug fixes
206
+ - Handle `nil` in `Montrose::Options` constructor
168
207
 
169
- ### 0.2.0 - 2016-02-03
208
+ ### 0.2.0 - (2016-02-03)
170
209
 
171
- * enhancements
172
- * extend `Montrose::Schedule` api for building and adding recurrences
173
- * add more details to chainable docs
174
- * merge default options at enumeration time for more consistent serialization
210
+ - enhancements
211
+ - extend `Montrose::Schedule` api for building and adding recurrences
212
+ - add more details to chainable docs
213
+ - merge default options at enumeration time for more consistent serialization
175
214
 
176
- ### 0.1.1 - 2016-25-01
215
+ ### 0.1.1 - (2016-01-25)
177
216
 
178
- * bug fixes
179
- * add missing `require "forwardable"`
180
- * enhancements
181
- * add better `#inspect` methods in `Recurrence` and `Options`
182
- * use refinement to refactor Options internal arg merging
183
- * support ruby 2.3.0 in travis builds
217
+ - bug fixes
218
+ - add missing `require "forwardable"`
219
+ - enhancements
220
+ - add better `#inspect` methods in `Recurrence` and `Options`
221
+ - use refinement to refactor Options internal arg merging
222
+ - support ruby 2.3.0 in travis builds
184
223
 
185
- ### 0.1.0 - 2016-18-01
224
+ ### 0.1.0 - (2016-01-18)
186
225
 
187
- * initial release
226
+ - initial release
data/Gemfile.lock CHANGED
@@ -1,22 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- montrose (0.14.0)
5
- activesupport (>= 5.2, < 7.1)
4
+ montrose (0.16.0)
5
+ activesupport (>= 5.2, < 8)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.0.7.2)
10
+ activesupport (7.1.1)
11
+ base64
12
+ bigdecimal
11
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ connection_pool (>= 2.2.5)
15
+ drb
12
16
  i18n (>= 1.6, < 2)
13
17
  minitest (>= 5.1)
18
+ mutex_m
14
19
  tzinfo (~> 2.0)
15
20
  ast (2.4.2)
16
21
  base64 (0.1.1)
22
+ bigdecimal (3.1.4)
17
23
  byebug (11.1.3)
18
24
  coderay (1.1.3)
19
25
  concurrent-ruby (1.2.2)
26
+ connection_pool (2.4.1)
20
27
  coveralls (0.8.23)
21
28
  json (>= 1.8, < 3)
22
29
  simplecov (~> 0.16.1)
@@ -24,9 +31,11 @@ GEM
24
31
  thor (>= 0.19.4, < 2.0)
25
32
  tins (~> 1.6)
26
33
  docile (1.4.0)
27
- ffi (1.15.5)
34
+ drb (2.1.1)
35
+ ruby2_keywords
36
+ ffi (1.16.3)
28
37
  formatador (1.1.0)
29
- guard (2.18.0)
38
+ guard (2.18.1)
30
39
  formatador (>= 0.2.4)
31
40
  listen (>= 2.7, < 4.0)
32
41
  lumberjack (>= 1.0.12, < 2.0)
@@ -51,17 +60,18 @@ GEM
51
60
  rb-fsevent (~> 0.10, >= 0.10.3)
52
61
  rb-inotify (~> 0.9, >= 0.9.10)
53
62
  lumberjack (1.2.9)
54
- m (1.6.1)
63
+ m (1.6.2)
55
64
  method_source (>= 0.6.7)
56
65
  rake (>= 0.9.2.2)
57
66
  method_source (1.0.0)
58
- minitest (5.19.0)
67
+ minitest (5.20.0)
68
+ mutex_m (0.1.2)
59
69
  nenv (0.3.0)
60
70
  notiffany (0.1.3)
61
71
  nenv (~> 0.1)
62
72
  shellany (~> 0.0)
63
73
  parallel (1.23.0)
64
- parser (3.2.2.3)
74
+ parser (3.2.2.4)
65
75
  ast (~> 2.4.1)
66
76
  racc
67
77
  pry (0.14.2)
@@ -76,9 +86,9 @@ GEM
76
86
  rb-fsevent (0.11.2)
77
87
  rb-inotify (0.10.1)
78
88
  ffi (~> 1.0)
79
- regexp_parser (2.8.1)
89
+ regexp_parser (2.8.2)
80
90
  rexml (3.2.6)
81
- rubocop (1.56.1)
91
+ rubocop (1.56.4)
82
92
  base64 (~> 0.1.1)
83
93
  json (~> 2.3)
84
94
  language_server-protocol (>= 3.17.0)
@@ -92,28 +102,29 @@ GEM
92
102
  unicode-display_width (>= 2.4.0, < 3.0)
93
103
  rubocop-ast (1.29.0)
94
104
  parser (>= 3.2.1.0)
95
- rubocop-performance (1.19.0)
105
+ rubocop-performance (1.19.1)
96
106
  rubocop (>= 1.7.0, < 2.0)
97
107
  rubocop-ast (>= 0.4.0)
98
108
  ruby-progressbar (1.13.0)
109
+ ruby2_keywords (0.0.5)
99
110
  shellany (0.0.1)
100
111
  simplecov (0.16.1)
101
112
  docile (~> 1.1)
102
113
  json (>= 1.8, < 3)
103
114
  simplecov-html (~> 0.10.0)
104
115
  simplecov-html (0.10.2)
105
- standard (1.31.0)
116
+ standard (1.31.2)
106
117
  language_server-protocol (~> 3.17.0.2)
107
118
  lint_roller (~> 1.0)
108
- rubocop (~> 1.56.0)
119
+ rubocop (~> 1.56.4)
109
120
  standard-custom (~> 1.0.0)
110
121
  standard-performance (~> 1.2)
111
122
  standard-custom (1.0.2)
112
123
  lint_roller (~> 1.0)
113
124
  rubocop (~> 1.50)
114
- standard-performance (1.2.0)
125
+ standard-performance (1.2.1)
115
126
  lint_roller (~> 1.1)
116
- rubocop-performance (~> 1.19.0)
127
+ rubocop-performance (~> 1.19.1)
117
128
  sync (0.5.0)
118
129
  term-ansicolor (1.7.1)
119
130
  tins (~> 1.0)
@@ -123,7 +134,7 @@ GEM
123
134
  sync
124
135
  tzinfo (2.0.6)
125
136
  concurrent-ruby (~> 1.0)
126
- unicode-display_width (2.4.2)
137
+ unicode-display_width (2.5.0)
127
138
  yard (0.9.34)
128
139
 
129
140
  PLATFORMS
@@ -145,4 +156,4 @@ DEPENDENCIES
145
156
  yard
146
157
 
147
158
  BUNDLED WITH
148
- 2.4.10
159
+ 2.4.20
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Montrose
2
2
 
3
- [![Build Status](https://travis-ci.org/rossta/montrose.svg?branch=master)](https://travis-ci.org/rossta/montrose)
4
- [![Code Climate](https://codeclimate.com/github/rossta/montrose/badges/gpa.svg)](https://codeclimate.com/github/rossta/montrose)
3
+ [![Build Status](https://dl.circleci.com/status-badge/img/gh/rossta/montrose/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/rossta/montrose/tree/main)
4
+ [![Code Climate](https://api.codeclimate.com/v1/badges/305689119fb4ddcbaec1/maintainability)](https://codeclimate.com/github/rossta/montrose/maintainability)
5
5
  [![Coverage Status](https://coveralls.io/repos/rossta/montrose/badge.svg?branch=master&service=github)](https://coveralls.io/github/rossta/montrose?branch=master)
6
6
 
7
7
  Montrose is an easy-to-use library for defining recurring events in Ruby. It uses a simple chaining system for building enumerable recurrences, inspired heavily by the design principles of [HTTP.rb](https://github.com/httprb/http) and rule definitions available in [Recurrence](https://github.com/fnando/recurrence).
@@ -447,7 +447,27 @@ Check out following related projects, all of which have provided inspiration for
447
447
 
448
448
  ## Development
449
449
 
450
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/rake` to run the tests.
450
+ After checking out the repo, run `bin/setup` to install dependencies. `bin/setup` will install gems for each gemfile in `gemfiles/` against the current Ruby version.
451
+
452
+ To run tests against all gemfiles for current Ruby:
453
+
454
+ ```
455
+ bin/spec
456
+ ```
457
+
458
+ To update installed gems for gemfiles:
459
+
460
+ ```
461
+ bin/update
462
+ ```
463
+
464
+ To fix lint errors:
465
+
466
+ ```
467
+ bin/standardrb --fix
468
+ ```
469
+
470
+ When adding a new gemfile to `gemfiles/`, run `bin/setup` and commit the generated lock file.
451
471
 
452
472
  You can also run `bin/console` for an interactive prompt that will allow you to experiment.
453
473
 
data/Rakefile CHANGED
@@ -18,6 +18,11 @@ task test: :spec
18
18
  task default: %i[spec standard]
19
19
 
20
20
  namespace :doc do
21
+ desc "Build docs"
22
+ task :build do
23
+ sh "bundle exec yard doc"
24
+ end
25
+
21
26
  desc "Generate docs and publish to gh-pages"
22
27
  task :publish do
23
28
  puts "Generating docs"
data/bin/setup CHANGED
@@ -3,6 +3,8 @@ set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
 
5
5
  bundle install
6
- bundle update
7
6
 
8
7
  # Do any other automated setup that you need to do here
8
+ for filename in gemfiles/*.gemfile; do
9
+ BUNDLE_GEMFILE=$filename bundle install
10
+ done
data/bin/spec ADDED
@@ -0,0 +1,10 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bin/rake spec
6
+
7
+ # Do any other automated setup that you need to do here
8
+ for filename in gemfiles/*.gemfile; do
9
+ BUNDLE_GEMFILE=$filename bin/rake spec
10
+ done
data/bin/update ADDED
@@ -0,0 +1,10 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle update
6
+
7
+ # Do any other automated setup that you need to do here
8
+ for filename in gemfiles/*.gemfile; do
9
+ BUNDLE_GEMFILE=$filename bundle update
10
+ done
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- montrose (0.13.0)
5
- activesupport (>= 5.2, < 7.1)
4
+ montrose (0.16.0)
5
+ activesupport (>= 5.2, < 8)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -27,21 +27,21 @@ GEM
27
27
  json (2.6.3)
28
28
  language_server-protocol (3.17.0.3)
29
29
  lint_roller (1.1.0)
30
- m (1.6.1)
30
+ m (1.6.2)
31
31
  method_source (>= 0.6.7)
32
32
  rake (>= 0.9.2.2)
33
33
  method_source (1.0.0)
34
- minitest (5.19.0)
34
+ minitest (5.20.0)
35
35
  parallel (1.23.0)
36
- parser (3.2.2.3)
36
+ parser (3.2.2.4)
37
37
  ast (~> 2.4.1)
38
38
  racc
39
39
  racc (1.7.1)
40
40
  rainbow (3.1.1)
41
41
  rake (13.0.6)
42
- regexp_parser (2.8.1)
42
+ regexp_parser (2.8.2)
43
43
  rexml (3.2.6)
44
- rubocop (1.56.1)
44
+ rubocop (1.56.4)
45
45
  base64 (~> 0.1.1)
46
46
  json (~> 2.3)
47
47
  language_server-protocol (>= 3.17.0)
@@ -55,7 +55,7 @@ GEM
55
55
  unicode-display_width (>= 2.4.0, < 3.0)
56
56
  rubocop-ast (1.29.0)
57
57
  parser (>= 3.2.1.0)
58
- rubocop-performance (1.19.0)
58
+ rubocop-performance (1.19.1)
59
59
  rubocop (>= 1.7.0, < 2.0)
60
60
  rubocop-ast (>= 0.4.0)
61
61
  ruby-progressbar (1.13.0)
@@ -64,18 +64,18 @@ GEM
64
64
  json (>= 1.8, < 3)
65
65
  simplecov-html (~> 0.10.0)
66
66
  simplecov-html (0.10.2)
67
- standard (1.31.0)
67
+ standard (1.31.2)
68
68
  language_server-protocol (~> 3.17.0.2)
69
69
  lint_roller (~> 1.0)
70
- rubocop (~> 1.56.0)
70
+ rubocop (~> 1.56.4)
71
71
  standard-custom (~> 1.0.0)
72
72
  standard-performance (~> 1.2)
73
73
  standard-custom (1.0.2)
74
74
  lint_roller (~> 1.0)
75
75
  rubocop (~> 1.50)
76
- standard-performance (1.2.0)
76
+ standard-performance (1.2.1)
77
77
  lint_roller (~> 1.1)
78
- rubocop-performance (~> 1.19.0)
78
+ rubocop-performance (~> 1.19.1)
79
79
  sync (0.5.0)
80
80
  term-ansicolor (1.7.1)
81
81
  tins (~> 1.0)
@@ -86,7 +86,7 @@ GEM
86
86
  sync
87
87
  tzinfo (1.2.11)
88
88
  thread_safe (~> 0.1)
89
- unicode-display_width (2.4.2)
89
+ unicode-display_width (2.5.0)
90
90
  yard (0.9.34)
91
91
 
92
92
  PLATFORMS
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- montrose (0.13.0)
5
- activesupport (>= 5.2, < 7.1)
4
+ montrose (0.16.0)
5
+ activesupport (>= 5.2, < 8)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -28,21 +28,21 @@ GEM
28
28
  json (2.6.3)
29
29
  language_server-protocol (3.17.0.3)
30
30
  lint_roller (1.1.0)
31
- m (1.6.1)
31
+ m (1.6.2)
32
32
  method_source (>= 0.6.7)
33
33
  rake (>= 0.9.2.2)
34
34
  method_source (1.0.0)
35
- minitest (5.19.0)
35
+ minitest (5.20.0)
36
36
  parallel (1.23.0)
37
- parser (3.2.2.3)
37
+ parser (3.2.2.4)
38
38
  ast (~> 2.4.1)
39
39
  racc
40
40
  racc (1.7.1)
41
41
  rainbow (3.1.1)
42
42
  rake (13.0.6)
43
- regexp_parser (2.8.1)
43
+ regexp_parser (2.8.2)
44
44
  rexml (3.2.6)
45
- rubocop (1.56.1)
45
+ rubocop (1.56.4)
46
46
  base64 (~> 0.1.1)
47
47
  json (~> 2.3)
48
48
  language_server-protocol (>= 3.17.0)
@@ -56,7 +56,7 @@ GEM
56
56
  unicode-display_width (>= 2.4.0, < 3.0)
57
57
  rubocop-ast (1.29.0)
58
58
  parser (>= 3.2.1.0)
59
- rubocop-performance (1.19.0)
59
+ rubocop-performance (1.19.1)
60
60
  rubocop (>= 1.7.0, < 2.0)
61
61
  rubocop-ast (>= 0.4.0)
62
62
  ruby-progressbar (1.13.0)
@@ -65,18 +65,18 @@ GEM
65
65
  json (>= 1.8, < 3)
66
66
  simplecov-html (~> 0.10.0)
67
67
  simplecov-html (0.10.2)
68
- standard (1.31.0)
68
+ standard (1.31.2)
69
69
  language_server-protocol (~> 3.17.0.2)
70
70
  lint_roller (~> 1.0)
71
- rubocop (~> 1.56.0)
71
+ rubocop (~> 1.56.4)
72
72
  standard-custom (~> 1.0.0)
73
73
  standard-performance (~> 1.2)
74
74
  standard-custom (1.0.2)
75
75
  lint_roller (~> 1.0)
76
76
  rubocop (~> 1.50)
77
- standard-performance (1.2.0)
77
+ standard-performance (1.2.1)
78
78
  lint_roller (~> 1.1)
79
- rubocop-performance (~> 1.19.0)
79
+ rubocop-performance (~> 1.19.1)
80
80
  sync (0.5.0)
81
81
  term-ansicolor (1.7.1)
82
82
  tins (~> 1.0)
@@ -86,9 +86,9 @@ GEM
86
86
  sync
87
87
  tzinfo (2.0.6)
88
88
  concurrent-ruby (~> 1.0)
89
- unicode-display_width (2.4.2)
89
+ unicode-display_width (2.5.0)
90
90
  yard (0.9.34)
91
- zeitwerk (2.6.11)
91
+ zeitwerk (2.6.12)
92
92
 
93
93
  PLATFORMS
94
94
  arm64-darwin-22
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- montrose (0.13.0)
5
- activesupport (>= 5.2, < 7.1)
4
+ montrose (0.16.0)
5
+ activesupport (>= 5.2, < 8)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -28,21 +28,21 @@ GEM
28
28
  json (2.6.3)
29
29
  language_server-protocol (3.17.0.3)
30
30
  lint_roller (1.1.0)
31
- m (1.6.1)
31
+ m (1.6.2)
32
32
  method_source (>= 0.6.7)
33
33
  rake (>= 0.9.2.2)
34
34
  method_source (1.0.0)
35
- minitest (5.19.0)
35
+ minitest (5.20.0)
36
36
  parallel (1.23.0)
37
- parser (3.2.2.3)
37
+ parser (3.2.2.4)
38
38
  ast (~> 2.4.1)
39
39
  racc
40
40
  racc (1.7.1)
41
41
  rainbow (3.1.1)
42
42
  rake (13.0.6)
43
- regexp_parser (2.8.1)
43
+ regexp_parser (2.8.2)
44
44
  rexml (3.2.6)
45
- rubocop (1.56.1)
45
+ rubocop (1.56.4)
46
46
  base64 (~> 0.1.1)
47
47
  json (~> 2.3)
48
48
  language_server-protocol (>= 3.17.0)
@@ -56,7 +56,7 @@ GEM
56
56
  unicode-display_width (>= 2.4.0, < 3.0)
57
57
  rubocop-ast (1.29.0)
58
58
  parser (>= 3.2.1.0)
59
- rubocop-performance (1.19.0)
59
+ rubocop-performance (1.19.1)
60
60
  rubocop (>= 1.7.0, < 2.0)
61
61
  rubocop-ast (>= 0.4.0)
62
62
  ruby-progressbar (1.13.0)
@@ -65,18 +65,18 @@ GEM
65
65
  json (>= 1.8, < 3)
66
66
  simplecov-html (~> 0.10.0)
67
67
  simplecov-html (0.10.2)
68
- standard (1.31.0)
68
+ standard (1.31.2)
69
69
  language_server-protocol (~> 3.17.0.2)
70
70
  lint_roller (~> 1.0)
71
- rubocop (~> 1.56.0)
71
+ rubocop (~> 1.56.4)
72
72
  standard-custom (~> 1.0.0)
73
73
  standard-performance (~> 1.2)
74
74
  standard-custom (1.0.2)
75
75
  lint_roller (~> 1.0)
76
76
  rubocop (~> 1.50)
77
- standard-performance (1.2.0)
77
+ standard-performance (1.2.1)
78
78
  lint_roller (~> 1.1)
79
- rubocop-performance (~> 1.19.0)
79
+ rubocop-performance (~> 1.19.1)
80
80
  sync (0.5.0)
81
81
  term-ansicolor (1.7.1)
82
82
  tins (~> 1.0)
@@ -86,9 +86,9 @@ GEM
86
86
  sync
87
87
  tzinfo (2.0.6)
88
88
  concurrent-ruby (~> 1.0)
89
- unicode-display_width (2.4.2)
89
+ unicode-display_width (2.5.0)
90
90
  yard (0.9.34)
91
- zeitwerk (2.6.11)
91
+ zeitwerk (2.6.12)
92
92
 
93
93
  PLATFORMS
94
94
  arm64-darwin-22
@@ -1,20 +1,27 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- montrose (0.13.0)
5
- activesupport (>= 5.2, < 7.1)
4
+ montrose (0.16.0)
5
+ activesupport (>= 5.2, < 8)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.0.7.2)
10
+ activesupport (7.1.1)
11
+ base64
12
+ bigdecimal
11
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ connection_pool (>= 2.2.5)
15
+ drb
12
16
  i18n (>= 1.6, < 2)
13
17
  minitest (>= 5.1)
18
+ mutex_m
14
19
  tzinfo (~> 2.0)
15
20
  ast (2.4.2)
16
21
  base64 (0.1.1)
22
+ bigdecimal (3.1.4)
17
23
  concurrent-ruby (1.2.2)
24
+ connection_pool (2.4.1)
18
25
  coveralls (0.8.23)
19
26
  json (>= 1.8, < 3)
20
27
  simplecov (~> 0.16.1)
@@ -22,26 +29,29 @@ GEM
22
29
  thor (>= 0.19.4, < 2.0)
23
30
  tins (~> 1.6)
24
31
  docile (1.4.0)
32
+ drb (2.1.1)
33
+ ruby2_keywords
25
34
  i18n (1.14.1)
26
35
  concurrent-ruby (~> 1.0)
27
36
  json (2.6.3)
28
37
  language_server-protocol (3.17.0.3)
29
38
  lint_roller (1.1.0)
30
- m (1.6.1)
39
+ m (1.6.2)
31
40
  method_source (>= 0.6.7)
32
41
  rake (>= 0.9.2.2)
33
42
  method_source (1.0.0)
34
- minitest (5.19.0)
43
+ minitest (5.20.0)
44
+ mutex_m (0.1.2)
35
45
  parallel (1.23.0)
36
- parser (3.2.2.3)
46
+ parser (3.2.2.4)
37
47
  ast (~> 2.4.1)
38
48
  racc
39
49
  racc (1.7.1)
40
50
  rainbow (3.1.1)
41
51
  rake (13.0.6)
42
- regexp_parser (2.8.1)
52
+ regexp_parser (2.8.2)
43
53
  rexml (3.2.6)
44
- rubocop (1.56.1)
54
+ rubocop (1.56.4)
45
55
  base64 (~> 0.1.1)
46
56
  json (~> 2.3)
47
57
  language_server-protocol (>= 3.17.0)
@@ -55,27 +65,28 @@ GEM
55
65
  unicode-display_width (>= 2.4.0, < 3.0)
56
66
  rubocop-ast (1.29.0)
57
67
  parser (>= 3.2.1.0)
58
- rubocop-performance (1.19.0)
68
+ rubocop-performance (1.19.1)
59
69
  rubocop (>= 1.7.0, < 2.0)
60
70
  rubocop-ast (>= 0.4.0)
61
71
  ruby-progressbar (1.13.0)
72
+ ruby2_keywords (0.0.5)
62
73
  simplecov (0.16.1)
63
74
  docile (~> 1.1)
64
75
  json (>= 1.8, < 3)
65
76
  simplecov-html (~> 0.10.0)
66
77
  simplecov-html (0.10.2)
67
- standard (1.31.0)
78
+ standard (1.31.2)
68
79
  language_server-protocol (~> 3.17.0.2)
69
80
  lint_roller (~> 1.0)
70
- rubocop (~> 1.56.0)
81
+ rubocop (~> 1.56.4)
71
82
  standard-custom (~> 1.0.0)
72
83
  standard-performance (~> 1.2)
73
84
  standard-custom (1.0.2)
74
85
  lint_roller (~> 1.0)
75
86
  rubocop (~> 1.50)
76
- standard-performance (1.2.0)
87
+ standard-performance (1.2.1)
77
88
  lint_roller (~> 1.1)
78
- rubocop-performance (~> 1.19.0)
89
+ rubocop-performance (~> 1.19.1)
79
90
  sync (0.5.0)
80
91
  term-ansicolor (1.7.1)
81
92
  tins (~> 1.0)
@@ -85,7 +96,7 @@ GEM
85
96
  sync
86
97
  tzinfo (2.0.6)
87
98
  concurrent-ruby (~> 1.0)
88
- unicode-display_width (2.4.2)
99
+ unicode-display_width (2.5.0)
89
100
  yard (0.9.34)
90
101
 
91
102
  PLATFORMS
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 7.1"
4
+
5
+ gemspec path: "../"
@@ -0,0 +1,117 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ montrose (0.16.0)
5
+ activesupport (>= 5.2, < 8)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activesupport (7.1.1)
11
+ base64
12
+ bigdecimal
13
+ concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ connection_pool (>= 2.2.5)
15
+ drb
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ mutex_m
19
+ tzinfo (~> 2.0)
20
+ ast (2.4.2)
21
+ base64 (0.1.1)
22
+ bigdecimal (3.1.4)
23
+ concurrent-ruby (1.2.2)
24
+ connection_pool (2.4.1)
25
+ coveralls (0.8.23)
26
+ json (>= 1.8, < 3)
27
+ simplecov (~> 0.16.1)
28
+ term-ansicolor (~> 1.3)
29
+ thor (>= 0.19.4, < 2.0)
30
+ tins (~> 1.6)
31
+ docile (1.4.0)
32
+ drb (2.1.1)
33
+ ruby2_keywords
34
+ i18n (1.14.1)
35
+ concurrent-ruby (~> 1.0)
36
+ json (2.6.3)
37
+ language_server-protocol (3.17.0.3)
38
+ lint_roller (1.1.0)
39
+ m (1.6.2)
40
+ method_source (>= 0.6.7)
41
+ rake (>= 0.9.2.2)
42
+ method_source (1.0.0)
43
+ minitest (5.20.0)
44
+ mutex_m (0.1.2)
45
+ parallel (1.23.0)
46
+ parser (3.2.2.4)
47
+ ast (~> 2.4.1)
48
+ racc
49
+ racc (1.7.1)
50
+ rainbow (3.1.1)
51
+ rake (13.0.6)
52
+ regexp_parser (2.8.2)
53
+ rexml (3.2.6)
54
+ rubocop (1.56.4)
55
+ base64 (~> 0.1.1)
56
+ json (~> 2.3)
57
+ language_server-protocol (>= 3.17.0)
58
+ parallel (~> 1.10)
59
+ parser (>= 3.2.2.3)
60
+ rainbow (>= 2.2.2, < 4.0)
61
+ regexp_parser (>= 1.8, < 3.0)
62
+ rexml (>= 3.2.5, < 4.0)
63
+ rubocop-ast (>= 1.28.1, < 2.0)
64
+ ruby-progressbar (~> 1.7)
65
+ unicode-display_width (>= 2.4.0, < 3.0)
66
+ rubocop-ast (1.29.0)
67
+ parser (>= 3.2.1.0)
68
+ rubocop-performance (1.19.1)
69
+ rubocop (>= 1.7.0, < 2.0)
70
+ rubocop-ast (>= 0.4.0)
71
+ ruby-progressbar (1.13.0)
72
+ ruby2_keywords (0.0.5)
73
+ simplecov (0.16.1)
74
+ docile (~> 1.1)
75
+ json (>= 1.8, < 3)
76
+ simplecov-html (~> 0.10.0)
77
+ simplecov-html (0.10.2)
78
+ standard (1.31.2)
79
+ language_server-protocol (~> 3.17.0.2)
80
+ lint_roller (~> 1.0)
81
+ rubocop (~> 1.56.4)
82
+ standard-custom (~> 1.0.0)
83
+ standard-performance (~> 1.2)
84
+ standard-custom (1.0.2)
85
+ lint_roller (~> 1.0)
86
+ rubocop (~> 1.50)
87
+ standard-performance (1.2.1)
88
+ lint_roller (~> 1.1)
89
+ rubocop-performance (~> 1.19.1)
90
+ sync (0.5.0)
91
+ term-ansicolor (1.7.1)
92
+ tins (~> 1.0)
93
+ thor (1.2.2)
94
+ timecop (0.9.8)
95
+ tins (1.32.1)
96
+ sync
97
+ tzinfo (2.0.6)
98
+ concurrent-ruby (~> 1.0)
99
+ unicode-display_width (2.5.0)
100
+ yard (0.9.34)
101
+
102
+ PLATFORMS
103
+ arm64-darwin-22
104
+
105
+ DEPENDENCIES
106
+ activesupport (~> 7.1)
107
+ coveralls
108
+ m
109
+ minitest
110
+ montrose!
111
+ rake (>= 12.3.3)
112
+ standard
113
+ timecop
114
+ yard
115
+
116
+ BUNDLED WITH
117
+ 2.4.12
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Montrose
4
- VERSION = "0.14.0"
4
+ VERSION = "0.16.0"
5
5
  end
data/montrose.gemspec CHANGED
@@ -20,9 +20,9 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.required_ruby_version = ">= 2.6.0"
23
+ spec.required_ruby_version = ">= 2.7.0"
24
24
 
25
- spec.add_dependency "activesupport", ">= 5.2", "< 7.1"
25
+ spec.add_dependency "activesupport", ">= 5.2", "< 8"
26
26
 
27
27
  spec.add_development_dependency "coveralls"
28
28
  spec.add_development_dependency "m"
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.14.0
4
+ version: 0.16.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: 2023-08-23 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '8'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '8'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: coveralls
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -141,6 +141,7 @@ files:
141
141
  - ".gitignore"
142
142
  - ".rubocop.yml"
143
143
  - ".ruby-version"
144
+ - ".standard.yml"
144
145
  - CHANGELOG.md
145
146
  - CODE_OF_CONDUCT.md
146
147
  - Gemfile
@@ -156,7 +157,9 @@ files:
156
157
  - bin/m
157
158
  - bin/rake
158
159
  - bin/setup
160
+ - bin/spec
159
161
  - bin/standardrb
162
+ - bin/update
160
163
  - gemfiles/activesupport_5.2.gemfile
161
164
  - gemfiles/activesupport_5.2.gemfile.lock
162
165
  - gemfiles/activesupport_6.0.gemfile
@@ -165,6 +168,8 @@ files:
165
168
  - gemfiles/activesupport_6.1.gemfile.lock
166
169
  - gemfiles/activesupport_7.0.gemfile
167
170
  - gemfiles/activesupport_7.0.gemfile.lock
171
+ - gemfiles/activesupport_7.1.gemfile
172
+ - gemfiles/activesupport_7.1.gemfile.lock
168
173
  - lib/montrose.rb
169
174
  - lib/montrose/chainable.rb
170
175
  - lib/montrose/clock.rb
@@ -225,14 +230,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
230
  requirements:
226
231
  - - ">="
227
232
  - !ruby/object:Gem::Version
228
- version: 2.6.0
233
+ version: 2.7.0
229
234
  required_rubygems_version: !ruby/object:Gem::Requirement
230
235
  requirements:
231
236
  - - ">="
232
237
  - !ruby/object:Gem::Version
233
238
  version: '0'
234
239
  requirements: []
235
- rubygems_version: 3.1.6
240
+ rubygems_version: 3.4.6
236
241
  signing_key:
237
242
  specification_version: 4
238
243
  summary: Recurring events in Ruby