act_with_flags 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +9 -4
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +13 -9
- data/Gemfile +2 -1
- data/Gemfile.lock +169 -125
- data/MIT-LICENSE +1 -3
- data/README.md +5 -2
- data/act_with_flags.gemspec +0 -1
- data/gemfiles/rails_7.1.gemfile +2 -1
- data/gemfiles/{rails_6.1.gemfile → rails_7.2.gemfile} +3 -2
- data/lib/act_with_flags/version.rb +2 -1
- data/test/coding_one_test.rb +2 -2
- data/test/internal/app/models/application_record.rb +1 -1
- data/test/test_helper.rb +0 -1
- metadata +7 -22
- data/gemfiles/rails_7.0.gemfile +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 815b31d08e375476419a13814ec45a942bca06ada69001ead4d93b4fb798a6b4
|
4
|
+
data.tar.gz: 1392ca866e08c8798be77bb00e9e8972ccc62f61d720c1b33c1df7d17e0d096a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a9aa9dde47c3d564e41b66f0a18389821f9fba534a633ecea46adb980632bda5c5ce7ecc59e54df6474c4283706f8a59c0b45a71423f1607f5d3088aa256609
|
7
|
+
data.tar.gz: 26ac3ba8d0b88160967bcb1f1b2787d4d10c3b1fa575b9e57a0bd9d9a0082519a3aa574806ab30bfd715f544f1eca8dd222c6e60bd135e41e64852e4419a932d
|
data/.github/workflows/rake.yml
CHANGED
@@ -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@
|
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
|
+
rails-7.2
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3.5
|
data/Appraisals
CHANGED
@@ -1,19 +1,23 @@
|
|
1
|
-
appraise "rails-7.
|
2
|
-
gem "rails", "~> 7.
|
1
|
+
appraise "rails-7.2" do
|
2
|
+
gem "rails", "~> 7.2"
|
3
3
|
end
|
4
4
|
|
5
|
-
appraise "rails-7.
|
6
|
-
gem "rails", "~> 7.
|
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
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.
|
10
|
-
actionpack (= 7.1.
|
11
|
-
activesupport (= 7.1.
|
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.
|
16
|
-
actionpack (= 7.1.
|
17
|
-
activejob (= 7.1.
|
18
|
-
activerecord (= 7.1.
|
19
|
-
activestorage (= 7.1.
|
20
|
-
activesupport (= 7.1.
|
21
|
-
mail (>= 2.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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.
|
36
|
-
actionview (= 7.1.
|
37
|
-
activesupport (= 7.1.
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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.
|
53
|
-
activesupport (= 7.1.
|
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.
|
59
|
-
activesupport (= 7.1.
|
53
|
+
activejob (7.2.1.1)
|
54
|
+
activesupport (= 7.2.1.1)
|
60
55
|
globalid (>= 0.3.6)
|
61
|
-
activemodel (7.1.
|
62
|
-
activesupport (= 7.1.
|
63
|
-
activerecord (7.1.
|
64
|
-
activemodel (= 7.1.
|
65
|
-
activesupport (= 7.1.
|
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.
|
68
|
-
actionpack (= 7.1.
|
69
|
-
activejob (= 7.1.
|
70
|
-
activerecord (= 7.1.
|
71
|
-
activesupport (= 7.1.
|
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.
|
68
|
+
activesupport (7.2.1.1)
|
74
69
|
base64
|
75
70
|
bigdecimal
|
76
|
-
concurrent-ruby (~> 1.0, >= 1.
|
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
|
-
|
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.
|
90
|
-
bigdecimal (3.1.
|
91
|
-
builder (3.
|
92
|
-
combustion (1.
|
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.
|
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.
|
101
|
-
drb (2.2.
|
102
|
-
|
103
|
-
|
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.
|
114
|
+
i18n (1.14.6)
|
107
115
|
concurrent-ruby (~> 1.0)
|
108
|
-
io-console (0.
|
109
|
-
irb (1.
|
110
|
-
rdoc
|
111
|
-
reline (>= 0.
|
112
|
-
json (2.7.
|
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.
|
135
|
+
marcel (1.0.4)
|
136
|
+
micro-optparse (1.2.1)
|
124
137
|
mini_mime (1.1.5)
|
125
|
-
minitest (5.
|
126
|
-
|
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.
|
146
|
+
net-smtp (0.5.0)
|
135
147
|
net-protocol
|
136
|
-
nio4r (2.7.
|
137
|
-
nokogiri (1.
|
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
|
-
|
140
|
-
|
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.
|
165
|
+
psych (5.1.2)
|
145
166
|
stringio
|
146
|
-
racc (1.
|
147
|
-
rack (3.
|
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.
|
156
|
-
actioncable (= 7.1.
|
157
|
-
actionmailbox (= 7.1.
|
158
|
-
actionmailer (= 7.1.
|
159
|
-
actionpack (= 7.1.
|
160
|
-
actiontext (= 7.1.
|
161
|
-
actionview (= 7.1.
|
162
|
-
activejob (= 7.1.
|
163
|
-
activemodel (= 7.1.
|
164
|
-
activerecord (= 7.1.
|
165
|
-
activestorage (= 7.1.
|
166
|
-
activesupport (= 7.1.
|
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.
|
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.
|
177
|
-
actionpack (= 7.1.
|
178
|
-
activesupport (= 7.1.
|
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
|
186
|
-
|
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.
|
189
|
-
reline (0.
|
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.
|
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.
|
220
|
+
parser (>= 3.3.0.2)
|
198
221
|
rainbow (>= 2.2.2, < 4.0)
|
199
|
-
regexp_parser (>=
|
200
|
-
|
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.
|
205
|
-
parser (>= 3.
|
206
|
-
rubocop-performance (1.
|
207
|
-
rubocop (>= 1.
|
208
|
-
rubocop-ast (>=
|
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
|
-
|
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.
|
237
|
+
simplecov-html (0.13.1)
|
216
238
|
simplecov_json_formatter (0.1.4)
|
217
|
-
sqlite3 (1.
|
218
|
-
|
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.
|
252
|
+
rubocop (~> 1.66.0)
|
222
253
|
standard-custom (~> 1.0.0)
|
223
|
-
standard-performance (~> 1.
|
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.
|
258
|
+
standard-performance (1.5.0)
|
228
259
|
lint_roller (~> 1.1)
|
229
|
-
rubocop-performance (~> 1.
|
230
|
-
stringio (3.1.
|
231
|
-
thor (1.3.
|
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.
|
236
|
-
|
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.
|
272
|
+
zeitwerk (2.7.1)
|
241
273
|
|
242
274
|
PLATFORMS
|
243
|
-
|
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.
|
303
|
+
2.5.22
|
data/MIT-LICENSE
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
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.
|
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-
|
130
|
+
Copyright (c) 2019-2024 Dittmar Krall (www.matiq.com),
|
128
131
|
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/act_with_flags.gemspec
CHANGED
data/gemfiles/rails_7.1.gemfile
CHANGED
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "rails", "~>
|
5
|
+
gem "rails", "~> 7.2"
|
6
6
|
|
7
7
|
group :test do
|
8
8
|
gem "benchmark-ips"
|
9
|
-
gem "
|
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
|
data/test/coding_one_test.rb
CHANGED
@@ -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
|
data/test/test_helper.rb
CHANGED
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.
|
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:
|
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.
|
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: []
|
data/gemfiles/rails_7.0.gemfile
DELETED
@@ -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: "../"
|