Skip to content

Commit ce28cb7

Browse files
committed
Handle events: nil, fixes #322
1 parent 4a9a0de commit ce28cb7

File tree

8 files changed

+292
-260
lines changed

8 files changed

+292
-260
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### Unreleased
2+
3+
### 3.0.2
4+
5+
* Handle `events: nil`
6+
17
### 3.0.1
28

39
* Refactor to use block from `render_in` call to better support custom calendars

Gemfile.lock

Lines changed: 78 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,88 @@
11
GIT
22
remote: https://github.com/thoughtbot/appraisal.git
3-
revision: b200e636903700098bef25f4f51dbc4c46e4c04c
3+
revision: feb78bcc6177038399bff098cb6c2bd4bca4972a
44
specs:
5-
appraisal (2.4.1)
5+
appraisal (2.5.0)
66
bundler
77
rake
88
thor (>= 0.14.0)
99

1010
PATH
1111
remote: .
1212
specs:
13-
simple_calendar (3.0.1)
13+
simple_calendar (3.0.2)
1414
rails (>= 6.1)
1515

1616
GEM
1717
remote: http://rubygems.org/
1818
specs:
19-
actioncable (7.0.6)
20-
actionpack (= 7.0.6)
21-
activesupport (= 7.0.6)
19+
actioncable (7.0.7.2)
20+
actionpack (= 7.0.7.2)
21+
activesupport (= 7.0.7.2)
2222
nio4r (~> 2.0)
2323
websocket-driver (>= 0.6.1)
24-
actionmailbox (7.0.6)
25-
actionpack (= 7.0.6)
26-
activejob (= 7.0.6)
27-
activerecord (= 7.0.6)
28-
activestorage (= 7.0.6)
29-
activesupport (= 7.0.6)
24+
actionmailbox (7.0.7.2)
25+
actionpack (= 7.0.7.2)
26+
activejob (= 7.0.7.2)
27+
activerecord (= 7.0.7.2)
28+
activestorage (= 7.0.7.2)
29+
activesupport (= 7.0.7.2)
3030
mail (>= 2.7.1)
3131
net-imap
3232
net-pop
3333
net-smtp
34-
actionmailer (7.0.6)
35-
actionpack (= 7.0.6)
36-
actionview (= 7.0.6)
37-
activejob (= 7.0.6)
38-
activesupport (= 7.0.6)
34+
actionmailer (7.0.7.2)
35+
actionpack (= 7.0.7.2)
36+
actionview (= 7.0.7.2)
37+
activejob (= 7.0.7.2)
38+
activesupport (= 7.0.7.2)
3939
mail (~> 2.5, >= 2.5.4)
4040
net-imap
4141
net-pop
4242
net-smtp
4343
rails-dom-testing (~> 2.0)
44-
actionpack (7.0.6)
45-
actionview (= 7.0.6)
46-
activesupport (= 7.0.6)
44+
actionpack (7.0.7.2)
45+
actionview (= 7.0.7.2)
46+
activesupport (= 7.0.7.2)
4747
rack (~> 2.0, >= 2.2.4)
4848
rack-test (>= 0.6.3)
4949
rails-dom-testing (~> 2.0)
5050
rails-html-sanitizer (~> 1.0, >= 1.2.0)
51-
actiontext (7.0.6)
52-
actionpack (= 7.0.6)
53-
activerecord (= 7.0.6)
54-
activestorage (= 7.0.6)
55-
activesupport (= 7.0.6)
51+
actiontext (7.0.7.2)
52+
actionpack (= 7.0.7.2)
53+
activerecord (= 7.0.7.2)
54+
activestorage (= 7.0.7.2)
55+
activesupport (= 7.0.7.2)
5656
globalid (>= 0.6.0)
5757
nokogiri (>= 1.8.5)
58-
actionview (7.0.6)
59-
activesupport (= 7.0.6)
58+
actionview (7.0.7.2)
59+
activesupport (= 7.0.7.2)
6060
builder (~> 3.1)
6161
erubi (~> 1.4)
6262
rails-dom-testing (~> 2.0)
6363
rails-html-sanitizer (~> 1.1, >= 1.2.0)
64-
activejob (7.0.6)
65-
activesupport (= 7.0.6)
64+
activejob (7.0.7.2)
65+
activesupport (= 7.0.7.2)
6666
globalid (>= 0.3.6)
67-
activemodel (7.0.6)
68-
activesupport (= 7.0.6)
69-
activerecord (7.0.6)
70-
activemodel (= 7.0.6)
71-
activesupport (= 7.0.6)
72-
activestorage (7.0.6)
73-
actionpack (= 7.0.6)
74-
activejob (= 7.0.6)
75-
activerecord (= 7.0.6)
76-
activesupport (= 7.0.6)
67+
activemodel (7.0.7.2)
68+
activesupport (= 7.0.7.2)
69+
activerecord (7.0.7.2)
70+
activemodel (= 7.0.7.2)
71+
activesupport (= 7.0.7.2)
72+
activestorage (7.0.7.2)
73+
actionpack (= 7.0.7.2)
74+
activejob (= 7.0.7.2)
75+
activerecord (= 7.0.7.2)
76+
activesupport (= 7.0.7.2)
7777
marcel (~> 1.0)
7878
mini_mime (>= 1.1.0)
79-
activesupport (7.0.6)
79+
activesupport (7.0.7.2)
8080
concurrent-ruby (~> 1.0, >= 1.0.2)
8181
i18n (>= 1.6, < 2)
8282
minitest (>= 5.1)
8383
tzinfo (~> 2.0)
8484
ast (2.4.2)
85+
base64 (0.1.1)
8586
bindex (0.8.1)
8687
builder (3.2.4)
8788
concurrent-ruby (1.2.2)
@@ -105,9 +106,9 @@ GEM
105106
net-smtp
106107
marcel (1.0.2)
107108
method_source (1.0.0)
108-
mini_mime (1.1.2)
109-
minitest (5.18.1)
110-
net-imap (0.3.6)
109+
mini_mime (1.1.5)
110+
minitest (5.19.0)
111+
net-imap (0.3.7)
111112
date
112113
net-protocol
113114
net-pop (0.1.2)
@@ -117,82 +118,84 @@ GEM
117118
net-smtp (0.3.3)
118119
net-protocol
119120
nio4r (2.5.9)
120-
nokogiri (1.15.3-x86_64-darwin)
121+
nokogiri (1.15.4-x86_64-darwin)
121122
racc (~> 1.4)
122-
nokogiri (1.15.3-x86_64-linux)
123+
nokogiri (1.15.4-x86_64-linux)
123124
racc (~> 1.4)
124125
parallel (1.23.0)
125126
parser (3.2.2.3)
126127
ast (~> 2.4.1)
127128
racc
128-
puma (6.3.0)
129+
puma (6.3.1)
129130
nio4r (~> 2.0)
130131
racc (1.7.1)
131-
rack (2.2.7)
132+
rack (2.2.8)
132133
rack-test (2.1.0)
133134
rack (>= 1.3)
134-
rails (7.0.6)
135-
actioncable (= 7.0.6)
136-
actionmailbox (= 7.0.6)
137-
actionmailer (= 7.0.6)
138-
actionpack (= 7.0.6)
139-
actiontext (= 7.0.6)
140-
actionview (= 7.0.6)
141-
activejob (= 7.0.6)
142-
activemodel (= 7.0.6)
143-
activerecord (= 7.0.6)
144-
activestorage (= 7.0.6)
145-
activesupport (= 7.0.6)
135+
rails (7.0.7.2)
136+
actioncable (= 7.0.7.2)
137+
actionmailbox (= 7.0.7.2)
138+
actionmailer (= 7.0.7.2)
139+
actionpack (= 7.0.7.2)
140+
actiontext (= 7.0.7.2)
141+
actionview (= 7.0.7.2)
142+
activejob (= 7.0.7.2)
143+
activemodel (= 7.0.7.2)
144+
activerecord (= 7.0.7.2)
145+
activestorage (= 7.0.7.2)
146+
activesupport (= 7.0.7.2)
146147
bundler (>= 1.15.0)
147-
railties (= 7.0.6)
148-
rails-dom-testing (2.1.1)
148+
railties (= 7.0.7.2)
149+
rails-dom-testing (2.2.0)
149150
activesupport (>= 5.0.0)
150151
minitest
151152
nokogiri (>= 1.6)
152153
rails-html-sanitizer (1.6.0)
153154
loofah (~> 2.21)
154155
nokogiri (~> 1.14)
155-
railties (7.0.6)
156-
actionpack (= 7.0.6)
157-
activesupport (= 7.0.6)
156+
railties (7.0.7.2)
157+
actionpack (= 7.0.7.2)
158+
activesupport (= 7.0.7.2)
158159
method_source
159160
rake (>= 12.2)
160161
thor (~> 1.0)
161162
zeitwerk (~> 2.5)
162163
rainbow (3.1.1)
163164
rake (13.0.6)
164165
regexp_parser (2.8.1)
165-
rexml (3.2.5)
166-
rubocop (1.52.1)
166+
rexml (3.2.6)
167+
rubocop (1.56.1)
168+
base64 (~> 0.1.1)
167169
json (~> 2.3)
170+
language_server-protocol (>= 3.17.0)
168171
parallel (~> 1.10)
169172
parser (>= 3.2.2.3)
170173
rainbow (>= 2.2.2, < 4.0)
171174
regexp_parser (>= 1.8, < 3.0)
172175
rexml (>= 3.2.5, < 4.0)
173-
rubocop-ast (>= 1.28.0, < 2.0)
176+
rubocop-ast (>= 1.28.1, < 2.0)
174177
ruby-progressbar (~> 1.7)
175178
unicode-display_width (>= 2.4.0, < 3.0)
176179
rubocop-ast (1.29.0)
177180
parser (>= 3.2.1.0)
178-
rubocop-performance (1.18.0)
181+
rubocop-performance (1.19.0)
179182
rubocop (>= 1.7.0, < 2.0)
180183
rubocop-ast (>= 0.4.0)
181184
ruby-progressbar (1.13.0)
182185
sqlite3 (1.6.3-x86_64-darwin)
183186
sqlite3 (1.6.3-x86_64-linux)
184-
standard (1.30.1)
187+
standard (1.31.0)
185188
language_server-protocol (~> 3.17.0.2)
186189
lint_roller (~> 1.0)
187-
rubocop (~> 1.52.0)
190+
rubocop (~> 1.56.0)
188191
standard-custom (~> 1.0.0)
189-
standard-performance (~> 1.1.0)
192+
standard-performance (~> 1.2)
190193
standard-custom (1.0.2)
191194
lint_roller (~> 1.0)
192195
rubocop (~> 1.50)
193-
standard-performance (1.1.1)
196+
standard-performance (1.2.0)
194197
lint_roller (~> 1.1)
195-
rubocop-performance (~> 1.18.0)
198+
rubocop-performance (~> 1.19.0)
196199
thor (1.2.2)
197200
timeout (0.4.0)
198201
tzinfo (2.0.6)
@@ -203,10 +206,10 @@ GEM
203206
activemodel (>= 6.0.0)
204207
bindex (>= 0.4.0)
205208
railties (>= 6.0.0)
206-
websocket-driver (0.7.5)
209+
websocket-driver (0.7.6)
207210
websocket-extensions (>= 0.1.0)
208211
websocket-extensions (0.1.5)
209-
zeitwerk (2.6.8)
212+
zeitwerk (2.6.11)
210213

211214
PLATFORMS
212215
x86_64-darwin-20

0 commit comments

Comments
 (0)