simple_calendar 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -0,0 +1,264 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/thoughtbot/appraisal.git
|
3
|
+
revision: f5e31c48a1dda036a2c13663fad1b657a0953f5d
|
4
|
+
specs:
|
5
|
+
appraisal (2.5.0)
|
6
|
+
bundler
|
7
|
+
rake
|
8
|
+
thor (>= 0.14.0)
|
9
|
+
|
10
|
+
PATH
|
11
|
+
remote: ..
|
12
|
+
specs:
|
13
|
+
simple_calendar (3.0.3)
|
14
|
+
rails (>= 6.1)
|
15
|
+
|
16
|
+
GEM
|
17
|
+
remote: http://rubygems.org/
|
18
|
+
specs:
|
19
|
+
actioncable (7.1.3.2)
|
20
|
+
actionpack (= 7.1.3.2)
|
21
|
+
activesupport (= 7.1.3.2)
|
22
|
+
nio4r (~> 2.0)
|
23
|
+
websocket-driver (>= 0.6.1)
|
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)
|
31
|
+
mail (>= 2.7.1)
|
32
|
+
net-imap
|
33
|
+
net-pop
|
34
|
+
net-smtp
|
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)
|
40
|
+
mail (~> 2.5, >= 2.5.4)
|
41
|
+
net-imap
|
42
|
+
net-pop
|
43
|
+
net-smtp
|
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)
|
52
|
+
rack-test (>= 0.6.3)
|
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)
|
60
|
+
globalid (>= 0.6.0)
|
61
|
+
nokogiri (>= 1.8.5)
|
62
|
+
actionview (7.1.3.2)
|
63
|
+
activesupport (= 7.1.3.2)
|
64
|
+
builder (~> 3.1)
|
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)
|
70
|
+
globalid (>= 0.3.6)
|
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)
|
82
|
+
marcel (~> 1.0)
|
83
|
+
activesupport (7.1.3.2)
|
84
|
+
base64
|
85
|
+
bigdecimal
|
86
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
87
|
+
connection_pool (>= 2.2.5)
|
88
|
+
drb
|
89
|
+
i18n (>= 1.6, < 2)
|
90
|
+
minitest (>= 5.1)
|
91
|
+
mutex_m
|
92
|
+
tzinfo (~> 2.0)
|
93
|
+
ast (2.4.2)
|
94
|
+
base64 (0.2.0)
|
95
|
+
bigdecimal (3.1.7)
|
96
|
+
bindex (0.8.1)
|
97
|
+
builder (3.2.4)
|
98
|
+
concurrent-ruby (1.2.3)
|
99
|
+
connection_pool (2.4.1)
|
100
|
+
crass (1.0.6)
|
101
|
+
date (3.3.4)
|
102
|
+
drb (2.2.1)
|
103
|
+
erubi (1.12.0)
|
104
|
+
globalid (1.2.1)
|
105
|
+
activesupport (>= 6.1)
|
106
|
+
i18n (1.14.4)
|
107
|
+
concurrent-ruby (~> 1.0)
|
108
|
+
io-console (0.7.2)
|
109
|
+
irb (1.12.0)
|
110
|
+
rdoc
|
111
|
+
reline (>= 0.4.2)
|
112
|
+
json (2.7.1)
|
113
|
+
language_server-protocol (3.17.0.3)
|
114
|
+
lint_roller (1.1.0)
|
115
|
+
loofah (2.22.0)
|
116
|
+
crass (~> 1.0.2)
|
117
|
+
nokogiri (>= 1.12.0)
|
118
|
+
mail (2.8.1)
|
119
|
+
mini_mime (>= 0.1.1)
|
120
|
+
net-imap
|
121
|
+
net-pop
|
122
|
+
net-smtp
|
123
|
+
marcel (1.0.4)
|
124
|
+
mini_mime (1.1.5)
|
125
|
+
mini_portile2 (2.8.5)
|
126
|
+
minitest (5.22.3)
|
127
|
+
mutex_m (0.2.0)
|
128
|
+
net-imap (0.4.10)
|
129
|
+
date
|
130
|
+
net-protocol
|
131
|
+
net-pop (0.1.2)
|
132
|
+
net-protocol
|
133
|
+
net-protocol (0.2.2)
|
134
|
+
timeout
|
135
|
+
net-smtp (0.5.0)
|
136
|
+
net-protocol
|
137
|
+
nio4r (2.7.1)
|
138
|
+
nokogiri (1.16.3)
|
139
|
+
mini_portile2 (~> 2.8.2)
|
140
|
+
racc (~> 1.4)
|
141
|
+
nokogiri (1.16.3-x86_64-darwin)
|
142
|
+
racc (~> 1.4)
|
143
|
+
nokogiri (1.16.3-x86_64-linux)
|
144
|
+
racc (~> 1.4)
|
145
|
+
parallel (1.24.0)
|
146
|
+
parser (3.3.0.5)
|
147
|
+
ast (~> 2.4.1)
|
148
|
+
racc
|
149
|
+
psych (5.1.2)
|
150
|
+
stringio
|
151
|
+
puma (6.4.2)
|
152
|
+
nio4r (~> 2.0)
|
153
|
+
racc (1.7.3)
|
154
|
+
rack (3.0.10)
|
155
|
+
rack-session (2.0.0)
|
156
|
+
rack (>= 3.0.0)
|
157
|
+
rack-test (2.1.0)
|
158
|
+
rack (>= 1.3)
|
159
|
+
rackup (2.1.0)
|
160
|
+
rack (>= 3)
|
161
|
+
webrick (~> 1.8)
|
162
|
+
rails (7.1.3.2)
|
163
|
+
actioncable (= 7.1.3.2)
|
164
|
+
actionmailbox (= 7.1.3.2)
|
165
|
+
actionmailer (= 7.1.3.2)
|
166
|
+
actionpack (= 7.1.3.2)
|
167
|
+
actiontext (= 7.1.3.2)
|
168
|
+
actionview (= 7.1.3.2)
|
169
|
+
activejob (= 7.1.3.2)
|
170
|
+
activemodel (= 7.1.3.2)
|
171
|
+
activerecord (= 7.1.3.2)
|
172
|
+
activestorage (= 7.1.3.2)
|
173
|
+
activesupport (= 7.1.3.2)
|
174
|
+
bundler (>= 1.15.0)
|
175
|
+
railties (= 7.1.3.2)
|
176
|
+
rails-dom-testing (2.2.0)
|
177
|
+
activesupport (>= 5.0.0)
|
178
|
+
minitest
|
179
|
+
nokogiri (>= 1.6)
|
180
|
+
rails-html-sanitizer (1.6.0)
|
181
|
+
loofah (~> 2.21)
|
182
|
+
nokogiri (~> 1.14)
|
183
|
+
railties (7.1.3.2)
|
184
|
+
actionpack (= 7.1.3.2)
|
185
|
+
activesupport (= 7.1.3.2)
|
186
|
+
irb
|
187
|
+
rackup (>= 1.0.0)
|
188
|
+
rake (>= 12.2)
|
189
|
+
thor (~> 1.0, >= 1.2.2)
|
190
|
+
zeitwerk (~> 2.6)
|
191
|
+
rainbow (3.1.1)
|
192
|
+
rake (13.1.0)
|
193
|
+
rdoc (6.6.3.1)
|
194
|
+
psych (>= 4.0.0)
|
195
|
+
regexp_parser (2.9.0)
|
196
|
+
reline (0.5.0)
|
197
|
+
io-console (~> 0.5)
|
198
|
+
rexml (3.2.6)
|
199
|
+
rubocop (1.62.1)
|
200
|
+
json (~> 2.3)
|
201
|
+
language_server-protocol (>= 3.17.0)
|
202
|
+
parallel (~> 1.10)
|
203
|
+
parser (>= 3.3.0.2)
|
204
|
+
rainbow (>= 2.2.2, < 4.0)
|
205
|
+
regexp_parser (>= 1.8, < 3.0)
|
206
|
+
rexml (>= 3.2.5, < 4.0)
|
207
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
208
|
+
ruby-progressbar (~> 1.7)
|
209
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
210
|
+
rubocop-ast (1.31.2)
|
211
|
+
parser (>= 3.3.0.4)
|
212
|
+
rubocop-performance (1.20.2)
|
213
|
+
rubocop (>= 1.48.1, < 2.0)
|
214
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
215
|
+
ruby-progressbar (1.13.0)
|
216
|
+
sqlite3 (1.7.3)
|
217
|
+
mini_portile2 (~> 2.8.0)
|
218
|
+
sqlite3 (1.7.3-x86_64-darwin)
|
219
|
+
sqlite3 (1.7.3-x86_64-linux)
|
220
|
+
standard (1.35.1)
|
221
|
+
language_server-protocol (~> 3.17.0.2)
|
222
|
+
lint_roller (~> 1.0)
|
223
|
+
rubocop (~> 1.62.0)
|
224
|
+
standard-custom (~> 1.0.0)
|
225
|
+
standard-performance (~> 1.3)
|
226
|
+
standard-custom (1.0.2)
|
227
|
+
lint_roller (~> 1.0)
|
228
|
+
rubocop (~> 1.50)
|
229
|
+
standard-performance (1.3.1)
|
230
|
+
lint_roller (~> 1.1)
|
231
|
+
rubocop-performance (~> 1.20.2)
|
232
|
+
stringio (3.1.0)
|
233
|
+
thor (1.3.1)
|
234
|
+
timeout (0.4.1)
|
235
|
+
tzinfo (2.0.6)
|
236
|
+
concurrent-ruby (~> 1.0)
|
237
|
+
unicode-display_width (2.5.0)
|
238
|
+
web-console (4.2.1)
|
239
|
+
actionview (>= 6.0.0)
|
240
|
+
activemodel (>= 6.0.0)
|
241
|
+
bindex (>= 0.4.0)
|
242
|
+
railties (>= 6.0.0)
|
243
|
+
webrick (1.8.1)
|
244
|
+
websocket-driver (0.7.6)
|
245
|
+
websocket-extensions (>= 0.1.0)
|
246
|
+
websocket-extensions (0.1.5)
|
247
|
+
zeitwerk (2.6.13)
|
248
|
+
|
249
|
+
PLATFORMS
|
250
|
+
ruby
|
251
|
+
x86_64-darwin-22
|
252
|
+
x86_64-linux
|
253
|
+
|
254
|
+
DEPENDENCIES
|
255
|
+
appraisal!
|
256
|
+
puma
|
257
|
+
rails (~> 7.1.0.beta1)
|
258
|
+
simple_calendar!
|
259
|
+
sqlite3
|
260
|
+
standard
|
261
|
+
web-console (~> 4.2)
|
262
|
+
|
263
|
+
BUNDLED WITH
|
264
|
+
2.4.16
|
@@ -1,96 +1,92 @@
|
|
1
1
|
GIT
|
2
2
|
remote: https://github.com/rails/rails.git
|
3
|
-
revision:
|
3
|
+
revision: 0033d46236932aad5477b966fad155a83caeab97
|
4
4
|
specs:
|
5
|
-
actioncable (7.
|
6
|
-
actionpack (= 7.
|
7
|
-
activesupport (= 7.
|
5
|
+
actioncable (7.2.0.alpha)
|
6
|
+
actionpack (= 7.2.0.alpha)
|
7
|
+
activesupport (= 7.2.0.alpha)
|
8
8
|
nio4r (~> 2.0)
|
9
9
|
websocket-driver (>= 0.6.1)
|
10
10
|
zeitwerk (~> 2.6)
|
11
|
-
actionmailbox (7.
|
12
|
-
actionpack (= 7.
|
13
|
-
activejob (= 7.
|
14
|
-
activerecord (= 7.
|
15
|
-
activestorage (= 7.
|
16
|
-
activesupport (= 7.
|
17
|
-
mail (>= 2.
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
activejob (= 7.1.0.alpha)
|
25
|
-
activesupport (= 7.1.0.alpha)
|
26
|
-
mail (~> 2.5, >= 2.5.4)
|
27
|
-
net-imap
|
28
|
-
net-pop
|
29
|
-
net-smtp
|
11
|
+
actionmailbox (7.2.0.alpha)
|
12
|
+
actionpack (= 7.2.0.alpha)
|
13
|
+
activejob (= 7.2.0.alpha)
|
14
|
+
activerecord (= 7.2.0.alpha)
|
15
|
+
activestorage (= 7.2.0.alpha)
|
16
|
+
activesupport (= 7.2.0.alpha)
|
17
|
+
mail (>= 2.8.0)
|
18
|
+
actionmailer (7.2.0.alpha)
|
19
|
+
actionpack (= 7.2.0.alpha)
|
20
|
+
actionview (= 7.2.0.alpha)
|
21
|
+
activejob (= 7.2.0.alpha)
|
22
|
+
activesupport (= 7.2.0.alpha)
|
23
|
+
mail (>= 2.8.0)
|
30
24
|
rails-dom-testing (~> 2.2)
|
31
|
-
actionpack (7.
|
32
|
-
actionview (= 7.
|
33
|
-
activesupport (= 7.
|
25
|
+
actionpack (7.2.0.alpha)
|
26
|
+
actionview (= 7.2.0.alpha)
|
27
|
+
activesupport (= 7.2.0.alpha)
|
34
28
|
nokogiri (>= 1.8.5)
|
29
|
+
racc
|
35
30
|
rack (>= 2.2.4)
|
36
31
|
rack-session (>= 1.0.1)
|
37
32
|
rack-test (>= 0.6.3)
|
38
33
|
rails-dom-testing (~> 2.2)
|
39
34
|
rails-html-sanitizer (~> 1.6)
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
35
|
+
useragent (~> 0.16)
|
36
|
+
actiontext (7.2.0.alpha)
|
37
|
+
actionpack (= 7.2.0.alpha)
|
38
|
+
activerecord (= 7.2.0.alpha)
|
39
|
+
activestorage (= 7.2.0.alpha)
|
40
|
+
activesupport (= 7.2.0.alpha)
|
45
41
|
globalid (>= 0.6.0)
|
46
42
|
nokogiri (>= 1.8.5)
|
47
|
-
actionview (7.
|
48
|
-
activesupport (= 7.
|
43
|
+
actionview (7.2.0.alpha)
|
44
|
+
activesupport (= 7.2.0.alpha)
|
49
45
|
builder (~> 3.1)
|
50
46
|
erubi (~> 1.11)
|
51
47
|
rails-dom-testing (~> 2.2)
|
52
48
|
rails-html-sanitizer (~> 1.6)
|
53
|
-
activejob (7.
|
54
|
-
activesupport (= 7.
|
49
|
+
activejob (7.2.0.alpha)
|
50
|
+
activesupport (= 7.2.0.alpha)
|
55
51
|
globalid (>= 0.3.6)
|
56
|
-
activemodel (7.
|
57
|
-
activesupport (= 7.
|
58
|
-
activerecord (7.
|
59
|
-
activemodel (= 7.
|
60
|
-
activesupport (= 7.
|
52
|
+
activemodel (7.2.0.alpha)
|
53
|
+
activesupport (= 7.2.0.alpha)
|
54
|
+
activerecord (7.2.0.alpha)
|
55
|
+
activemodel (= 7.2.0.alpha)
|
56
|
+
activesupport (= 7.2.0.alpha)
|
61
57
|
timeout (>= 0.4.0)
|
62
|
-
activestorage (7.
|
63
|
-
actionpack (= 7.
|
64
|
-
activejob (= 7.
|
65
|
-
activerecord (= 7.
|
66
|
-
activesupport (= 7.
|
58
|
+
activestorage (7.2.0.alpha)
|
59
|
+
actionpack (= 7.2.0.alpha)
|
60
|
+
activejob (= 7.2.0.alpha)
|
61
|
+
activerecord (= 7.2.0.alpha)
|
62
|
+
activesupport (= 7.2.0.alpha)
|
67
63
|
marcel (~> 1.0)
|
68
|
-
activesupport (7.
|
64
|
+
activesupport (7.2.0.alpha)
|
69
65
|
base64
|
66
|
+
bigdecimal
|
70
67
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
71
68
|
connection_pool (>= 2.2.5)
|
72
69
|
drb
|
73
70
|
i18n (>= 1.6, < 2)
|
74
|
-
minitest (>= 5.1)
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
activesupport (= 7.1.0.alpha)
|
71
|
+
minitest (>= 5.1, < 5.22.0)
|
72
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
73
|
+
rails (7.2.0.alpha)
|
74
|
+
actioncable (= 7.2.0.alpha)
|
75
|
+
actionmailbox (= 7.2.0.alpha)
|
76
|
+
actionmailer (= 7.2.0.alpha)
|
77
|
+
actionpack (= 7.2.0.alpha)
|
78
|
+
actiontext (= 7.2.0.alpha)
|
79
|
+
actionview (= 7.2.0.alpha)
|
80
|
+
activejob (= 7.2.0.alpha)
|
81
|
+
activemodel (= 7.2.0.alpha)
|
82
|
+
activerecord (= 7.2.0.alpha)
|
83
|
+
activestorage (= 7.2.0.alpha)
|
84
|
+
activesupport (= 7.2.0.alpha)
|
89
85
|
bundler (>= 1.15.0)
|
90
|
-
railties (= 7.
|
91
|
-
railties (7.
|
92
|
-
actionpack (= 7.
|
93
|
-
activesupport (= 7.
|
86
|
+
railties (= 7.2.0.alpha)
|
87
|
+
railties (7.2.0.alpha)
|
88
|
+
actionpack (= 7.2.0.alpha)
|
89
|
+
activesupport (= 7.2.0.alpha)
|
94
90
|
irb
|
95
91
|
rackup (>= 1.0.0)
|
96
92
|
rake (>= 12.2)
|
@@ -99,7 +95,7 @@ GIT
|
|
99
95
|
|
100
96
|
GIT
|
101
97
|
remote: https://github.com/thoughtbot/appraisal.git
|
102
|
-
revision:
|
98
|
+
revision: f5e31c48a1dda036a2c13663fad1b657a0953f5d
|
103
99
|
specs:
|
104
100
|
appraisal (2.5.0)
|
105
101
|
bundler
|
@@ -109,34 +105,35 @@ GIT
|
|
109
105
|
PATH
|
110
106
|
remote: ..
|
111
107
|
specs:
|
112
|
-
simple_calendar (3.0.
|
108
|
+
simple_calendar (3.0.3)
|
113
109
|
rails (>= 6.1)
|
114
110
|
|
115
111
|
GEM
|
116
112
|
remote: http://rubygems.org/
|
117
113
|
specs:
|
118
114
|
ast (2.4.2)
|
119
|
-
base64 (0.
|
115
|
+
base64 (0.2.0)
|
116
|
+
bigdecimal (3.1.7)
|
120
117
|
bindex (0.8.1)
|
121
118
|
builder (3.2.4)
|
122
|
-
concurrent-ruby (1.2.
|
119
|
+
concurrent-ruby (1.2.3)
|
123
120
|
connection_pool (2.4.1)
|
124
121
|
crass (1.0.6)
|
125
|
-
date (3.3.
|
126
|
-
drb (2.
|
127
|
-
ruby2_keywords
|
122
|
+
date (3.3.4)
|
123
|
+
drb (2.2.1)
|
128
124
|
erubi (1.12.0)
|
129
|
-
globalid (1.1
|
130
|
-
activesupport (>=
|
131
|
-
i18n (1.14.
|
125
|
+
globalid (1.2.1)
|
126
|
+
activesupport (>= 6.1)
|
127
|
+
i18n (1.14.4)
|
132
128
|
concurrent-ruby (~> 1.0)
|
133
|
-
io-console (0.
|
134
|
-
irb (1.
|
135
|
-
|
136
|
-
|
129
|
+
io-console (0.7.2)
|
130
|
+
irb (1.12.0)
|
131
|
+
rdoc
|
132
|
+
reline (>= 0.4.2)
|
133
|
+
json (2.7.1)
|
137
134
|
language_server-protocol (3.17.0.3)
|
138
135
|
lint_roller (1.1.0)
|
139
|
-
loofah (2.
|
136
|
+
loofah (2.22.0)
|
140
137
|
crass (~> 1.0.2)
|
141
138
|
nokogiri (>= 1.12.0)
|
142
139
|
mail (2.8.1)
|
@@ -144,36 +141,37 @@ GEM
|
|
144
141
|
net-imap
|
145
142
|
net-pop
|
146
143
|
net-smtp
|
147
|
-
marcel (1.0.
|
144
|
+
marcel (1.0.4)
|
148
145
|
mini_mime (1.1.5)
|
149
|
-
mini_portile2 (2.8.
|
150
|
-
minitest (5.
|
151
|
-
|
152
|
-
net-imap (0.3.7)
|
146
|
+
mini_portile2 (2.8.5)
|
147
|
+
minitest (5.21.2)
|
148
|
+
net-imap (0.4.10)
|
153
149
|
date
|
154
150
|
net-protocol
|
155
151
|
net-pop (0.1.2)
|
156
152
|
net-protocol
|
157
|
-
net-protocol (0.2.
|
153
|
+
net-protocol (0.2.2)
|
158
154
|
timeout
|
159
|
-
net-smtp (0.
|
155
|
+
net-smtp (0.5.0)
|
160
156
|
net-protocol
|
161
|
-
nio4r (2.
|
162
|
-
nokogiri (1.
|
157
|
+
nio4r (2.7.1)
|
158
|
+
nokogiri (1.16.3)
|
163
159
|
mini_portile2 (~> 2.8.2)
|
164
160
|
racc (~> 1.4)
|
165
|
-
nokogiri (1.
|
161
|
+
nokogiri (1.16.3-x86_64-darwin)
|
166
162
|
racc (~> 1.4)
|
167
|
-
nokogiri (1.
|
163
|
+
nokogiri (1.16.3-x86_64-linux)
|
168
164
|
racc (~> 1.4)
|
169
|
-
parallel (1.
|
170
|
-
parser (3.
|
165
|
+
parallel (1.24.0)
|
166
|
+
parser (3.3.0.5)
|
171
167
|
ast (~> 2.4.1)
|
172
168
|
racc
|
173
|
-
|
169
|
+
psych (5.1.2)
|
170
|
+
stringio
|
171
|
+
puma (6.4.2)
|
174
172
|
nio4r (~> 2.0)
|
175
|
-
racc (1.7.
|
176
|
-
rack (3.0.
|
173
|
+
racc (1.7.3)
|
174
|
+
rack (3.0.10)
|
177
175
|
rack-session (2.0.0)
|
178
176
|
rack (>= 3.0.0)
|
179
177
|
rack-test (2.1.0)
|
@@ -189,52 +187,54 @@ GEM
|
|
189
187
|
loofah (~> 2.21)
|
190
188
|
nokogiri (~> 1.14)
|
191
189
|
rainbow (3.1.1)
|
192
|
-
rake (13.0
|
193
|
-
|
194
|
-
|
190
|
+
rake (13.1.0)
|
191
|
+
rdoc (6.6.3.1)
|
192
|
+
psych (>= 4.0.0)
|
193
|
+
regexp_parser (2.9.0)
|
194
|
+
reline (0.5.0)
|
195
195
|
io-console (~> 0.5)
|
196
196
|
rexml (3.2.6)
|
197
|
-
rubocop (1.
|
198
|
-
base64 (~> 0.1.1)
|
197
|
+
rubocop (1.62.1)
|
199
198
|
json (~> 2.3)
|
200
199
|
language_server-protocol (>= 3.17.0)
|
201
200
|
parallel (~> 1.10)
|
202
|
-
parser (>= 3.
|
201
|
+
parser (>= 3.3.0.2)
|
203
202
|
rainbow (>= 2.2.2, < 4.0)
|
204
203
|
regexp_parser (>= 1.8, < 3.0)
|
205
204
|
rexml (>= 3.2.5, < 4.0)
|
206
|
-
rubocop-ast (>= 1.
|
205
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
207
206
|
ruby-progressbar (~> 1.7)
|
208
207
|
unicode-display_width (>= 2.4.0, < 3.0)
|
209
|
-
rubocop-ast (1.
|
210
|
-
parser (>= 3.
|
211
|
-
rubocop-performance (1.
|
212
|
-
rubocop (>= 1.
|
213
|
-
rubocop-ast (>=
|
208
|
+
rubocop-ast (1.31.2)
|
209
|
+
parser (>= 3.3.0.4)
|
210
|
+
rubocop-performance (1.20.2)
|
211
|
+
rubocop (>= 1.48.1, < 2.0)
|
212
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
214
213
|
ruby-progressbar (1.13.0)
|
215
|
-
|
216
|
-
sqlite3 (1.6.3)
|
214
|
+
sqlite3 (1.7.3)
|
217
215
|
mini_portile2 (~> 2.8.0)
|
218
|
-
sqlite3 (1.
|
219
|
-
sqlite3 (1.
|
220
|
-
standard (1.
|
216
|
+
sqlite3 (1.7.3-x86_64-darwin)
|
217
|
+
sqlite3 (1.7.3-x86_64-linux)
|
218
|
+
standard (1.35.1)
|
221
219
|
language_server-protocol (~> 3.17.0.2)
|
222
220
|
lint_roller (~> 1.0)
|
223
|
-
rubocop (~> 1.
|
221
|
+
rubocop (~> 1.62.0)
|
224
222
|
standard-custom (~> 1.0.0)
|
225
|
-
standard-performance (~> 1.
|
223
|
+
standard-performance (~> 1.3)
|
226
224
|
standard-custom (1.0.2)
|
227
225
|
lint_roller (~> 1.0)
|
228
226
|
rubocop (~> 1.50)
|
229
|
-
standard-performance (1.
|
227
|
+
standard-performance (1.3.1)
|
230
228
|
lint_roller (~> 1.1)
|
231
|
-
rubocop-performance (~> 1.
|
232
|
-
|
233
|
-
|
229
|
+
rubocop-performance (~> 1.20.2)
|
230
|
+
stringio (3.1.0)
|
231
|
+
thor (1.3.1)
|
232
|
+
timeout (0.4.1)
|
234
233
|
tzinfo (2.0.6)
|
235
234
|
concurrent-ruby (~> 1.0)
|
236
|
-
unicode-display_width (2.
|
237
|
-
|
235
|
+
unicode-display_width (2.5.0)
|
236
|
+
useragent (0.16.10)
|
237
|
+
web-console (4.2.1)
|
238
238
|
actionview (>= 6.0.0)
|
239
239
|
activemodel (>= 6.0.0)
|
240
240
|
bindex (>= 0.4.0)
|
@@ -243,7 +243,7 @@ GEM
|
|
243
243
|
websocket-driver (0.7.6)
|
244
244
|
websocket-extensions (>= 0.1.0)
|
245
245
|
websocket-extensions (0.1.5)
|
246
|
-
zeitwerk (2.6.
|
246
|
+
zeitwerk (2.6.13)
|
247
247
|
|
248
248
|
PLATFORMS
|
249
249
|
ruby
|
@@ -2,8 +2,8 @@ class BusinessWeekCalendar < SimpleCalendar::Calendar
|
|
2
2
|
private
|
3
3
|
|
4
4
|
def date_range
|
5
|
-
beginning = start_date.
|
6
|
-
ending =
|
5
|
+
beginning = start_date.monday
|
6
|
+
ending = beginning + 5.days
|
7
7
|
(beginning..ending).to_a
|
8
8
|
end
|
9
9
|
end
|
@@ -15,6 +15,7 @@ class CustomCalendarIntegrationTest < ActionDispatch::IntegrationTest
|
|
15
15
|
|
16
16
|
test "calendar render two day events" do
|
17
17
|
event = meetings(:two_day_event)
|
18
|
+
event.update(start_time: Time.current.monday, end_time: (Time.current.monday + 1.day).end_of_day)
|
18
19
|
get business_week_meetings_path, params: {start_date: event.start_time.to_date}
|
19
20
|
assert_select "div.simple-calendar" do
|
20
21
|
assert_select "div", text: event.name, count: 2
|
@@ -23,6 +24,7 @@ class CustomCalendarIntegrationTest < ActionDispatch::IntegrationTest
|
|
23
24
|
|
24
25
|
test "calendar render three day events" do
|
25
26
|
event = meetings(:three_day_event)
|
27
|
+
event.update(start_time: Time.current.monday, end_time: (Time.current.monday + 2.days).end_of_day)
|
26
28
|
get business_week_meetings_path, params: {start_date: event.start_time.to_date}
|
27
29
|
assert_select "div.simple-calendar" do
|
28
30
|
assert_select "div", text: event.name, count: 3
|
data/test/test_helper.rb
CHANGED
@@ -6,9 +6,12 @@ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/mi
|
|
6
6
|
require "rails/test_help"
|
7
7
|
|
8
8
|
# Load fixtures from the engine
|
9
|
-
if ActiveSupport::TestCase.respond_to?(:
|
10
|
-
ActiveSupport::TestCase.
|
9
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_paths=)
|
10
|
+
ActiveSupport::TestCase.fixture_paths << File.expand_path("../fixtures", __FILE__)
|
11
|
+
ActionDispatch::IntegrationTest.fixture_paths << File.expand_path("../fixtures", __FILE__)
|
12
|
+
elsif ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
13
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
11
14
|
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
12
|
-
ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
|
13
|
-
ActiveSupport::TestCase.fixtures :all
|
14
15
|
end
|
16
|
+
|
17
|
+
ActiveSupport::TestCase.fixtures :all
|