flag_shih_tzu 1.0.1 → 1.0.2

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: 472ac78bf1e59389c96c54bb827ec504985253709cd4b49a98d7e00bbf01d222
4
- data.tar.gz: ae64ae2304def0d3f2882b58722566672357b2f074699012bdaf375c502e041e
3
+ metadata.gz: 9eff6edcb8728019ada6dd76eee04f5ea30752dd39f5daf785e336475ef7cd2d
4
+ data.tar.gz: 19a9644b8013e2007409fc0583ce6c686b8a3e9a288d72b04256fd76addf6779
5
5
  SHA512:
6
- metadata.gz: 40ed5f195da9bf4b306b64ebbbf23c458b6da9583a4b1f2cc6958d7f92508b15af558f08bdcf1ffec9faaaf3554e534b618c314b671a15f698c3f18042ffb53f
7
- data.tar.gz: 013bc5634278e8c9dc9923cfd54216e465018fff49799502bb6d90e2f50d0fa70c6063ec021772039f088c2fab29e0a93503e29336bf8b02b71e88b61f85f56c
6
+ metadata.gz: 66a56950794f86372d41b4bf7425312024d3e7954f37cc327fde36ea5c84ba01fe7394de56b21aefa0897833356e88f60cb1cbb979319a51ce73596c162ce0a2
7
+ data.tar.gz: 19ff6bd795ccfd0c096ff9af83d7122b1f88c925abfb02b2f1ba76d72adf32e08a63f8c94ed656ca0bb332b362158b51ba3df6eeae1efbc90f3f492a78b64536
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,19 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.2] - 2026-06-14
34
+
35
+ - TAG: [v1.0.2][1.0.2t]
36
+ - COVERAGE: 90.75% -- 412/454 lines in 3 files
37
+ - BRANCH COVERAGE: 76.76% -- 142/185 branches in 3 files
38
+ - 27.78% documented
39
+
40
+ ### Changed
41
+
42
+ - Refreshed generated README/package metadata, copyright notices, template
43
+ helper files, documentation custom-domain metadata, CI workflow pins, and
44
+ development dependency floors from the latest `kettle-jem` template.
45
+
33
46
  ## [1.0.1] - 2026-06-05
34
47
 
35
48
  - TAG: [v1.0.1][1.0.1t]
@@ -310,7 +323,9 @@ Please file a bug if you notice a violation of semantic versioning.
310
323
 
311
324
  # Version 0.2.3 - last version maintained by XING AG
312
325
 
313
- [Unreleased]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.1...HEAD
326
+ [Unreleased]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.2...HEAD
327
+ [1.0.2]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.1...v1.0.2
328
+ [1.0.2t]: https://github.com/galtzo-floss/flag_shih_tzu/releases/tag/v1.0.2
314
329
  [1.0.1]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.0...v1.0.1
315
330
  [1.0.1t]: https://github.com/galtzo-floss/flag_shih_tzu/releases/tag/v1.0.1
316
331
  [1.0.0]: https://github.com/galtzo-floss/flag_shih_tzu/compare/baaff102ad48e6c5b4bfb3efb088cec82fa1ddb4...v1.0.0
data/LICENSE.md CHANGED
@@ -8,27 +8,20 @@ Choose the option that best fits your use case:
8
8
  ## Copyright Notice
9
9
 
10
10
  - Copyright (c) 2009 Alto
11
- - Copyright (c) 2009-2012 boosty
12
- - Copyright (c) 2009-2010 Daniel Jagszent
13
- - Copyright (c) 2009-2010 ladislav.martincik
14
- - Copyright (c) 2009 Martin Stannard
11
+ - Copyright (c) 2009-2011 boosty
12
+ - Copyright (c) 2009 ladislav.martincik
15
13
  - Copyright (c) 2009-2011 pboling
16
- - Copyright (c) 2009 Sebastian Roebke
17
- - Copyright (c) 2009 Tobias Bielohlawek
18
14
  - Copyright (c) 2009 XING Engineering
19
15
  - Copyright (c) 2010 Joost Baaij
20
16
  - Copyright (c) 2010 Joost Baaij
21
- - Copyright (c) 2010 Ryan Wallace
22
17
  - Copyright (c) 2011 Arturas Slajus
23
18
  - Copyright (c) 2011 Musy Bite
24
19
  - Copyright (c) 2011, 2014 Tim Liner
25
20
  - Copyright (c) 2012-2013 David DIDIER
26
21
  - Copyright (c) 2012-2015, 2017-2018, 2026 Peter H. Boling
27
22
  - Copyright (c) 2012 Tatsuhiko Miyagawa
28
- - Copyright (c) 2013 Blake Thomson
29
23
  - Copyright (c) 2013 Keith Pitty
30
24
  - Copyright (c) 2013 Peter M. Goldstein
31
- - Copyright (c) 2013 Thomas Jachmann
32
25
  - Copyright (c) 2014 Alexander Tipugin
33
26
  - Copyright (c) 2014, 2017-2018, 2025 Jonathan del Strother
34
27
  - Copyright (c) 2015 Ivan
data/README.md CHANGED
@@ -933,27 +933,20 @@ See [LICENSE.md][📄license] for the official copyright notice.
933
933
  <summary>Copyright holders</summary>
934
934
 
935
935
  - Copyright (c) 2009 Alto
936
- - Copyright (c) 2009-2012 boosty
937
- - Copyright (c) 2009-2010 Daniel Jagszent
938
- - Copyright (c) 2009-2010 ladislav.martincik
939
- - Copyright (c) 2009 Martin Stannard
936
+ - Copyright (c) 2009-2011 boosty
937
+ - Copyright (c) 2009 ladislav.martincik
940
938
  - Copyright (c) 2009-2011 pboling
941
- - Copyright (c) 2009 Sebastian Roebke
942
- - Copyright (c) 2009 Tobias Bielohlawek
943
939
  - Copyright (c) 2009 XING Engineering
944
940
  - Copyright (c) 2010 Joost Baaij
945
941
  - Copyright (c) 2010 Joost Baaij
946
- - Copyright (c) 2010 Ryan Wallace
947
942
  - Copyright (c) 2011 Arturas Slajus
948
943
  - Copyright (c) 2011 Musy Bite
949
944
  - Copyright (c) 2011, 2014 Tim Liner
950
945
  - Copyright (c) 2012-2013 David DIDIER
951
946
  - Copyright (c) 2012-2015, 2017-2018, 2026 Peter H. Boling
952
947
  - Copyright (c) 2012 Tatsuhiko Miyagawa
953
- - Copyright (c) 2013 Blake Thomson
954
948
  - Copyright (c) 2013 Keith Pitty
955
949
  - Copyright (c) 2013 Peter M. Goldstein
956
- - Copyright (c) 2013 Thomas Jachmann
957
950
  - Copyright (c) 2014 Alexander Tipugin
958
951
  - Copyright (c) 2014, 2017-2018, 2025 Jonathan del Strother
959
952
  - Copyright (c) 2015 Ivan
@@ -1178,7 +1171,7 @@ Thanks for RTFM. ☺️
1178
1171
  [📌gitmoji]: https://gitmoji.dev
1179
1172
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1180
1173
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1181
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.453-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1174
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.454-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1182
1175
  [🔐security]: https://github.com/galtzo-floss/flag_shih_tzu/blob/main/SECURITY.md
1183
1176
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1184
1177
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -1186,9 +1179,9 @@ Thanks for RTFM. ☺️
1186
1179
  [📄license-ref]: MIT.md
1187
1180
  [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
1188
1181
  [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
1189
- [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-✓-259D6C.svg?style=flat&logo=Apache
1182
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
1190
1183
  [🧪fossa]: https://app.fossa.com/projects/git%2Bgithub.com%2Fpboling%2Fflag_shih_tzu?ref=badge_shield
1191
- [🧪fossa-img]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Fpboling%2Fflag_shih_tzu.svg?type=shield
1184
+ [🧪fossa-img]: https://app.fossa.com/api/projects/git+github.com%2Fpboling%2Fflag_shih_tzu.svg?type=shield
1192
1185
  [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
1193
1186
  [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
1194
1187
  [🚎yard-current]: http://rubydoc.info/gems/flag_shih_tzu
@@ -1205,9 +1198,9 @@ Thanks for RTFM. ☺️
1205
1198
  | Field | Value |
1206
1199
  |---|---|
1207
1200
  | Package | flag_shih_tzu |
1208
- | Description | 🏁 Bit fields for ActiveRecord:<br>This gem lets you use a single integer column in an ActiveRecord model<br>to store a collection of boolean attributes (flags). Each flag can be used<br>almost in the same way you would use any boolean attribute on an<br>ActiveRecord object. |
1201
+ | Description | 🏁 Single and Multi-Bit Fields for ActiveRecord:<br>This gem lets you use a single integer column in an ActiveRecord model<br>to store a collection of boolean attributes (flags). Each flag can be used<br>almost in the same way you would use any boolean attribute on an<br>ActiveRecord object. Support for multi-bit fields, like tri-state or enums. |
1209
1202
  | Homepage | https://github.com/galtzo-floss/flag_shih_tzu |
1210
- | Source | https://github.com/galtzo-floss/flag_shih_tzu/tree/v1.0.0 |
1203
+ | Source | https://github.com/galtzo-floss/flag_shih_tzu/tree/v1.0.1 |
1211
1204
  | License | `MIT` |
1212
1205
  | Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/flag_shih_tzu, https://www.buymeacoffee.com/pboling |
1213
1206
  <!-- kettle-jem:metadata:end -->
@@ -2,7 +2,7 @@
2
2
 
3
3
  module FlagShihTzu
4
4
  module Version
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  VERSION = Version::VERSION # Traditional Constant Location
8
8
  end
data/lib/flag_shih_tzu.rb CHANGED
@@ -246,14 +246,14 @@ To turn off this warning set check_for_column: false in has_flags definition her
246
246
  self.flag_mapping ||= {}
247
247
  # If we already have an instance of the same column in the flag_mapping,
248
248
  # then there is a double definition on a column
249
- if opts[:strict] && !self.flag_mapping[colmn].nil?
249
+ if opts[:strict] && !flag_mapping[colmn].nil?
250
250
  raise DuplicateFlagColumnException
251
251
  end
252
252
  flag_mapping[colmn] ||= {}
253
253
 
254
254
  # keep track of which flag columns are defined on this class
255
255
  self.flag_columns ||= []
256
- self.flag_columns << colmn
256
+ flag_columns << colmn
257
257
 
258
258
  flag_hash.each do |flag_key, flag_name|
259
259
  unless valid_flag_key?(flag_key)
@@ -706,7 +706,7 @@ To turn off this warning set check_for_column: false in has_flags definition her
706
706
  .select { |key| !key.is_a?(Integer) }
707
707
  .each_with_object({}) do |key, hash|
708
708
  hash[key] = options.delete(key)
709
- end
709
+ end
710
710
  end
711
711
  [options, add_options]
712
712
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flag_shih_tzu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '1.1'
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 1.1.10
53
+ version: 1.1.11
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -60,27 +60,27 @@ dependencies:
60
60
  version: '1.1'
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 1.1.10
63
+ version: 1.1.11
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: kettle-dev
66
66
  requirement: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '2.0'
70
+ version: '2.2'
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 2.0.8
73
+ version: 2.2.9
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '2.0'
80
+ version: '2.2'
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 2.0.8
83
+ version: 2.2.9
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: bundler-audit
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -135,20 +135,20 @@ dependencies:
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.0'
138
+ version: '3.1'
139
139
  - - ">="
140
140
  - !ruby/object:Gem::Version
141
- version: 3.0.9
141
+ version: 3.1.2
142
142
  type: :development
143
143
  prerelease: false
144
144
  version_requirements: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
- version: '3.0'
148
+ version: '3.1'
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: 3.0.9
151
+ version: 3.1.2
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: kettle-test
154
154
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +158,7 @@ dependencies:
158
158
  version: '2.0'
159
159
  - - ">="
160
160
  - !ruby/object:Gem::Version
161
- version: 2.0.3
161
+ version: 2.0.5
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
@@ -168,7 +168,7 @@ dependencies:
168
168
  version: '2.0'
169
169
  - - ">="
170
170
  - !ruby/object:Gem::Version
171
- version: 2.0.3
171
+ version: 2.0.5
172
172
  - !ruby/object:Gem::Dependency
173
173
  name: turbo_tests2
174
174
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ dependencies:
178
178
  version: '3.1'
179
179
  - - ">="
180
180
  - !ruby/object:Gem::Version
181
- version: 3.1.1
181
+ version: 3.1.3
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
@@ -188,7 +188,7 @@ dependencies:
188
188
  version: '3.1'
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
- version: 3.1.1
191
+ version: 3.1.3
192
192
  - !ruby/object:Gem::Dependency
193
193
  name: ruby-progressbar
194
194
  requirement: !ruby/object:Gem::Requirement
@@ -232,7 +232,7 @@ dependencies:
232
232
  version: '2.0'
233
233
  - - ">="
234
234
  - !ruby/object:Gem::Version
235
- version: 2.0.1
235
+ version: 2.0.2
236
236
  type: :development
237
237
  prerelease: false
238
238
  version_requirements: !ruby/object:Gem::Requirement
@@ -242,7 +242,7 @@ dependencies:
242
242
  version: '2.0'
243
243
  - - ">="
244
244
  - !ruby/object:Gem::Version
245
- version: 2.0.1
245
+ version: 2.0.2
246
246
  description: "\U0001F3C1 Single and Multi-Bit Fields for ActiveRecord:\nThis gem lets
247
247
  you use a single integer column in an ActiveRecord model\nto store a collection
248
248
  of boolean attributes (flags). Each flag can be used\nalmost in the same way you
@@ -281,11 +281,11 @@ homepage: https://github.com/galtzo-floss/flag_shih_tzu
281
281
  licenses:
282
282
  - MIT
283
283
  metadata:
284
- homepage_uri: https://github.com/galtzo-floss/flag_shih_tzu
285
- source_code_uri: https://github.com/galtzo-floss/flag_shih_tzu/tree/v1.0.1
286
- changelog_uri: https://github.com/galtzo-floss/flag_shih_tzu/blob/v1.0.1/CHANGELOG.md
284
+ homepage_uri: https://flag-shih-tzu.galtzo.com
285
+ source_code_uri: https://github.com/galtzo-floss/flag_shih_tzu/tree/v1.0.2
286
+ changelog_uri: https://github.com/galtzo-floss/flag_shih_tzu/blob/v1.0.2/CHANGELOG.md
287
287
  bug_tracker_uri: https://github.com/galtzo-floss/flag_shih_tzu/issues
288
- documentation_uri: https://www.rubydoc.info/gems/flag_shih_tzu/1.0.1
288
+ documentation_uri: https://www.rubydoc.info/gems/flag_shih_tzu/1.0.2
289
289
  funding_uri: https://github.com/sponsors/pboling
290
290
  wiki_uri: https://github.com/galtzo-floss/flag_shih_tzu/wiki
291
291
  news_uri: https://www.railsbling.com/tags/flag_shih_tzu
metadata.gz.sig CHANGED
Binary file