simple_calendar 3.0.1 → 3.0.3

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: 37a9649373c34dabc95e3549b89903edea28a8b86e3c5e84defd640354390961
4
- data.tar.gz: 561d150c797c2c350fa00501f8936556412efe0158449aa909fd22b824fbf5e0
3
+ metadata.gz: 624a17d7a3438850461668609daa090bf65e44d5513a1f33ce7537270c03f7b5
4
+ data.tar.gz: 4b8b8d57ca3494e2c3a68ed00685acc8d54c72fb1bf3498a0df6d4f2dfe58cee
5
5
  SHA512:
6
- metadata.gz: 22c618117445c21407bfabd37889f83c5676143704a388670bf3f8b00ddd66d4d41fd2ccc5c4bdf9ecd2cde4b5b232407cac2d4265f2228640b51b4a65503e37
7
- data.tar.gz: c284fe582e697f44e001c22dd0380a74c7ef60827a835f7768c058c56585534c339c4b11541ca938ad44da5a6aedad5ccd60fd5fe3e795a0dc921534dbebf105
6
+ metadata.gz: 0d742e28cb04b8b10f84ada83ea1d2afc7471a0baf48633144a4be41aeab78f035c112638fb386ce0cd48144b58c1ce243ab56fa3f9efee9f36d59df40276940
7
+ data.tar.gz: 6f18997acda2ef9a42ecd1d6b01e666c875d750c815bf73e03e9e2c614fb5e53f94a020830c4dba916ed2198e962043d6c6051c9808acb38b7826ab49261cb5d
@@ -6,16 +6,17 @@ on:
6
6
  - '*'
7
7
  push:
8
8
  branches:
9
- - master
9
+ - main
10
10
  jobs:
11
11
  tests:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby: ['2.7', '3.0', '3.1', '3.2']
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
@@ -6,6 +6,10 @@ appraise "rails-7-0" do
6
6
  gem "rails", "~> 7.0.0"
7
7
  end
8
8
 
9
+ appraise "rails-7-1" do
10
+ gem "rails", "~> 7.1.0.beta1"
11
+ end
12
+
9
13
  appraise "rails-main" do
10
14
  gem "rails", github: "rails/rails"
11
15
  end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### Unreleased
2
+
3
+ ### 3.0.2
4
+
5
+ * Handle `events: nil`
6
+
1
7
  ### 3.0.1
2
8
 
3
9
  * Refactor to use block from `render_in` call to better support custom calendars
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  GIT
2
2
  remote: https://github.com/thoughtbot/appraisal.git
3
- revision: b200e636903700098bef25f4f51dbc4c46e4c04c
3
+ revision: f5e31c48a1dda036a2c13663fad1b657a0953f5d
4
4
  specs:
5
- appraisal (2.4.1)
5
+ appraisal (2.5.0)
6
6
  bundler
7
7
  rake
8
8
  thor (>= 0.14.0)
@@ -10,92 +10,109 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- simple_calendar (3.0.1)
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.0.6)
20
- actionpack (= 7.0.6)
21
- activesupport (= 7.0.6)
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
- 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
+ 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.0.6)
35
- actionpack (= 7.0.6)
36
- actionview (= 7.0.6)
37
- activejob (= 7.0.6)
38
- activesupport (= 7.0.6)
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.0)
44
- actionpack (7.0.6)
45
- actionview (= 7.0.6)
46
- activesupport (= 7.0.6)
47
- rack (~> 2.0, >= 2.2.4)
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.0)
50
- 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)
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.0.6)
59
- activesupport (= 7.0.6)
62
+ actionview (7.1.3.2)
63
+ activesupport (= 7.1.3.2)
60
64
  builder (~> 3.1)
61
- erubi (~> 1.4)
62
- rails-dom-testing (~> 2.0)
63
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
64
- activejob (7.0.6)
65
- activesupport (= 7.0.6)
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.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)
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
- mini_mime (>= 1.1.0)
79
- activesupport (7.0.6)
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)
94
+ base64 (0.2.0)
95
+ bigdecimal (3.1.7)
85
96
  bindex (0.8.1)
86
97
  builder (3.2.4)
87
- concurrent-ruby (1.2.2)
98
+ concurrent-ruby (1.2.3)
99
+ connection_pool (2.4.1)
88
100
  crass (1.0.6)
89
- date (3.3.3)
101
+ date (3.3.4)
102
+ drb (2.2.1)
90
103
  erubi (1.12.0)
91
- globalid (1.1.0)
92
- activesupport (>= 5.0)
93
- i18n (1.14.1)
104
+ globalid (1.2.1)
105
+ activesupport (>= 6.1)
106
+ i18n (1.14.4)
94
107
  concurrent-ruby (~> 1.0)
95
- json (2.6.3)
108
+ io-console (0.7.2)
109
+ irb (1.12.0)
110
+ rdoc
111
+ reline (>= 0.4.2)
112
+ json (2.7.1)
96
113
  language_server-protocol (3.17.0.3)
97
114
  lint_roller (1.1.0)
98
- loofah (2.21.3)
115
+ loofah (2.22.0)
99
116
  crass (~> 1.0.2)
100
117
  nokogiri (>= 1.12.0)
101
118
  mail (2.8.1)
@@ -103,114 +120,130 @@ GEM
103
120
  net-imap
104
121
  net-pop
105
122
  net-smtp
106
- marcel (1.0.2)
107
- method_source (1.0.0)
108
- mini_mime (1.1.2)
109
- minitest (5.18.1)
110
- net-imap (0.3.6)
123
+ marcel (1.0.4)
124
+ mini_mime (1.1.5)
125
+ minitest (5.22.3)
126
+ mutex_m (0.2.0)
127
+ net-imap (0.4.10)
111
128
  date
112
129
  net-protocol
113
130
  net-pop (0.1.2)
114
131
  net-protocol
115
- net-protocol (0.2.1)
132
+ net-protocol (0.2.2)
116
133
  timeout
117
- net-smtp (0.3.3)
134
+ net-smtp (0.5.0)
118
135
  net-protocol
119
- nio4r (2.5.9)
120
- nokogiri (1.15.3-x86_64-darwin)
136
+ nio4r (2.7.1)
137
+ nokogiri (1.16.3-x86_64-darwin)
121
138
  racc (~> 1.4)
122
- nokogiri (1.15.3-x86_64-linux)
139
+ nokogiri (1.16.3-x86_64-linux)
123
140
  racc (~> 1.4)
124
- parallel (1.23.0)
125
- parser (3.2.2.3)
141
+ parallel (1.24.0)
142
+ parser (3.3.0.5)
126
143
  ast (~> 2.4.1)
127
144
  racc
128
- puma (6.3.0)
145
+ psych (5.1.2)
146
+ stringio
147
+ puma (6.4.2)
129
148
  nio4r (~> 2.0)
130
- racc (1.7.1)
131
- rack (2.2.7)
149
+ racc (1.7.3)
150
+ rack (3.0.10)
151
+ rack-session (2.0.0)
152
+ rack (>= 3.0.0)
132
153
  rack-test (2.1.0)
133
154
  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)
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)
146
170
  bundler (>= 1.15.0)
147
- railties (= 7.0.6)
148
- rails-dom-testing (2.1.1)
171
+ railties (= 7.1.3.2)
172
+ rails-dom-testing (2.2.0)
149
173
  activesupport (>= 5.0.0)
150
174
  minitest
151
175
  nokogiri (>= 1.6)
152
176
  rails-html-sanitizer (1.6.0)
153
177
  loofah (~> 2.21)
154
178
  nokogiri (~> 1.14)
155
- railties (7.0.6)
156
- actionpack (= 7.0.6)
157
- activesupport (= 7.0.6)
158
- method_source
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)
159
184
  rake (>= 12.2)
160
- thor (~> 1.0)
161
- zeitwerk (~> 2.5)
185
+ thor (~> 1.0, >= 1.2.2)
186
+ zeitwerk (~> 2.6)
162
187
  rainbow (3.1.1)
163
- rake (13.0.6)
164
- regexp_parser (2.8.1)
165
- rexml (3.2.5)
166
- rubocop (1.52.1)
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)
194
+ rexml (3.2.6)
195
+ rubocop (1.62.1)
167
196
  json (~> 2.3)
197
+ language_server-protocol (>= 3.17.0)
168
198
  parallel (~> 1.10)
169
- parser (>= 3.2.2.3)
199
+ parser (>= 3.3.0.2)
170
200
  rainbow (>= 2.2.2, < 4.0)
171
201
  regexp_parser (>= 1.8, < 3.0)
172
202
  rexml (>= 3.2.5, < 4.0)
173
- rubocop-ast (>= 1.28.0, < 2.0)
203
+ rubocop-ast (>= 1.31.1, < 2.0)
174
204
  ruby-progressbar (~> 1.7)
175
205
  unicode-display_width (>= 2.4.0, < 3.0)
176
- rubocop-ast (1.29.0)
177
- parser (>= 3.2.1.0)
178
- rubocop-performance (1.18.0)
179
- rubocop (>= 1.7.0, < 2.0)
180
- rubocop-ast (>= 0.4.0)
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)
181
211
  ruby-progressbar (1.13.0)
182
- sqlite3 (1.6.3-x86_64-darwin)
183
- sqlite3 (1.6.3-x86_64-linux)
184
- standard (1.30.1)
212
+ sqlite3 (1.7.3-x86_64-darwin)
213
+ sqlite3 (1.7.3-x86_64-linux)
214
+ standard (1.35.1)
185
215
  language_server-protocol (~> 3.17.0.2)
186
216
  lint_roller (~> 1.0)
187
- rubocop (~> 1.52.0)
217
+ rubocop (~> 1.62.0)
188
218
  standard-custom (~> 1.0.0)
189
- standard-performance (~> 1.1.0)
219
+ standard-performance (~> 1.3)
190
220
  standard-custom (1.0.2)
191
221
  lint_roller (~> 1.0)
192
222
  rubocop (~> 1.50)
193
- standard-performance (1.1.1)
223
+ standard-performance (1.3.1)
194
224
  lint_roller (~> 1.1)
195
- rubocop-performance (~> 1.18.0)
196
- thor (1.2.2)
197
- timeout (0.4.0)
225
+ rubocop-performance (~> 1.20.2)
226
+ stringio (3.1.0)
227
+ thor (1.3.1)
228
+ timeout (0.4.1)
198
229
  tzinfo (2.0.6)
199
230
  concurrent-ruby (~> 1.0)
200
- unicode-display_width (2.4.2)
201
- web-console (4.2.0)
231
+ unicode-display_width (2.5.0)
232
+ web-console (4.2.1)
202
233
  actionview (>= 6.0.0)
203
234
  activemodel (>= 6.0.0)
204
235
  bindex (>= 0.4.0)
205
236
  railties (>= 6.0.0)
206
- websocket-driver (0.7.5)
237
+ webrick (1.8.1)
238
+ websocket-driver (0.7.6)
207
239
  websocket-extensions (>= 0.1.0)
208
240
  websocket-extensions (0.1.5)
209
- zeitwerk (2.6.8)
241
+ zeitwerk (2.6.13)
210
242
 
211
243
  PLATFORMS
212
244
  x86_64-darwin-20
213
245
  x86_64-darwin-22
246
+ x86_64-darwin-23
214
247
  x86_64-linux
215
248
 
216
249
  DEPENDENCIES
@@ -222,4 +255,4 @@ DEPENDENCIES
222
255
  web-console (~> 4.2)
223
256
 
224
257
  BUNDLED WITH
225
- 2.4.16
258
+ 2.5.7
data/README.md CHANGED
@@ -22,7 +22,7 @@ Installation
22
22
 
23
23
  Just add this into your Gemfile followed by a bundle install:
24
24
  ```ruby
25
- gem "simple_calendar", "~> 2.4"
25
+ gem "simple_calendar"
26
26
  ```
27
27
 
28
28
  If you're using Bootstrap, the calendar should already have a border and
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/pay/engine', __dir__)
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.