act_with_flags 3.1.5 → 3.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22069f8b924b4cd321f0a8ca787ba6eaa661257b8ec9c8a3859f3a848b767335
4
- data.tar.gz: d9fbc47cef0cb86f8782e13f1226df772de341002232b3f001f3eb2ffee6ba51
3
+ metadata.gz: 815b31d08e375476419a13814ec45a942bca06ada69001ead4d93b4fb798a6b4
4
+ data.tar.gz: 1392ca866e08c8798be77bb00e9e8972ccc62f61d720c1b33c1df7d17e0d096a
5
5
  SHA512:
6
- metadata.gz: e29284f509644be72e617102d29e0c2343b062038a4fa0424531f6207d05bc55ece8b2b9a15dc57763a8d32feeacf0199d8f914caa2edb96c1d9487c293ab983
7
- data.tar.gz: a08900cc6e946ef122a27d07bd51a7c12c8294cc7e4c8b13911ec7b5fe8f9ec9f49c4e4d000f753e8ee803fda5bcb196ea9dda631699947bbe02652be16e53fd
6
+ metadata.gz: 2a9aa9dde47c3d564e41b66f0a18389821f9fba534a633ecea46adb980632bda5c5ce7ecc59e54df6474c4283706f8a59c0b45a71423f1607f5d3088aa256609
7
+ data.tar.gz: 26ac3ba8d0b88160967bcb1f1b2787d4d10c3b1fa575b9e57a0bd9d9a0082519a3aa574806ab30bfd715f544f1eca8dd222c6e60bd135e41e64852e4419a932d
@@ -8,20 +8,25 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby_version: [3.2]
11
+ ruby_version: ["3.2", "3.3"]
12
12
  gemfile:
13
13
  - Gemfile
14
+ - gemfiles/Gemfile.rails-7.2
14
15
  - gemfiles/Gemfile.rails-7.1
15
- - gemfiles/Gemfile.rails-7.0
16
- - gemfiles/Gemfile.rails-6.1
17
16
  runs-on: ubuntu-latest
18
17
 
19
18
  steps:
20
- - uses: actions/checkout@v3
19
+ - uses: actions/checkout@v4
21
20
  - name: Set up Ruby
22
21
  uses: ruby/setup-ruby@v1
23
22
  with:
24
23
  ruby-version: ${{ matrix.ruby_version }}
25
24
  bundler-cache: true
25
+ - name: Bundle install
26
+ run: |
27
+ bundle config set frozen false
28
+ bundle config path /home/runner/bundle
29
+ bundle install
30
+ bundle update
26
31
  - name: Build and test with Rake
27
32
  run: bundle exec rake
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.1
1
+ rails-7.2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.2.2
1
+ ruby-3.3.5
data/Appraisals CHANGED
@@ -1,19 +1,23 @@
1
- appraise "rails-7.1" do
2
- gem "rails", "~> 7.1"
1
+ appraise "rails-7.2" do
2
+ gem "rails", "~> 7.2"
3
3
  end
4
4
 
5
- appraise "rails-7.0" do
6
- gem "rails", "~> 7.0"
7
- end
8
-
9
- appraise "rails-6.1" do
10
- gem "rails", "~> 6.0"
5
+ appraise "rails-7.1" do
6
+ gem "rails", "~> 7.1"
11
7
  end
12
8
 
9
+ # appraise "rails-7.0" do
10
+ # gem "rails", "~> 7.0"
11
+ # end
12
+ #
13
+ # appraise "rails-6.1" do
14
+ # gem "rails", "~> 6.0"
15
+ # end
16
+ #
13
17
  # appraise "rails-6.0" do
14
18
  # gem "rails", "~> 6.0.0"
15
19
  # end
16
-
20
+ #
17
21
  # appraise 'rails-5.2' do
18
22
  # gem 'rails', '~> 5.2.0'
19
23
  # end
data/Gemfile CHANGED
@@ -5,8 +5,9 @@ gem "rails"
5
5
 
6
6
  group :test do
7
7
  gem "benchmark-ips"
8
- gem "observr"
8
+ gem "cuco"
9
9
  gem "ricecream"
10
+ gem "sqlite3"
10
11
  gem "simplecov", require: false
11
12
  gem "standard", require: false
12
13
  end
data/Gemfile.lock CHANGED
@@ -6,112 +6,124 @@ PATH
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.1.2)
10
- actionpack (= 7.1.2)
11
- activesupport (= 7.1.2)
9
+ actioncable (7.2.1.1)
10
+ actionpack (= 7.2.1.1)
11
+ activesupport (= 7.2.1.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
14
  zeitwerk (~> 2.6)
15
- actionmailbox (7.1.2)
16
- actionpack (= 7.1.2)
17
- activejob (= 7.1.2)
18
- activerecord (= 7.1.2)
19
- activestorage (= 7.1.2)
20
- activesupport (= 7.1.2)
21
- mail (>= 2.7.1)
22
- net-imap
23
- net-pop
24
- net-smtp
25
- actionmailer (7.1.2)
26
- actionpack (= 7.1.2)
27
- actionview (= 7.1.2)
28
- activejob (= 7.1.2)
29
- activesupport (= 7.1.2)
30
- mail (~> 2.5, >= 2.5.4)
31
- net-imap
32
- net-pop
33
- net-smtp
15
+ actionmailbox (7.2.1.1)
16
+ actionpack (= 7.2.1.1)
17
+ activejob (= 7.2.1.1)
18
+ activerecord (= 7.2.1.1)
19
+ activestorage (= 7.2.1.1)
20
+ activesupport (= 7.2.1.1)
21
+ mail (>= 2.8.0)
22
+ actionmailer (7.2.1.1)
23
+ actionpack (= 7.2.1.1)
24
+ actionview (= 7.2.1.1)
25
+ activejob (= 7.2.1.1)
26
+ activesupport (= 7.2.1.1)
27
+ mail (>= 2.8.0)
34
28
  rails-dom-testing (~> 2.2)
35
- actionpack (7.1.2)
36
- actionview (= 7.1.2)
37
- activesupport (= 7.1.2)
29
+ actionpack (7.2.1.1)
30
+ actionview (= 7.2.1.1)
31
+ activesupport (= 7.2.1.1)
38
32
  nokogiri (>= 1.8.5)
39
33
  racc
40
- rack (>= 2.2.4)
34
+ rack (>= 2.2.4, < 3.2)
41
35
  rack-session (>= 1.0.1)
42
36
  rack-test (>= 0.6.3)
43
37
  rails-dom-testing (~> 2.2)
44
38
  rails-html-sanitizer (~> 1.6)
45
- actiontext (7.1.2)
46
- actionpack (= 7.1.2)
47
- activerecord (= 7.1.2)
48
- activestorage (= 7.1.2)
49
- activesupport (= 7.1.2)
39
+ useragent (~> 0.16)
40
+ actiontext (7.2.1.1)
41
+ actionpack (= 7.2.1.1)
42
+ activerecord (= 7.2.1.1)
43
+ activestorage (= 7.2.1.1)
44
+ activesupport (= 7.2.1.1)
50
45
  globalid (>= 0.6.0)
51
46
  nokogiri (>= 1.8.5)
52
- actionview (7.1.2)
53
- activesupport (= 7.1.2)
47
+ actionview (7.2.1.1)
48
+ activesupport (= 7.2.1.1)
54
49
  builder (~> 3.1)
55
50
  erubi (~> 1.11)
56
51
  rails-dom-testing (~> 2.2)
57
52
  rails-html-sanitizer (~> 1.6)
58
- activejob (7.1.2)
59
- activesupport (= 7.1.2)
53
+ activejob (7.2.1.1)
54
+ activesupport (= 7.2.1.1)
60
55
  globalid (>= 0.3.6)
61
- activemodel (7.1.2)
62
- activesupport (= 7.1.2)
63
- activerecord (7.1.2)
64
- activemodel (= 7.1.2)
65
- activesupport (= 7.1.2)
56
+ activemodel (7.2.1.1)
57
+ activesupport (= 7.2.1.1)
58
+ activerecord (7.2.1.1)
59
+ activemodel (= 7.2.1.1)
60
+ activesupport (= 7.2.1.1)
66
61
  timeout (>= 0.4.0)
67
- activestorage (7.1.2)
68
- actionpack (= 7.1.2)
69
- activejob (= 7.1.2)
70
- activerecord (= 7.1.2)
71
- activesupport (= 7.1.2)
62
+ activestorage (7.2.1.1)
63
+ actionpack (= 7.2.1.1)
64
+ activejob (= 7.2.1.1)
65
+ activerecord (= 7.2.1.1)
66
+ activesupport (= 7.2.1.1)
72
67
  marcel (~> 1.0)
73
- activesupport (7.1.2)
68
+ activesupport (7.2.1.1)
74
69
  base64
75
70
  bigdecimal
76
- concurrent-ruby (~> 1.0, >= 1.0.2)
71
+ concurrent-ruby (~> 1.0, >= 1.3.1)
77
72
  connection_pool (>= 2.2.5)
78
73
  drb
79
74
  i18n (>= 1.6, < 2)
75
+ logger (>= 1.4.2)
80
76
  minitest (>= 5.1)
81
- mutex_m
82
- tzinfo (~> 2.0)
77
+ securerandom (>= 0.3)
78
+ tzinfo (~> 2.0, >= 2.0.5)
83
79
  appraisal (2.5.0)
84
80
  bundler
85
81
  rake
86
82
  thor (>= 0.14.0)
87
83
  ast (2.4.2)
88
84
  base64 (0.2.0)
89
- benchmark-ips (2.12.0)
90
- bigdecimal (3.1.4)
91
- builder (3.2.4)
92
- combustion (1.3.7)
85
+ benchmark-ips (2.14.0)
86
+ bigdecimal (3.1.8)
87
+ builder (3.3.0)
88
+ combustion (1.5.0)
93
89
  activesupport (>= 3.0.0)
94
90
  railties (>= 3.0.0)
95
91
  thor (>= 0.14.6)
96
- concurrent-ruby (1.2.2)
92
+ concurrent-ruby (1.3.4)
97
93
  connection_pool (2.4.1)
98
94
  crass (1.0.6)
95
+ cuco (0.1.2)
96
+ listen
97
+ micro-optparse
99
98
  date (3.3.4)
100
- docile (1.4.0)
101
- drb (2.2.0)
102
- ruby2_keywords
103
- erubi (1.12.0)
99
+ docile (1.4.1)
100
+ drb (2.2.1)
101
+ erubi (1.13.0)
102
+ ffi (1.17.0-aarch64-linux-gnu)
103
+ ffi (1.17.0-aarch64-linux-musl)
104
+ ffi (1.17.0-arm-linux-gnu)
105
+ ffi (1.17.0-arm-linux-musl)
106
+ ffi (1.17.0-arm64-darwin)
107
+ ffi (1.17.0-x86-linux-gnu)
108
+ ffi (1.17.0-x86-linux-musl)
109
+ ffi (1.17.0-x86_64-darwin)
110
+ ffi (1.17.0-x86_64-linux-gnu)
111
+ ffi (1.17.0-x86_64-linux-musl)
104
112
  globalid (1.2.1)
105
113
  activesupport (>= 6.1)
106
- i18n (1.14.1)
114
+ i18n (1.14.6)
107
115
  concurrent-ruby (~> 1.0)
108
- io-console (0.6.0)
109
- irb (1.10.1)
110
- rdoc
111
- reline (>= 0.3.8)
112
- json (2.7.1)
116
+ io-console (0.7.2)
117
+ irb (1.14.1)
118
+ rdoc (>= 4.0.0)
119
+ reline (>= 0.4.2)
120
+ json (2.7.2)
113
121
  language_server-protocol (3.17.0.3)
114
122
  lint_roller (1.1.0)
123
+ listen (3.9.0)
124
+ rb-fsevent (~> 0.10, >= 0.10.3)
125
+ rb-inotify (~> 0.9, >= 0.9.10)
126
+ logger (1.6.1)
115
127
  loofah (2.22.0)
116
128
  crass (~> 1.0.2)
117
129
  nokogiri (>= 1.12.0)
@@ -120,31 +132,40 @@ GEM
120
132
  net-imap
121
133
  net-pop
122
134
  net-smtp
123
- marcel (1.0.2)
135
+ marcel (1.0.4)
136
+ micro-optparse (1.2.1)
124
137
  mini_mime (1.1.5)
125
- minitest (5.20.0)
126
- mutex_m (0.2.0)
127
- net-imap (0.4.7)
138
+ minitest (5.25.1)
139
+ net-imap (0.5.0)
128
140
  date
129
141
  net-protocol
130
142
  net-pop (0.1.2)
131
143
  net-protocol
132
144
  net-protocol (0.2.2)
133
145
  timeout
134
- net-smtp (0.4.0)
146
+ net-smtp (0.5.0)
135
147
  net-protocol
136
- nio4r (2.7.0)
137
- nokogiri (1.15.5-x86_64-linux)
148
+ nio4r (2.7.3)
149
+ nokogiri (1.16.7-aarch64-linux)
150
+ racc (~> 1.4)
151
+ nokogiri (1.16.7-arm-linux)
152
+ racc (~> 1.4)
153
+ nokogiri (1.16.7-arm64-darwin)
154
+ racc (~> 1.4)
155
+ nokogiri (1.16.7-x86-linux)
156
+ racc (~> 1.4)
157
+ nokogiri (1.16.7-x86_64-darwin)
158
+ racc (~> 1.4)
159
+ nokogiri (1.16.7-x86_64-linux)
138
160
  racc (~> 1.4)
139
- observr (1.0.5)
140
- parallel (1.23.0)
141
- parser (3.2.2.4)
161
+ parallel (1.26.3)
162
+ parser (3.3.5.0)
142
163
  ast (~> 2.4.1)
143
164
  racc
144
- psych (5.1.1.1)
165
+ psych (5.1.2)
145
166
  stringio
146
- racc (1.7.3)
147
- rack (3.0.8)
167
+ racc (1.8.1)
168
+ rack (3.1.8)
148
169
  rack-session (2.0.0)
149
170
  rack (>= 3.0.0)
150
171
  rack-test (2.1.0)
@@ -152,20 +173,20 @@ GEM
152
173
  rackup (2.1.0)
153
174
  rack (>= 3)
154
175
  webrick (~> 1.8)
155
- rails (7.1.2)
156
- actioncable (= 7.1.2)
157
- actionmailbox (= 7.1.2)
158
- actionmailer (= 7.1.2)
159
- actionpack (= 7.1.2)
160
- actiontext (= 7.1.2)
161
- actionview (= 7.1.2)
162
- activejob (= 7.1.2)
163
- activemodel (= 7.1.2)
164
- activerecord (= 7.1.2)
165
- activestorage (= 7.1.2)
166
- activesupport (= 7.1.2)
176
+ rails (7.2.1.1)
177
+ actioncable (= 7.2.1.1)
178
+ actionmailbox (= 7.2.1.1)
179
+ actionmailer (= 7.2.1.1)
180
+ actionpack (= 7.2.1.1)
181
+ actiontext (= 7.2.1.1)
182
+ actionview (= 7.2.1.1)
183
+ activejob (= 7.2.1.1)
184
+ activemodel (= 7.2.1.1)
185
+ activerecord (= 7.2.1.1)
186
+ activestorage (= 7.2.1.1)
187
+ activesupport (= 7.2.1.1)
167
188
  bundler (>= 1.15.0)
168
- railties (= 7.1.2)
189
+ railties (= 7.2.1.1)
169
190
  rails-dom-testing (2.2.0)
170
191
  activesupport (>= 5.0.0)
171
192
  minitest
@@ -173,82 +194,105 @@ GEM
173
194
  rails-html-sanitizer (1.6.0)
174
195
  loofah (~> 2.21)
175
196
  nokogiri (~> 1.14)
176
- railties (7.1.2)
177
- actionpack (= 7.1.2)
178
- activesupport (= 7.1.2)
179
- irb
197
+ railties (7.2.1.1)
198
+ actionpack (= 7.2.1.1)
199
+ activesupport (= 7.2.1.1)
200
+ irb (~> 1.13)
180
201
  rackup (>= 1.0.0)
181
202
  rake (>= 12.2)
182
203
  thor (~> 1.0, >= 1.2.2)
183
204
  zeitwerk (~> 2.6)
184
205
  rainbow (3.1.1)
185
- rake (13.1.0)
186
- rdoc (6.6.1)
206
+ rake (13.2.1)
207
+ rb-fsevent (0.11.2)
208
+ rb-inotify (0.11.1)
209
+ ffi (~> 1.0)
210
+ rdoc (6.7.0)
187
211
  psych (>= 4.0.0)
188
- regexp_parser (2.8.3)
189
- reline (0.4.1)
212
+ regexp_parser (2.9.2)
213
+ reline (0.5.10)
190
214
  io-console (~> 0.5)
191
- rexml (3.2.6)
192
215
  ricecream (0.2.1)
193
- rubocop (1.57.2)
216
+ rubocop (1.66.1)
194
217
  json (~> 2.3)
195
218
  language_server-protocol (>= 3.17.0)
196
219
  parallel (~> 1.10)
197
- parser (>= 3.2.2.4)
220
+ parser (>= 3.3.0.2)
198
221
  rainbow (>= 2.2.2, < 4.0)
199
- regexp_parser (>= 1.8, < 3.0)
200
- rexml (>= 3.2.5, < 4.0)
201
- rubocop-ast (>= 1.28.1, < 2.0)
222
+ regexp_parser (>= 2.4, < 3.0)
223
+ rubocop-ast (>= 1.32.2, < 2.0)
202
224
  ruby-progressbar (~> 1.7)
203
225
  unicode-display_width (>= 2.4.0, < 3.0)
204
- rubocop-ast (1.30.0)
205
- parser (>= 3.2.1.0)
206
- rubocop-performance (1.19.1)
207
- rubocop (>= 1.7.0, < 2.0)
208
- rubocop-ast (>= 0.4.0)
226
+ rubocop-ast (1.32.3)
227
+ parser (>= 3.3.1.0)
228
+ rubocop-performance (1.22.1)
229
+ rubocop (>= 1.48.1, < 2.0)
230
+ rubocop-ast (>= 1.31.1, < 2.0)
209
231
  ruby-progressbar (1.13.0)
210
- ruby2_keywords (0.0.5)
232
+ securerandom (0.3.1)
211
233
  simplecov (0.22.0)
212
234
  docile (~> 1.1)
213
235
  simplecov-html (~> 0.11)
214
236
  simplecov_json_formatter (~> 0.1)
215
- simplecov-html (0.12.3)
237
+ simplecov-html (0.13.1)
216
238
  simplecov_json_formatter (0.1.4)
217
- sqlite3 (1.6.9-x86_64-linux)
218
- standard (1.32.1)
239
+ sqlite3 (2.1.0-aarch64-linux-gnu)
240
+ sqlite3 (2.1.0-aarch64-linux-musl)
241
+ sqlite3 (2.1.0-arm-linux-gnu)
242
+ sqlite3 (2.1.0-arm-linux-musl)
243
+ sqlite3 (2.1.0-arm64-darwin)
244
+ sqlite3 (2.1.0-x86-linux-gnu)
245
+ sqlite3 (2.1.0-x86-linux-musl)
246
+ sqlite3 (2.1.0-x86_64-darwin)
247
+ sqlite3 (2.1.0-x86_64-linux-gnu)
248
+ sqlite3 (2.1.0-x86_64-linux-musl)
249
+ standard (1.41.1)
219
250
  language_server-protocol (~> 3.17.0.2)
220
251
  lint_roller (~> 1.0)
221
- rubocop (~> 1.57.2)
252
+ rubocop (~> 1.66.0)
222
253
  standard-custom (~> 1.0.0)
223
- standard-performance (~> 1.2)
254
+ standard-performance (~> 1.5)
224
255
  standard-custom (1.0.2)
225
256
  lint_roller (~> 1.0)
226
257
  rubocop (~> 1.50)
227
- standard-performance (1.2.1)
258
+ standard-performance (1.5.0)
228
259
  lint_roller (~> 1.1)
229
- rubocop-performance (~> 1.19.1)
230
- stringio (3.1.0)
231
- thor (1.3.0)
260
+ rubocop-performance (~> 1.22.0)
261
+ stringio (3.1.1)
262
+ thor (1.3.2)
232
263
  timeout (0.4.1)
233
264
  tzinfo (2.0.6)
234
265
  concurrent-ruby (~> 1.0)
235
- unicode-display_width (2.5.0)
236
- webrick (1.8.1)
266
+ unicode-display_width (2.6.0)
267
+ useragent (0.16.10)
268
+ webrick (1.8.2)
237
269
  websocket-driver (0.7.6)
238
270
  websocket-extensions (>= 0.1.0)
239
271
  websocket-extensions (0.1.5)
240
- zeitwerk (2.6.12)
272
+ zeitwerk (2.7.1)
241
273
 
242
274
  PLATFORMS
243
- x86_64-linux
275
+ aarch64-linux
276
+ aarch64-linux-gnu
277
+ aarch64-linux-musl
278
+ arm-linux
279
+ arm-linux-gnu
280
+ arm-linux-musl
281
+ arm64-darwin
282
+ x86-linux
283
+ x86-linux-gnu
284
+ x86-linux-musl
285
+ x86_64-darwin
286
+ x86_64-linux-gnu
287
+ x86_64-linux-musl
244
288
 
245
289
  DEPENDENCIES
246
290
  act_with_flags!
247
291
  appraisal
248
292
  benchmark-ips
249
293
  combustion
294
+ cuco
250
295
  minitest
251
- observr
252
296
  rails
253
297
  ricecream
254
298
  simplecov
@@ -256,4 +300,4 @@ DEPENDENCIES
256
300
  standard
257
301
 
258
302
  BUNDLED WITH
259
- 2.4.22
303
+ 2.5.22
data/MIT-LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2019-2023 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2019-2024 Dittmar Krall (www.matiq.com)
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # ActWithFlags
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/act_with_flags.png)](http://badge.fury.io/rb/act_with_flags)
3
+ [![Gem Version](https://badge.fury.io/rb/act_with_flags.svg)](http://badge.fury.io/rb/act_with_flags)
4
4
  [![GEM Downloads](https://img.shields.io/gem/dt/act_with_flags?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/act_with_flags)
5
+ [![rake](https://github.com/matique/act_with_flags/actions/workflows/rake.yml/badge.svg)](https://github.com/matique/act_with_flags/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)
5
8
 
6
9
  A Rails gem required by key.matiq.
7
10
 
@@ -124,5 +127,5 @@ Further reading:
124
127
 
125
128
  ## Miscellaneous
126
129
 
127
- Copyright (c) 2019-2023 Dittmar Krall (www.matiq.com),
130
+ Copyright (c) 2019-2024 Dittmar Krall (www.matiq.com),
128
131
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -21,5 +21,4 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency "appraisal", ">= 0"
22
22
  s.add_development_dependency "combustion", ">= 0"
23
23
  s.add_development_dependency "minitest", ">= 0"
24
- s.add_development_dependency "sqlite3", ">= 0"
25
24
  end
@@ -6,8 +6,9 @@ gem "rails", "~> 7.1"
6
6
 
7
7
  group :test do
8
8
  gem "benchmark-ips"
9
- gem "observr"
9
+ gem "cuco"
10
10
  gem "ricecream"
11
+ gem "sqlite3"
11
12
  gem "simplecov", require: false
12
13
  gem "standard", require: false
13
14
  end
@@ -2,12 +2,13 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 6.0"
5
+ gem "rails", "~> 7.2"
6
6
 
7
7
  group :test do
8
8
  gem "benchmark-ips"
9
- gem "observr"
9
+ gem "cuco"
10
10
  gem "ricecream"
11
+ gem "sqlite3"
11
12
  gem "simplecov", require: false
12
13
  gem "standard", require: false
13
14
  end
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActWithFlags
4
- VERSION = "3.1.5" # 2023-12-11
4
+ VERSION = "3.1.6" # 2024-10-20
5
+ # VERSION = "3.1.5" # 2023-12-11
5
6
  # VERSION = "3.1.3" # 2023-04-18
6
7
  # VERSION = "3.1.2" # 2022-12-12
7
8
  # VERSION = "3.1.1" # 2022-09-01
@@ -20,7 +20,7 @@ describe "Internal One Flag" do
20
20
  it "checks definition of methods" do
21
21
  msg = "method '#{flag}' not defined"
22
22
  assert order.respond_to?(flag.to_s), msg
23
- assert order.respond_to?("#{flag}?"), msg
24
- assert order.respond_to?("#{flag}="), msg
23
+ assert order.respond_to?(:"#{flag}?"), msg
24
+ assert order.respond_to?(:"#{flag}="), msg
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  class ApplicationRecord < ActiveRecord::Base
2
- self.abstract_class = true
2
+ primary_abstract_class
3
3
  end
data/test/test_helper.rb CHANGED
@@ -12,7 +12,6 @@ Combustion.initialize! :active_record
12
12
  require "rails/test_help"
13
13
  require "minitest/autorun"
14
14
  require "minitest/benchmark"
15
- # require 'capybara/rails'
16
15
 
17
16
  def reset_order
18
17
  Order.act_with_flags&.reset
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: act_with_flags
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
4
+ version: 3.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2024-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: sqlite3
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  description: Handles flags/booleans in a Rails model instance
70
56
  email:
71
57
  - dittmar.krall@matiq.com
@@ -84,9 +70,8 @@ files:
84
70
  - README.md
85
71
  - Rakefile
86
72
  - act_with_flags.gemspec
87
- - gemfiles/rails_6.1.gemfile
88
- - gemfiles/rails_7.0.gemfile
89
73
  - gemfiles/rails_7.1.gemfile
74
+ - gemfiles/rails_7.2.gemfile
90
75
  - lib/act_with_flags.rb
91
76
  - lib/act_with_flags/admin.rb
92
77
  - lib/act_with_flags/clear.rb
@@ -133,7 +118,7 @@ licenses:
133
118
  - MIT
134
119
  metadata:
135
120
  source_code_uri: https://github.com/matique/act_with_flags
136
- post_install_message:
121
+ post_install_message:
137
122
  rdoc_options: []
138
123
  require_paths:
139
124
  - lib
@@ -148,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
133
  - !ruby/object:Gem::Version
149
134
  version: '0'
150
135
  requirements: []
151
- rubygems_version: 3.4.20
152
- signing_key:
136
+ rubygems_version: 3.5.20
137
+ signing_key:
153
138
  specification_version: 4
154
139
  summary: act_with_flags gem
155
140
  test_files: []
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 7.0"
6
-
7
- group :test do
8
- gem "benchmark-ips"
9
- gem "observr"
10
- gem "ricecream"
11
- gem "simplecov", require: false
12
- gem "standard", require: false
13
- end
14
-
15
- gemspec path: "../"