montrose 0.15.0 → 0.17.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: d987c6a9b58b5a73d95b6cf86a42f7887d8778760f08bb02e0fcffe24a06320e
4
- data.tar.gz: 844da8c5fda1cb93bc0633fe69f8461c9e07a11292478c355a8c6ccfed6a1a6a
3
+ metadata.gz: 8e4c7dd756067118bcc4a8476cbfa354f50b9b6a84ef6a9e0269ea58ce4699a1
4
+ data.tar.gz: adb813b1123d34d522d784ffacafd8985df20527ce9bdcc4f248682881cecdf7
5
5
  SHA512:
6
- metadata.gz: 9852954548cc4fb698dc492d7573e7bedf20d470b0729a1bcd63b26c76828d01eb2d13cc793b3e8a8019135f8de104fbc3e3ea2ac2514c48462e0c4d2236f258
7
- data.tar.gz: 67a3b6ba8d0ebd629658dbe023682954fa51dbd5bc1105a462be0b619237ed29dd29c0c13ec0cfcab1c9fb7eca29b8af00cbcb6417a1a31e96e07664cdb49c50
6
+ metadata.gz: c34f7e544fd4107297b98b5d0c04926d37913c80162e467d4369fbf58f69eeea95a8f81460f50b798094901d68c9569518a7d6a1cd8d81416acfcfd07831e6b1
7
+ data.tar.gz: 0f91cd2955e047dcbae08e7fdff1f1498e9db0c9a68d3ebafc6e3cf311dfca713e5d0b26f16faab5689dcbbea442d2fad7550a0f4a4f4dea0827c5ccf84c7394
data/.circleci/config.yml CHANGED
@@ -33,7 +33,7 @@ commands:
33
33
  - run: |
34
34
  git checkout gh-pages
35
35
  cp -R doc/* .
36
- git commit -vam 'Update documentation'
36
+ git commit -vam '[skip ci] Update documentation'
37
37
  git push origin gh-pages
38
38
 
39
39
  jobs:
@@ -117,11 +117,26 @@ workflows:
117
117
  - '2.7'
118
118
  - '3.0'
119
119
  - '3.1'
120
+ - '3.2'
120
121
  gemfile:
121
122
  - 'gemfiles/activesupport_5.2.gemfile'
122
123
  - 'gemfiles/activesupport_6.0.gemfile'
123
124
  - 'gemfiles/activesupport_6.1.gemfile'
124
125
  - 'gemfiles/activesupport_7.0.gemfile'
126
+ - 'gemfiles/activesupport_7.1.gemfile'
127
+ - 'gemfiles/activesupport_7.2.gemfile'
128
+ - 'gemfiles/activesupport_8.0.gemfile'
129
+ exclude:
130
+ - gemfile: 'gemfiles/activesupport_7.2.gemfile'
131
+ ruby-version: '2.7'
132
+ - gemfile: 'gemfiles/activesupport_7.2.gemfile'
133
+ ruby-version: '3.0'
134
+ - gemfile: 'gemfiles/activesupport_8.0.gemfile'
135
+ ruby-version: '2.7'
136
+ - gemfile: 'gemfiles/activesupport_8.0.gemfile'
137
+ ruby-version: '3.0'
138
+ - gemfile: 'gemfiles/activesupport_8.0.gemfile'
139
+ ruby-version: '3.1'
125
140
  - publish-docs:
126
141
  requires:
127
142
  - lint
data/.rubocop.yml CHANGED
@@ -3,3 +3,6 @@ require:
3
3
 
4
4
  inherit_gem:
5
5
  standard: config/base.yml
6
+
7
+ AllCops:
8
+ TargetRubyVersion: 2.7
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,3 +1,19 @@
1
+ ### 0.17.0 - (2024-11-12)
2
+
3
+ - enhancements
4
+
5
+ - Add support for Rails 8.0 (by @TasnimSyncX)
6
+
7
+ - chores
8
+ - Add tests for switching Date.beginning_of_week
9
+ - Update Rubocop settings
10
+
11
+ ### 0.16.0 - (2023-10-11)
12
+
13
+ - enhancements
14
+ - Add support for Rails 7.1 (by @bugthing)
15
+ - Add support for Ruby 3.2
16
+
1
17
  ### 0.15.0 - (2023-08-27)
2
18
 
3
19
  - breaking changes
data/Gemfile.lock CHANGED
@@ -1,22 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- montrose (0.15.0)
5
- activesupport (>= 5.2, < 7.1)
4
+ montrose (0.17.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,11 +134,13 @@ GEM
123
134
  sync
124
135
  tzinfo (2.0.6)
125
136
  concurrent-ruby (~> 1.0)
126
- unicode-display_width (2.4.2)
127
- yard (0.9.34)
137
+ unicode-display_width (2.5.0)
138
+ yard (0.9.36)
128
139
 
129
140
  PLATFORMS
130
141
  arm64-darwin-22
142
+ arm64-darwin-23
143
+ x86_64-darwin-24
131
144
  x86_64-linux
132
145
 
133
146
  DEPENDENCIES
@@ -145,4 +158,4 @@ DEPENDENCIES
145
158
  yard
146
159
 
147
160
  BUNDLED WITH
148
- 2.4.10
161
+ 2.4.20
data/README.md CHANGED
@@ -375,6 +375,26 @@ r.events.take(10).each { |date| puts date.to_s }
375
375
  r.events.lazy.select { |time| time > 1.month.from_now }.take(3).each { |date| puts date.to_s }
376
376
  ```
377
377
 
378
+ Montrose relies on `ActiveSupport` for `DateTime`, `Date`, and `Time` calculations. As such, configuring ActiveSupport settings should work for Montrose recurrences.
379
+
380
+ For example, your application can configure the `Date` "beginning of the week" ([docs](https://www.rubydoc.info/docs/rails/Date.beginning_of_week)):
381
+
382
+ ```ruby
383
+ Date.beginning_of_the_week = :sunday
384
+ # OR
385
+ Date.beginning_of_the_week = :monday
386
+ ```
387
+
388
+ Similarly in Rails ([docs](https://guides.rubyonrails.org/configuring.html#config-beginning-of-week)):
389
+
390
+ ```ruby
391
+ config.beginning_of_week = :sunday
392
+ # OR
393
+ config.beginning_of_week = :monday
394
+ ```
395
+
396
+ Changing these settings may affect the behavior of Montrose weekly recurrences.
397
+
378
398
  ### Combining recurrences
379
399
 
380
400
  It may be necessary to combine several recurrence rules into a single
@@ -447,7 +467,27 @@ Check out following related projects, all of which have provided inspiration for
447
467
 
448
468
  ## Development
449
469
 
450
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/rake` to run the tests.
470
+ 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.
471
+
472
+ To run tests against all gemfiles for current Ruby:
473
+
474
+ ```
475
+ bin/spec
476
+ ```
477
+
478
+ To update installed gems for gemfiles:
479
+
480
+ ```
481
+ bin/update
482
+ ```
483
+
484
+ To fix lint errors:
485
+
486
+ ```
487
+ bin/standardrb --fix
488
+ ```
489
+
490
+ When adding a new gemfile to `gemfiles/`, run `bin/setup` and commit the generated lock file.
451
491
 
452
492
  You can also run `bin/console` for an interactive prompt that will allow you to experiment.
453
493
 
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,11 +86,12 @@ 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
93
93
  arm64-darwin-22
94
+ x86_64-darwin-24
94
95
 
95
96
  DEPENDENCIES
96
97
  activesupport (~> 5.2)
@@ -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,12 +86,13 @@ 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
95
+ x86_64-darwin-24
95
96
 
96
97
  DEPENDENCIES
97
98
  activesupport (~> 6.0)
@@ -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,12 +86,13 @@ 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
95
+ x86_64-darwin-24
95
96
 
96
97
  DEPENDENCIES
97
98
  activesupport (~> 6.1)
@@ -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,11 +96,12 @@ 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
92
103
  arm64-darwin-22
104
+ x86_64-darwin-24
93
105
 
94
106
  DEPENDENCIES
95
107
  activesupport (~> 7.0)
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 7.1"
4
+
5
+ gemspec path: "../"
@@ -0,0 +1,118 @@
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
+ x86_64-darwin-24
105
+
106
+ DEPENDENCIES
107
+ activesupport (~> 7.1)
108
+ coveralls
109
+ m
110
+ minitest
111
+ montrose!
112
+ rake (>= 12.3.3)
113
+ standard
114
+ timecop
115
+ yard
116
+
117
+ BUNDLED WITH
118
+ 2.4.12
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 7.2"
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.2.2)
11
+ base64
12
+ benchmark (>= 0.3)
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
17
+ i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
19
+ minitest (>= 5.1)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
22
+ ast (2.4.2)
23
+ base64 (0.2.0)
24
+ benchmark (0.4.0)
25
+ bigdecimal (3.1.8)
26
+ concurrent-ruby (1.3.4)
27
+ connection_pool (2.4.1)
28
+ coveralls (0.8.23)
29
+ json (>= 1.8, < 3)
30
+ simplecov (~> 0.16.1)
31
+ term-ansicolor (~> 1.3)
32
+ thor (>= 0.19.4, < 2.0)
33
+ tins (~> 1.6)
34
+ docile (1.4.1)
35
+ drb (2.2.1)
36
+ i18n (1.14.6)
37
+ concurrent-ruby (~> 1.0)
38
+ json (2.8.1)
39
+ language_server-protocol (3.17.0.3)
40
+ lint_roller (1.1.0)
41
+ logger (1.6.1)
42
+ m (1.6.2)
43
+ method_source (>= 0.6.7)
44
+ rake (>= 0.9.2.2)
45
+ method_source (1.1.0)
46
+ minitest (5.25.1)
47
+ parallel (1.26.3)
48
+ parser (3.3.6.0)
49
+ ast (~> 2.4.1)
50
+ racc
51
+ racc (1.8.1)
52
+ rainbow (3.1.1)
53
+ rake (13.2.1)
54
+ regexp_parser (2.9.2)
55
+ rubocop (1.66.1)
56
+ json (~> 2.3)
57
+ language_server-protocol (>= 3.17.0)
58
+ parallel (~> 1.10)
59
+ parser (>= 3.3.0.2)
60
+ rainbow (>= 2.2.2, < 4.0)
61
+ regexp_parser (>= 2.4, < 3.0)
62
+ rubocop-ast (>= 1.32.2, < 2.0)
63
+ ruby-progressbar (~> 1.7)
64
+ unicode-display_width (>= 2.4.0, < 3.0)
65
+ rubocop-ast (1.34.1)
66
+ parser (>= 3.3.1.0)
67
+ rubocop-performance (1.22.1)
68
+ rubocop (>= 1.48.1, < 2.0)
69
+ rubocop-ast (>= 1.31.1, < 2.0)
70
+ ruby-progressbar (1.13.0)
71
+ securerandom (0.3.1)
72
+ simplecov (0.16.1)
73
+ docile (~> 1.1)
74
+ json (>= 1.8, < 3)
75
+ simplecov-html (~> 0.10.0)
76
+ simplecov-html (0.10.2)
77
+ standard (1.41.1)
78
+ language_server-protocol (~> 3.17.0.2)
79
+ lint_roller (~> 1.0)
80
+ rubocop (~> 1.66.0)
81
+ standard-custom (~> 1.0.0)
82
+ standard-performance (~> 1.5)
83
+ standard-custom (1.0.2)
84
+ lint_roller (~> 1.0)
85
+ rubocop (~> 1.50)
86
+ standard-performance (1.5.0)
87
+ lint_roller (~> 1.1)
88
+ rubocop-performance (~> 1.22.0)
89
+ sync (0.5.0)
90
+ term-ansicolor (1.11.2)
91
+ tins (~> 1.0)
92
+ thor (1.3.2)
93
+ timecop (0.9.10)
94
+ tins (1.37.0)
95
+ bigdecimal
96
+ sync
97
+ tzinfo (2.0.6)
98
+ concurrent-ruby (~> 1.0)
99
+ unicode-display_width (2.6.0)
100
+ yard (0.9.37)
101
+
102
+ PLATFORMS
103
+ x86_64-darwin-24
104
+
105
+ DEPENDENCIES
106
+ activesupport (~> 7.2)
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.20
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 8.0"
4
+
5
+ gemspec path: "../"
@@ -0,0 +1,119 @@
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 (8.0.0)
11
+ base64
12
+ benchmark (>= 0.3)
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
17
+ i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
19
+ minitest (>= 5.1)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
22
+ uri (>= 0.13.1)
23
+ ast (2.4.2)
24
+ base64 (0.2.0)
25
+ benchmark (0.4.0)
26
+ bigdecimal (3.1.8)
27
+ concurrent-ruby (1.3.4)
28
+ connection_pool (2.4.1)
29
+ coveralls (0.8.23)
30
+ json (>= 1.8, < 3)
31
+ simplecov (~> 0.16.1)
32
+ term-ansicolor (~> 1.3)
33
+ thor (>= 0.19.4, < 2.0)
34
+ tins (~> 1.6)
35
+ docile (1.4.1)
36
+ drb (2.2.1)
37
+ i18n (1.14.6)
38
+ concurrent-ruby (~> 1.0)
39
+ json (2.8.1)
40
+ language_server-protocol (3.17.0.3)
41
+ lint_roller (1.1.0)
42
+ logger (1.6.1)
43
+ m (1.6.2)
44
+ method_source (>= 0.6.7)
45
+ rake (>= 0.9.2.2)
46
+ method_source (1.1.0)
47
+ minitest (5.25.1)
48
+ parallel (1.26.3)
49
+ parser (3.3.6.0)
50
+ ast (~> 2.4.1)
51
+ racc
52
+ racc (1.8.1)
53
+ rainbow (3.1.1)
54
+ rake (13.2.1)
55
+ regexp_parser (2.9.2)
56
+ rubocop (1.66.1)
57
+ json (~> 2.3)
58
+ language_server-protocol (>= 3.17.0)
59
+ parallel (~> 1.10)
60
+ parser (>= 3.3.0.2)
61
+ rainbow (>= 2.2.2, < 4.0)
62
+ regexp_parser (>= 2.4, < 3.0)
63
+ rubocop-ast (>= 1.32.2, < 2.0)
64
+ ruby-progressbar (~> 1.7)
65
+ unicode-display_width (>= 2.4.0, < 3.0)
66
+ rubocop-ast (1.34.1)
67
+ parser (>= 3.3.1.0)
68
+ rubocop-performance (1.22.1)
69
+ rubocop (>= 1.48.1, < 2.0)
70
+ rubocop-ast (>= 1.31.1, < 2.0)
71
+ ruby-progressbar (1.13.0)
72
+ securerandom (0.3.1)
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.41.1)
79
+ language_server-protocol (~> 3.17.0.2)
80
+ lint_roller (~> 1.0)
81
+ rubocop (~> 1.66.0)
82
+ standard-custom (~> 1.0.0)
83
+ standard-performance (~> 1.5)
84
+ standard-custom (1.0.2)
85
+ lint_roller (~> 1.0)
86
+ rubocop (~> 1.50)
87
+ standard-performance (1.5.0)
88
+ lint_roller (~> 1.1)
89
+ rubocop-performance (~> 1.22.0)
90
+ sync (0.5.0)
91
+ term-ansicolor (1.11.2)
92
+ tins (~> 1.0)
93
+ thor (1.3.2)
94
+ timecop (0.9.10)
95
+ tins (1.37.0)
96
+ bigdecimal
97
+ sync
98
+ tzinfo (2.0.6)
99
+ concurrent-ruby (~> 1.0)
100
+ unicode-display_width (2.6.0)
101
+ uri (1.0.1)
102
+ yard (0.9.37)
103
+
104
+ PLATFORMS
105
+ x86_64-darwin-24
106
+
107
+ DEPENDENCIES
108
+ activesupport (~> 8.0)
109
+ coveralls
110
+ m
111
+ minitest
112
+ montrose!
113
+ rake (>= 12.3.3)
114
+ standard
115
+ timecop
116
+ yard
117
+
118
+ BUNDLED WITH
119
+ 2.4.20
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Montrose
4
- VERSION = "0.15.0"
4
+ VERSION = "0.17.0"
5
5
  end
data/montrose.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
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.15.0
4
+ version: 0.17.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-28 00:00:00.000000000 Z
11
+ date: 2024-11-12 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.1'
22
+ version: '8'
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.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,12 @@ 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
173
+ - gemfiles/activesupport_7.2.gemfile
174
+ - gemfiles/activesupport_7.2.gemfile.lock
175
+ - gemfiles/activesupport_8.0.gemfile
176
+ - gemfiles/activesupport_8.0.gemfile.lock
168
177
  - lib/montrose.rb
169
178
  - lib/montrose/chainable.rb
170
179
  - lib/montrose/clock.rb
@@ -232,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
241
  - !ruby/object:Gem::Version
233
242
  version: '0'
234
243
  requirements: []
235
- rubygems_version: 3.4.6
244
+ rubygems_version: 3.5.9
236
245
  signing_key:
237
246
  specification_version: 4
238
247
  summary: Recurring events in Ruby