simple_calendar 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -2
- data/.github/workflows/publish_gem.yml +22 -0
- data/.standard.yml +1 -0
- data/Appraisals +4 -0
- data/Gemfile.lock +142 -112
- data/README.md +1 -1
- data/bin/rails +1 -1
- data/gemfiles/rails_6_1.gemfile.lock +101 -103
- data/gemfiles/rails_7_0.gemfile.lock +100 -101
- data/gemfiles/rails_7_1.gemfile +12 -0
- data/gemfiles/rails_7_1.gemfile.lock +264 -0
- data/gemfiles/rails_main.gemfile.lock +122 -122
- data/lib/simple_calendar/version.rb +1 -1
- data/test/dummy/app/calendars/business_week_calendar.rb +2 -2
- data/test/integrations/custom_calendar_test.rb +2 -0
- data/test/test_helper.rb +7 -4
- metadata +10 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 624a17d7a3438850461668609daa090bf65e44d5513a1f33ce7537270c03f7b5
|
4
|
+
data.tar.gz: 4b8b8d57ca3494e2c3a68ed00685acc8d54c72fb1bf3498a0df6d4f2dfe58cee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d742e28cb04b8b10f84ada83ea1d2afc7471a0baf48633144a4be41aeab78f035c112638fb386ce0cd48144b58c1ce243ab56fa3f9efee9f36d59df40276940
|
7
|
+
data.tar.gz: 6f18997acda2ef9a42ecd1d6b01e666c875d750c815bf73e03e9e2c614fb5e53f94a020830c4dba916ed2198e962043d6c6051c9808acb38b7826ab49261cb5d
|
data/.github/workflows/ci.yml
CHANGED
@@ -6,16 +6,17 @@ on:
|
|
6
6
|
- '*'
|
7
7
|
push:
|
8
8
|
branches:
|
9
|
-
-
|
9
|
+
- main
|
10
10
|
jobs:
|
11
11
|
tests:
|
12
12
|
runs-on: ubuntu-latest
|
13
13
|
strategy:
|
14
14
|
matrix:
|
15
|
-
ruby: ['
|
15
|
+
ruby: ['3.1', '3.2', '3.3']
|
16
16
|
gemfile:
|
17
17
|
- rails_6_1
|
18
18
|
- rails_7_0
|
19
|
+
- rails_7_1
|
19
20
|
- rails_main
|
20
21
|
env:
|
21
22
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: Publish Gem
|
2
|
+
on: workflow_dispatch
|
3
|
+
|
4
|
+
jobs:
|
5
|
+
push:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
|
8
|
+
permissions:
|
9
|
+
contents: write
|
10
|
+
id-token: write
|
11
|
+
|
12
|
+
steps:
|
13
|
+
# Set up
|
14
|
+
- uses: actions/checkout@v4
|
15
|
+
- name: Set up Ruby
|
16
|
+
uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
bundler-cache: true
|
19
|
+
ruby-version: ruby
|
20
|
+
|
21
|
+
# Release
|
22
|
+
- uses: rubygems/release-gem@v1
|
data/.standard.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby_version: 2.7
|
data/Appraisals
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: https://github.com/thoughtbot/appraisal.git
|
3
|
-
revision:
|
3
|
+
revision: f5e31c48a1dda036a2c13663fad1b657a0953f5d
|
4
4
|
specs:
|
5
5
|
appraisal (2.5.0)
|
6
6
|
bundler
|
@@ -10,93 +10,109 @@ GIT
|
|
10
10
|
PATH
|
11
11
|
remote: .
|
12
12
|
specs:
|
13
|
-
simple_calendar (3.0.
|
13
|
+
simple_calendar (3.0.3)
|
14
14
|
rails (>= 6.1)
|
15
15
|
|
16
16
|
GEM
|
17
17
|
remote: http://rubygems.org/
|
18
18
|
specs:
|
19
|
-
actioncable (7.
|
20
|
-
actionpack (= 7.
|
21
|
-
activesupport (= 7.
|
19
|
+
actioncable (7.1.3.2)
|
20
|
+
actionpack (= 7.1.3.2)
|
21
|
+
activesupport (= 7.1.3.2)
|
22
22
|
nio4r (~> 2.0)
|
23
23
|
websocket-driver (>= 0.6.1)
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
zeitwerk (~> 2.6)
|
25
|
+
actionmailbox (7.1.3.2)
|
26
|
+
actionpack (= 7.1.3.2)
|
27
|
+
activejob (= 7.1.3.2)
|
28
|
+
activerecord (= 7.1.3.2)
|
29
|
+
activestorage (= 7.1.3.2)
|
30
|
+
activesupport (= 7.1.3.2)
|
30
31
|
mail (>= 2.7.1)
|
31
32
|
net-imap
|
32
33
|
net-pop
|
33
34
|
net-smtp
|
34
|
-
actionmailer (7.
|
35
|
-
actionpack (= 7.
|
36
|
-
actionview (= 7.
|
37
|
-
activejob (= 7.
|
38
|
-
activesupport (= 7.
|
35
|
+
actionmailer (7.1.3.2)
|
36
|
+
actionpack (= 7.1.3.2)
|
37
|
+
actionview (= 7.1.3.2)
|
38
|
+
activejob (= 7.1.3.2)
|
39
|
+
activesupport (= 7.1.3.2)
|
39
40
|
mail (~> 2.5, >= 2.5.4)
|
40
41
|
net-imap
|
41
42
|
net-pop
|
42
43
|
net-smtp
|
43
|
-
rails-dom-testing (~> 2.
|
44
|
-
actionpack (7.
|
45
|
-
actionview (= 7.
|
46
|
-
activesupport (= 7.
|
47
|
-
|
44
|
+
rails-dom-testing (~> 2.2)
|
45
|
+
actionpack (7.1.3.2)
|
46
|
+
actionview (= 7.1.3.2)
|
47
|
+
activesupport (= 7.1.3.2)
|
48
|
+
nokogiri (>= 1.8.5)
|
49
|
+
racc
|
50
|
+
rack (>= 2.2.4)
|
51
|
+
rack-session (>= 1.0.1)
|
48
52
|
rack-test (>= 0.6.3)
|
49
|
-
rails-dom-testing (~> 2.
|
50
|
-
rails-html-sanitizer (~> 1.
|
51
|
-
actiontext (7.
|
52
|
-
actionpack (= 7.
|
53
|
-
activerecord (= 7.
|
54
|
-
activestorage (= 7.
|
55
|
-
activesupport (= 7.
|
53
|
+
rails-dom-testing (~> 2.2)
|
54
|
+
rails-html-sanitizer (~> 1.6)
|
55
|
+
actiontext (7.1.3.2)
|
56
|
+
actionpack (= 7.1.3.2)
|
57
|
+
activerecord (= 7.1.3.2)
|
58
|
+
activestorage (= 7.1.3.2)
|
59
|
+
activesupport (= 7.1.3.2)
|
56
60
|
globalid (>= 0.6.0)
|
57
61
|
nokogiri (>= 1.8.5)
|
58
|
-
actionview (7.
|
59
|
-
activesupport (= 7.
|
62
|
+
actionview (7.1.3.2)
|
63
|
+
activesupport (= 7.1.3.2)
|
60
64
|
builder (~> 3.1)
|
61
|
-
erubi (~> 1.
|
62
|
-
rails-dom-testing (~> 2.
|
63
|
-
rails-html-sanitizer (~> 1.
|
64
|
-
activejob (7.
|
65
|
-
activesupport (= 7.
|
65
|
+
erubi (~> 1.11)
|
66
|
+
rails-dom-testing (~> 2.2)
|
67
|
+
rails-html-sanitizer (~> 1.6)
|
68
|
+
activejob (7.1.3.2)
|
69
|
+
activesupport (= 7.1.3.2)
|
66
70
|
globalid (>= 0.3.6)
|
67
|
-
activemodel (7.
|
68
|
-
activesupport (= 7.
|
69
|
-
activerecord (7.
|
70
|
-
activemodel (= 7.
|
71
|
-
activesupport (= 7.
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
71
|
+
activemodel (7.1.3.2)
|
72
|
+
activesupport (= 7.1.3.2)
|
73
|
+
activerecord (7.1.3.2)
|
74
|
+
activemodel (= 7.1.3.2)
|
75
|
+
activesupport (= 7.1.3.2)
|
76
|
+
timeout (>= 0.4.0)
|
77
|
+
activestorage (7.1.3.2)
|
78
|
+
actionpack (= 7.1.3.2)
|
79
|
+
activejob (= 7.1.3.2)
|
80
|
+
activerecord (= 7.1.3.2)
|
81
|
+
activesupport (= 7.1.3.2)
|
77
82
|
marcel (~> 1.0)
|
78
|
-
|
79
|
-
|
83
|
+
activesupport (7.1.3.2)
|
84
|
+
base64
|
85
|
+
bigdecimal
|
80
86
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
87
|
+
connection_pool (>= 2.2.5)
|
88
|
+
drb
|
81
89
|
i18n (>= 1.6, < 2)
|
82
90
|
minitest (>= 5.1)
|
91
|
+
mutex_m
|
83
92
|
tzinfo (~> 2.0)
|
84
93
|
ast (2.4.2)
|
85
|
-
base64 (0.
|
94
|
+
base64 (0.2.0)
|
95
|
+
bigdecimal (3.1.7)
|
86
96
|
bindex (0.8.1)
|
87
97
|
builder (3.2.4)
|
88
|
-
concurrent-ruby (1.2.
|
98
|
+
concurrent-ruby (1.2.3)
|
99
|
+
connection_pool (2.4.1)
|
89
100
|
crass (1.0.6)
|
90
|
-
date (3.3.
|
101
|
+
date (3.3.4)
|
102
|
+
drb (2.2.1)
|
91
103
|
erubi (1.12.0)
|
92
|
-
globalid (1.1
|
93
|
-
activesupport (>=
|
94
|
-
i18n (1.14.
|
104
|
+
globalid (1.2.1)
|
105
|
+
activesupport (>= 6.1)
|
106
|
+
i18n (1.14.4)
|
95
107
|
concurrent-ruby (~> 1.0)
|
96
|
-
|
108
|
+
io-console (0.7.2)
|
109
|
+
irb (1.12.0)
|
110
|
+
rdoc
|
111
|
+
reline (>= 0.4.2)
|
112
|
+
json (2.7.1)
|
97
113
|
language_server-protocol (3.17.0.3)
|
98
114
|
lint_roller (1.1.0)
|
99
|
-
loofah (2.
|
115
|
+
loofah (2.22.0)
|
100
116
|
crass (~> 1.0.2)
|
101
117
|
nokogiri (>= 1.12.0)
|
102
118
|
mail (2.8.1)
|
@@ -104,48 +120,55 @@ GEM
|
|
104
120
|
net-imap
|
105
121
|
net-pop
|
106
122
|
net-smtp
|
107
|
-
marcel (1.0.
|
108
|
-
method_source (1.0.0)
|
123
|
+
marcel (1.0.4)
|
109
124
|
mini_mime (1.1.5)
|
110
|
-
minitest (5.
|
111
|
-
|
125
|
+
minitest (5.22.3)
|
126
|
+
mutex_m (0.2.0)
|
127
|
+
net-imap (0.4.10)
|
112
128
|
date
|
113
129
|
net-protocol
|
114
130
|
net-pop (0.1.2)
|
115
131
|
net-protocol
|
116
|
-
net-protocol (0.2.
|
132
|
+
net-protocol (0.2.2)
|
117
133
|
timeout
|
118
|
-
net-smtp (0.
|
134
|
+
net-smtp (0.5.0)
|
119
135
|
net-protocol
|
120
|
-
nio4r (2.
|
121
|
-
nokogiri (1.
|
136
|
+
nio4r (2.7.1)
|
137
|
+
nokogiri (1.16.3-x86_64-darwin)
|
122
138
|
racc (~> 1.4)
|
123
|
-
nokogiri (1.
|
139
|
+
nokogiri (1.16.3-x86_64-linux)
|
124
140
|
racc (~> 1.4)
|
125
|
-
parallel (1.
|
126
|
-
parser (3.
|
141
|
+
parallel (1.24.0)
|
142
|
+
parser (3.3.0.5)
|
127
143
|
ast (~> 2.4.1)
|
128
144
|
racc
|
129
|
-
|
145
|
+
psych (5.1.2)
|
146
|
+
stringio
|
147
|
+
puma (6.4.2)
|
130
148
|
nio4r (~> 2.0)
|
131
|
-
racc (1.7.
|
132
|
-
rack (
|
149
|
+
racc (1.7.3)
|
150
|
+
rack (3.0.10)
|
151
|
+
rack-session (2.0.0)
|
152
|
+
rack (>= 3.0.0)
|
133
153
|
rack-test (2.1.0)
|
134
154
|
rack (>= 1.3)
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
155
|
+
rackup (2.1.0)
|
156
|
+
rack (>= 3)
|
157
|
+
webrick (~> 1.8)
|
158
|
+
rails (7.1.3.2)
|
159
|
+
actioncable (= 7.1.3.2)
|
160
|
+
actionmailbox (= 7.1.3.2)
|
161
|
+
actionmailer (= 7.1.3.2)
|
162
|
+
actionpack (= 7.1.3.2)
|
163
|
+
actiontext (= 7.1.3.2)
|
164
|
+
actionview (= 7.1.3.2)
|
165
|
+
activejob (= 7.1.3.2)
|
166
|
+
activemodel (= 7.1.3.2)
|
167
|
+
activerecord (= 7.1.3.2)
|
168
|
+
activestorage (= 7.1.3.2)
|
169
|
+
activesupport (= 7.1.3.2)
|
147
170
|
bundler (>= 1.15.0)
|
148
|
-
railties (= 7.
|
171
|
+
railties (= 7.1.3.2)
|
149
172
|
rails-dom-testing (2.2.0)
|
150
173
|
activesupport (>= 5.0.0)
|
151
174
|
minitest
|
@@ -153,67 +176,74 @@ GEM
|
|
153
176
|
rails-html-sanitizer (1.6.0)
|
154
177
|
loofah (~> 2.21)
|
155
178
|
nokogiri (~> 1.14)
|
156
|
-
railties (7.
|
157
|
-
actionpack (= 7.
|
158
|
-
activesupport (= 7.
|
159
|
-
|
179
|
+
railties (7.1.3.2)
|
180
|
+
actionpack (= 7.1.3.2)
|
181
|
+
activesupport (= 7.1.3.2)
|
182
|
+
irb
|
183
|
+
rackup (>= 1.0.0)
|
160
184
|
rake (>= 12.2)
|
161
|
-
thor (~> 1.0)
|
162
|
-
zeitwerk (~> 2.
|
185
|
+
thor (~> 1.0, >= 1.2.2)
|
186
|
+
zeitwerk (~> 2.6)
|
163
187
|
rainbow (3.1.1)
|
164
|
-
rake (13.0
|
165
|
-
|
188
|
+
rake (13.1.0)
|
189
|
+
rdoc (6.6.3.1)
|
190
|
+
psych (>= 4.0.0)
|
191
|
+
regexp_parser (2.9.0)
|
192
|
+
reline (0.5.0)
|
193
|
+
io-console (~> 0.5)
|
166
194
|
rexml (3.2.6)
|
167
|
-
rubocop (1.
|
168
|
-
base64 (~> 0.1.1)
|
195
|
+
rubocop (1.62.1)
|
169
196
|
json (~> 2.3)
|
170
197
|
language_server-protocol (>= 3.17.0)
|
171
198
|
parallel (~> 1.10)
|
172
|
-
parser (>= 3.
|
199
|
+
parser (>= 3.3.0.2)
|
173
200
|
rainbow (>= 2.2.2, < 4.0)
|
174
201
|
regexp_parser (>= 1.8, < 3.0)
|
175
202
|
rexml (>= 3.2.5, < 4.0)
|
176
|
-
rubocop-ast (>= 1.
|
203
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
177
204
|
ruby-progressbar (~> 1.7)
|
178
205
|
unicode-display_width (>= 2.4.0, < 3.0)
|
179
|
-
rubocop-ast (1.
|
180
|
-
parser (>= 3.
|
181
|
-
rubocop-performance (1.
|
182
|
-
rubocop (>= 1.
|
183
|
-
rubocop-ast (>=
|
206
|
+
rubocop-ast (1.31.2)
|
207
|
+
parser (>= 3.3.0.4)
|
208
|
+
rubocop-performance (1.20.2)
|
209
|
+
rubocop (>= 1.48.1, < 2.0)
|
210
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
184
211
|
ruby-progressbar (1.13.0)
|
185
|
-
sqlite3 (1.
|
186
|
-
sqlite3 (1.
|
187
|
-
standard (1.
|
212
|
+
sqlite3 (1.7.3-x86_64-darwin)
|
213
|
+
sqlite3 (1.7.3-x86_64-linux)
|
214
|
+
standard (1.35.1)
|
188
215
|
language_server-protocol (~> 3.17.0.2)
|
189
216
|
lint_roller (~> 1.0)
|
190
|
-
rubocop (~> 1.
|
217
|
+
rubocop (~> 1.62.0)
|
191
218
|
standard-custom (~> 1.0.0)
|
192
|
-
standard-performance (~> 1.
|
219
|
+
standard-performance (~> 1.3)
|
193
220
|
standard-custom (1.0.2)
|
194
221
|
lint_roller (~> 1.0)
|
195
222
|
rubocop (~> 1.50)
|
196
|
-
standard-performance (1.
|
223
|
+
standard-performance (1.3.1)
|
197
224
|
lint_roller (~> 1.1)
|
198
|
-
rubocop-performance (~> 1.
|
199
|
-
|
200
|
-
|
225
|
+
rubocop-performance (~> 1.20.2)
|
226
|
+
stringio (3.1.0)
|
227
|
+
thor (1.3.1)
|
228
|
+
timeout (0.4.1)
|
201
229
|
tzinfo (2.0.6)
|
202
230
|
concurrent-ruby (~> 1.0)
|
203
|
-
unicode-display_width (2.
|
204
|
-
web-console (4.2.
|
231
|
+
unicode-display_width (2.5.0)
|
232
|
+
web-console (4.2.1)
|
205
233
|
actionview (>= 6.0.0)
|
206
234
|
activemodel (>= 6.0.0)
|
207
235
|
bindex (>= 0.4.0)
|
208
236
|
railties (>= 6.0.0)
|
237
|
+
webrick (1.8.1)
|
209
238
|
websocket-driver (0.7.6)
|
210
239
|
websocket-extensions (>= 0.1.0)
|
211
240
|
websocket-extensions (0.1.5)
|
212
|
-
zeitwerk (2.6.
|
241
|
+
zeitwerk (2.6.13)
|
213
242
|
|
214
243
|
PLATFORMS
|
215
244
|
x86_64-darwin-20
|
216
245
|
x86_64-darwin-22
|
246
|
+
x86_64-darwin-23
|
217
247
|
x86_64-linux
|
218
248
|
|
219
249
|
DEPENDENCIES
|
@@ -225,4 +255,4 @@ DEPENDENCIES
|
|
225
255
|
web-console (~> 4.2)
|
226
256
|
|
227
257
|
BUNDLED WITH
|
228
|
-
2.
|
258
|
+
2.5.7
|
data/README.md
CHANGED
data/bin/rails
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
ENV["RAILS_ENV"] ||= "test"
|
6
6
|
|
7
7
|
ENGINE_ROOT = File.expand_path('..', __dir__)
|
8
|
-
ENGINE_PATH = File.expand_path('../lib/
|
8
|
+
ENGINE_PATH = File.expand_path('../lib/simple_calendar/engine', __dir__)
|
9
9
|
APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)
|
10
10
|
|
11
11
|
# Set up gems listed in the Gemfile.
|