flag_shih_tzu 1.0.1 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 472ac78bf1e59389c96c54bb827ec504985253709cd4b49a98d7e00bbf01d222
4
- data.tar.gz: ae64ae2304def0d3f2882b58722566672357b2f074699012bdaf375c502e041e
3
+ metadata.gz: 0e2feb9d60fe0081972d3e0226eb893d46abe2c49286e32c11fb47bb018ff8ee
4
+ data.tar.gz: 491a7a33128b4643d2794d504353b203afdbef0a0370fade095189109a8f60e1
5
5
  SHA512:
6
- metadata.gz: 40ed5f195da9bf4b306b64ebbbf23c458b6da9583a4b1f2cc6958d7f92508b15af558f08bdcf1ffec9faaaf3554e534b618c314b671a15f698c3f18042ffb53f
7
- data.tar.gz: 013bc5634278e8c9dc9923cfd54216e465018fff49799502bb6d90e2f50d0fa70c6063ec021772039f088c2fab29e0a93503e29336bf8b02b71e88b61f85f56c
6
+ metadata.gz: 1901aeaeead83202fa6f32f9b3c44bb43f27ad7c76a834d917aa2b7811b7a9c3156795a2f9a7bd67d93f8dbda3b8d1626aa773c333d4a8cff078b71a7702c648
7
+ data.tar.gz: 490b9ac2467dc1aaf93b7dc4d81dba047fe92d59ebc558ac693d64c45808842185eeba6e6ab0a5a557be662feb49a65a533700caa8d58bfdd4625850ce196b31
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,42 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.3] - 2026-07-02
34
+
35
+ - TAG: [v1.0.3][1.0.3t]
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
+ ### Added
41
+
42
+ - Added support for JRuby 10.1 and TruffleRuby 34.0.
43
+
44
+ ### Changed
45
+
46
+ - Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
47
+
48
+ ### Fixed
49
+
50
+ - Restore root Gemfile ActiveRecord test dependencies so `kettle-test` runs the
51
+ RSpec suite outside appraisal-specific bundles.
52
+ - Restore kettle-soup-cover SimpleCov startup so `kettle-test` reports merged
53
+ line and branch coverage from turbo_tests2 workers.
54
+ - Package configured license files in gem release file lists.
55
+
56
+ ## [1.0.2] - 2026-06-14
57
+
58
+ - TAG: [v1.0.2][1.0.2t]
59
+ - COVERAGE: 90.75% -- 412/454 lines in 3 files
60
+ - BRANCH COVERAGE: 76.76% -- 142/185 branches in 3 files
61
+ - 27.78% documented
62
+
63
+ ### Changed
64
+
65
+ - Refreshed generated README/package metadata, copyright notices, template
66
+ helper files, documentation custom-domain metadata, CI workflow pins, and
67
+ development dependency floors from the latest `kettle-jem` template.
68
+
33
69
  ## [1.0.1] - 2026-06-05
34
70
 
35
71
  - TAG: [v1.0.1][1.0.1t]
@@ -310,7 +346,11 @@ Please file a bug if you notice a violation of semantic versioning.
310
346
 
311
347
  # Version 0.2.3 - last version maintained by XING AG
312
348
 
313
- [Unreleased]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.1...HEAD
349
+ [Unreleased]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.3...HEAD
350
+ [1.0.3]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.2...v1.0.3
351
+ [1.0.3t]: https://github.com/galtzo-floss/flag_shih_tzu/releases/tag/v1.0.3
352
+ [1.0.2]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.1...v1.0.2
353
+ [1.0.2t]: https://github.com/galtzo-floss/flag_shih_tzu/releases/tag/v1.0.2
314
354
  [1.0.1]: https://github.com/galtzo-floss/flag_shih_tzu/compare/v1.0.0...v1.0.1
315
355
  [1.0.1t]: https://github.com/galtzo-floss/flag_shih_tzu/releases/tag/v1.0.1
316
356
  [1.0.0]: https://github.com/galtzo-floss/flag_shih_tzu/compare/baaff102ad48e6c5b4bfb3efb088cec82fa1ddb4...v1.0.0
data/CONTRIBUTING.md CHANGED
@@ -109,14 +109,14 @@ Git diff driver setup
109
109
  - Git hosting forges generally ignore external diff drivers, so pull request views may still show raw textual diffs even when local `git diff` uses semantic drivers.
110
110
 
111
111
  ```console
112
- K_JEM_TEMPLATING=true bundle exec kettle-jem install
112
+ K_JEM_TEMPLATING=true kettle-jem install
113
113
  ```
114
114
 
115
115
  Troubleshooting Git diffs
116
116
  - Use `git diff --no-ext-diff` to compare against Git's built-in diff output.
117
117
  - Use `git diff --no-textconv` when a textconv projection obscures the raw file bytes you need to inspect.
118
118
  - If Git reports a missing `smorg-*` executable, rerun `bundle install` and the setup command above, then check `git config --local --get-regexp '^diff\.smorg-'`.
119
- - To remove managed local entries, run `K_JEM_TEMPLATING=true bundle exec kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
119
+ - To remove managed local entries, run `K_JEM_TEMPLATING=true kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
120
120
 
121
121
  For a quick starting point, this repository’s `mise.toml` defines the shared defaults, and `.env.local` can override them locally. Copy `.env.local.example` to `.env.local`, use `KEY=value` lines, and either activate `mise` in your shell or run commands through `mise exec -C /path/to/project -- ...`.
122
122
 
@@ -131,9 +131,12 @@ toolchain, and it may be higher than the gemspec runtime floor.
131
131
  They are created and updated with the commands:
132
132
 
133
133
  ```console
134
- bin/rake appraisal:update
134
+ bin/rake appraisal:generate
135
135
  ```
136
136
 
137
+ Use `bin/rake appraisal:update` when you intentionally need to resolve fresh
138
+ appraisal locks.
139
+
137
140
  If you need to reset all gemfiles/*.gemfile.lock files:
138
141
 
139
142
  ```console
data/FUNDING.md CHANGED
@@ -6,7 +6,7 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
6
6
 
7
7
  [![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal]
8
8
 
9
- [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS efforts using Patreon][🖇patreon-img]][🖇patreon]
9
+ [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
10
10
 
11
11
  [⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
12
12
  [⛳liberapay]: https://liberapay.com/pboling/donate
@@ -16,12 +16,8 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
16
16
  [🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
17
17
  [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
18
18
  [🖇sponsor]: https://github.com/sponsors/pboling
19
- [🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
20
- [🖇polar]: https://polar.sh/pboling
21
19
  [🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
22
20
  [🖇kofi]: https://ko-fi.com/pboling
23
- [🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
24
- [🖇patreon]: https://patreon.com/galtzo
25
21
  [🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
26
22
  [🖇buyme]: https://www.buymeacoffee.com/pboling
27
23
  [🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
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/MIT.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ See [LICENSE.md](LICENSE.md) for the copyright notice.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -67,9 +67,9 @@ What is a ["Shih Tzu"](http://en.wikipedia.org/wiki/Shih_Tzu)?
67
67
 
68
68
  | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
69
69
  |-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
70
- | Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
71
- | Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎truby-23.0-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
72
- | Works with MRI Ruby 4 | [![Ruby 4.0 Compat][💎ruby-4.0i]][🚎11-c-wf] [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
70
+ | Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
71
+ | Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎truby-23.0-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf]|
72
+ | Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
73
73
  | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
74
74
  | Works with MRI Ruby 2 | [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
75
75
  | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
@@ -88,9 +88,25 @@ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
88
88
  may be higher than the gem's runtime compatibility floor when legacy Rubies are
89
89
  not practical for the current toolchain.
90
90
 
91
- | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
92
- |------------------------------------------------|--------------------------------------------------------|
93
- | 👟 Check it out! | [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
91
+ <a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
92
+
93
+ The _amazing_ test matrix is powered by the kettle-dev stack.
94
+
95
+ <details markdown="1">
96
+ <summary>How kettle-dev manages complexity in tests</summary>
97
+
98
+ | Gem | Source | Role | Daily download rank |
99
+ |-----|--------|------|---------------------|
100
+ | [appraisal2](https://bestgems.org/gems/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [![Daily download rank for appraisal2](https://img.shields.io/gem/rd/appraisal2.svg?style=flat-square)](https://bestgems.org/gems/appraisal2) |
101
+ | [appraisal2-rubocop](https://bestgems.org/gems/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [![Daily download rank for appraisal2-rubocop](https://img.shields.io/gem/rd/appraisal2-rubocop.svg?style=flat-square)](https://bestgems.org/gems/appraisal2-rubocop) |
102
+ | [kettle-dev](https://bestgems.org/gems/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [![Daily download rank for kettle-dev](https://img.shields.io/gem/rd/kettle-dev.svg?style=flat-square)](https://bestgems.org/gems/kettle-dev) |
103
+ | [kettle-jem](https://bestgems.org/gems/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [![Daily download rank for kettle-jem](https://img.shields.io/gem/rd/kettle-jem.svg?style=flat-square)](https://bestgems.org/gems/kettle-jem) |
104
+ | [kettle-soup-cover](https://bestgems.org/gems/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [![Daily download rank for kettle-soup-cover](https://img.shields.io/gem/rd/kettle-soup-cover.svg?style=flat-square)](https://bestgems.org/gems/kettle-soup-cover) |
105
+ | [kettle-test](https://bestgems.org/gems/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [![Daily download rank for kettle-test](https://img.shields.io/gem/rd/kettle-test.svg?style=flat-square)](https://bestgems.org/gems/kettle-test) |
106
+ | [rubocop-lts](https://bestgems.org/gems/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [![Daily download rank for rubocop-lts](https://img.shields.io/gem/rd/rubocop-lts.svg?style=flat-square)](https://bestgems.org/gems/rubocop-lts) |
107
+ | [turbo_tests2](https://bestgems.org/gems/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [![Daily download rank for turbo_tests2](https://img.shields.io/gem/rd/turbo_tests2.svg?style=flat-square)](https://bestgems.org/gems/turbo_tests2) |
108
+
109
+ </details>
94
110
 
95
111
  ### Federated DVCS
96
112
 
@@ -823,7 +839,7 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
823
839
  No sponsors yet. Be the first!
824
840
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
825
841
 
826
- [kettle-readme-backers]: https://github.com/galtzo-floss/flag_shih_tzu/blob/main/exe/kettle-readme-backers
842
+ [kettle-readme-backers]: https://github.com/galtzo-floss/flag_shih_tzu/blob/main/bin/kettle-readme-backers
827
843
 
828
844
  ### Another way to support open-source
829
845
 
@@ -835,7 +851,7 @@ I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed
835
851
 
836
852
  **[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
837
853
 
838
- [![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS efforts using Patreon][🖇patreon-img]][🖇patreon]
854
+ [![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
839
855
 
840
856
  ## 🔐 Security
841
857
 
@@ -881,7 +897,7 @@ Made with [contributors-img][🖐contrib-rocks].
881
897
 
882
898
  Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/flag_shih_tzu/-/graphs/main][🚎contributors-gl]
883
899
 
884
- <details>
900
+ <details markdown="1">
885
901
  <summary>⭐️ Star History</summary>
886
902
 
887
903
  <a href="https://star-history.com/galtzo-floss/flag_shih_tzu&Date">
@@ -933,27 +949,20 @@ See [LICENSE.md][📄license] for the official copyright notice.
933
949
  <summary>Copyright holders</summary>
934
950
 
935
951
  - 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
952
+ - Copyright (c) 2009-2011 boosty
953
+ - Copyright (c) 2009 ladislav.martincik
940
954
  - Copyright (c) 2009-2011 pboling
941
- - Copyright (c) 2009 Sebastian Roebke
942
- - Copyright (c) 2009 Tobias Bielohlawek
943
955
  - Copyright (c) 2009 XING Engineering
944
956
  - Copyright (c) 2010 Joost Baaij
945
957
  - Copyright (c) 2010 Joost Baaij
946
- - Copyright (c) 2010 Ryan Wallace
947
958
  - Copyright (c) 2011 Arturas Slajus
948
959
  - Copyright (c) 2011 Musy Bite
949
960
  - Copyright (c) 2011, 2014 Tim Liner
950
961
  - Copyright (c) 2012-2013 David DIDIER
951
962
  - Copyright (c) 2012-2015, 2017-2018, 2026 Peter H. Boling
952
963
  - Copyright (c) 2012 Tatsuhiko Miyagawa
953
- - Copyright (c) 2013 Blake Thomson
954
964
  - Copyright (c) 2013 Keith Pitty
955
965
  - Copyright (c) 2013 Peter M. Goldstein
956
- - Copyright (c) 2013 Thomas Jachmann
957
966
  - Copyright (c) 2014 Alexander Tipugin
958
967
  - Copyright (c) 2014, 2017-2018, 2025 Jonathan del Strother
959
968
  - Copyright (c) 2015 Ivan
@@ -1009,12 +1018,8 @@ Thanks for RTFM. ☺️
1009
1018
  [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
1010
1019
  [🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
1011
1020
  [🖇sponsor]: https://github.com/sponsors/pboling
1012
- [🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
1013
- [🖇polar]: https://polar.sh/pboling
1014
1021
  [🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
1015
1022
  [🖇kofi]: https://ko-fi.com/pboling
1016
- [🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
1017
- [🖇patreon]: https://patreon.com/galtzo
1018
1023
  [🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
1019
1024
  [🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
1020
1025
  [🖇buyme]: https://www.buymeacoffee.com/pboling
@@ -1104,11 +1109,13 @@ Thanks for RTFM. ☺️
1104
1109
  [🚎jruby-9.2-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/jruby-9.2.yml
1105
1110
  [🚎jruby-9.3-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/jruby-9.3.yml
1106
1111
  [🚎jruby-9.4-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/jruby-9.4.yml
1112
+ [🚎jruby-10.0-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/jruby-10.0.yml
1107
1113
  [🚎truby-22.3-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/truffleruby-22.3.yml
1108
1114
  [🚎truby-23.0-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/truffleruby-23.0.yml
1109
1115
  [🚎truby-23.1-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/truffleruby-23.1.yml
1110
1116
  [🚎truby-24.2-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/truffleruby-24.2.yml
1111
1117
  [🚎truby-25.0-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/truffleruby-25.0.yml
1118
+ [🚎truby-33.0-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/truffleruby-33.0.yml
1112
1119
  [🚎2-cov-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/coverage.yml
1113
1120
  [🚎2-cov-wfi]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/coverage.yml/badge.svg
1114
1121
  [🚎3-hd-wf]: https://github.com/galtzo-floss/flag_shih_tzu/actions/workflows/heads.yml
@@ -1138,7 +1145,6 @@ Thanks for RTFM. ☺️
1138
1145
  [💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
1139
1146
  [💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
1140
1147
  [💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
1141
- [💎ruby-4.0i]: https://img.shields.io/badge/Ruby-4.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
1142
1148
  [💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
1143
1149
  [💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
1144
1150
  [💎truby-22.3i]: https://img.shields.io/badge/Truffle_Ruby-22.3-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
@@ -1146,10 +1152,13 @@ Thanks for RTFM. ☺️
1146
1152
  [💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
1147
1153
  [💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
1148
1154
  [💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
1155
+ [💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
1149
1156
  [💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
1157
+ [💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
1150
1158
  [💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
1151
1159
  [💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
1152
1160
  [💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
1161
+ [💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
1153
1162
  [💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
1154
1163
  [💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
1155
1164
  [🤝gh-issues]: https://github.com/galtzo-floss/flag_shih_tzu/issues
@@ -1178,7 +1187,7 @@ Thanks for RTFM. ☺️
1178
1187
  [📌gitmoji]: https://gitmoji.dev
1179
1188
  [📌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
1189
  [🧮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
1190
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.454-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1182
1191
  [🔐security]: https://github.com/galtzo-floss/flag_shih_tzu/blob/main/SECURITY.md
1183
1192
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1184
1193
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -1186,9 +1195,9 @@ Thanks for RTFM. ☺️
1186
1195
  [📄license-ref]: MIT.md
1187
1196
  [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
1188
1197
  [📄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
1198
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
1190
1199
  [🧪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
1200
+ [🧪fossa-img]: https://app.fossa.com/api/projects/git+github.com%2Fpboling%2Fflag_shih_tzu.svg?type=shield
1192
1201
  [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
1193
1202
  [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
1194
1203
  [🚎yard-current]: http://rubydoc.info/gems/flag_shih_tzu
@@ -1205,9 +1214,9 @@ Thanks for RTFM. ☺️
1205
1214
  | Field | Value |
1206
1215
  |---|---|
1207
1216
  | 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. |
1217
+ | 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
1218
  | Homepage | https://github.com/galtzo-floss/flag_shih_tzu |
1210
- | Source | https://github.com/galtzo-floss/flag_shih_tzu/tree/v1.0.0 |
1219
+ | Source | https://github.com/galtzo-floss/flag_shih_tzu |
1211
1220
  | License | `MIT` |
1212
- | 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 |
1221
+ | Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/flag_shih_tzu, https://www.buymeacoffee.com/pboling |
1213
1222
  <!-- 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.3"
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,14 +1,35 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
+ - Alto
8
+ - boosty
9
+ - ladislav.martincik
10
+ - pboling
11
+ - XING Engineering
12
+ - Joost Baaij
13
+ - Arturas Slajus
14
+ - Musy Bite
15
+ - Tim Liner
16
+ - David DIDIER
17
+ - Peter H. Boling
18
+ - Tatsuhiko Miyagawa
19
+ - Keith Pitty
20
+ - Peter M. Goldstein
21
+ - Alexander Tipugin
22
+ - Jonathan del Strother
23
+ - Ivan
24
+ - jfcaiceo
25
+ - Xinran Xiao
26
+ - shiro16
7
27
  - Peter Boling
8
- - Patryk Peszko
9
- - Sebastian Roebke
10
- - David Anderson
11
- - Tim Payton
28
+ - xpol
29
+ - Yusuke Ebihara
30
+ - Amy Martin
31
+ - Annibelle Boling
32
+ - horiken
12
33
  bindir: exe
13
34
  cert_chain:
14
35
  - |
@@ -50,7 +71,7 @@ dependencies:
50
71
  version: '1.1'
51
72
  - - ">="
52
73
  - !ruby/object:Gem::Version
53
- version: 1.1.10
74
+ version: 1.1.13
54
75
  type: :runtime
55
76
  prerelease: false
56
77
  version_requirements: !ruby/object:Gem::Requirement
@@ -60,27 +81,27 @@ dependencies:
60
81
  version: '1.1'
61
82
  - - ">="
62
83
  - !ruby/object:Gem::Version
63
- version: 1.1.10
84
+ version: 1.1.13
64
85
  - !ruby/object:Gem::Dependency
65
86
  name: kettle-dev
66
87
  requirement: !ruby/object:Gem::Requirement
67
88
  requirements:
68
89
  - - "~>"
69
90
  - !ruby/object:Gem::Version
70
- version: '2.0'
91
+ version: '2.3'
71
92
  - - ">="
72
93
  - !ruby/object:Gem::Version
73
- version: 2.0.8
94
+ version: 2.3.0
74
95
  type: :development
75
96
  prerelease: false
76
97
  version_requirements: !ruby/object:Gem::Requirement
77
98
  requirements:
78
99
  - - "~>"
79
100
  - !ruby/object:Gem::Version
80
- version: '2.0'
101
+ version: '2.3'
81
102
  - - ">="
82
103
  - !ruby/object:Gem::Version
83
- version: 2.0.8
104
+ version: 2.3.0
84
105
  - !ruby/object:Gem::Dependency
85
106
  name: bundler-audit
86
107
  requirement: !ruby/object:Gem::Requirement
@@ -135,20 +156,20 @@ dependencies:
135
156
  requirements:
136
157
  - - "~>"
137
158
  - !ruby/object:Gem::Version
138
- version: '3.0'
159
+ version: '3.1'
139
160
  - - ">="
140
161
  - !ruby/object:Gem::Version
141
- version: 3.0.9
162
+ version: 3.1.4
142
163
  type: :development
143
164
  prerelease: false
144
165
  version_requirements: !ruby/object:Gem::Requirement
145
166
  requirements:
146
167
  - - "~>"
147
168
  - !ruby/object:Gem::Version
148
- version: '3.0'
169
+ version: '3.1'
149
170
  - - ">="
150
171
  - !ruby/object:Gem::Version
151
- version: 3.0.9
172
+ version: 3.1.4
152
173
  - !ruby/object:Gem::Dependency
153
174
  name: kettle-test
154
175
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +179,7 @@ dependencies:
158
179
  version: '2.0'
159
180
  - - ">="
160
181
  - !ruby/object:Gem::Version
161
- version: 2.0.3
182
+ version: 2.0.9
162
183
  type: :development
163
184
  prerelease: false
164
185
  version_requirements: !ruby/object:Gem::Requirement
@@ -168,7 +189,7 @@ dependencies:
168
189
  version: '2.0'
169
190
  - - ">="
170
191
  - !ruby/object:Gem::Version
171
- version: 2.0.3
192
+ version: 2.0.9
172
193
  - !ruby/object:Gem::Dependency
173
194
  name: turbo_tests2
174
195
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +199,7 @@ dependencies:
178
199
  version: '3.1'
179
200
  - - ">="
180
201
  - !ruby/object:Gem::Version
181
- version: 3.1.1
202
+ version: 3.1.6
182
203
  type: :development
183
204
  prerelease: false
184
205
  version_requirements: !ruby/object:Gem::Requirement
@@ -188,7 +209,7 @@ dependencies:
188
209
  version: '3.1'
189
210
  - - ">="
190
211
  - !ruby/object:Gem::Version
191
- version: 3.1.1
212
+ version: 3.1.6
192
213
  - !ruby/object:Gem::Dependency
193
214
  name: ruby-progressbar
194
215
  requirement: !ruby/object:Gem::Requirement
@@ -212,7 +233,7 @@ dependencies:
212
233
  version: '1.0'
213
234
  - - ">="
214
235
  - !ruby/object:Gem::Version
215
- version: 1.0.3
236
+ version: 1.0.4
216
237
  type: :development
217
238
  prerelease: false
218
239
  version_requirements: !ruby/object:Gem::Requirement
@@ -222,7 +243,7 @@ dependencies:
222
243
  version: '1.0'
223
244
  - - ">="
224
245
  - !ruby/object:Gem::Version
225
- version: 1.0.3
246
+ version: 1.0.4
226
247
  - !ruby/object:Gem::Dependency
227
248
  name: gitmoji-regex
228
249
  requirement: !ruby/object:Gem::Requirement
@@ -232,7 +253,7 @@ dependencies:
232
253
  version: '2.0'
233
254
  - - ">="
234
255
  - !ruby/object:Gem::Version
235
- version: 2.0.1
256
+ version: 2.0.4
236
257
  type: :development
237
258
  prerelease: false
238
259
  version_requirements: !ruby/object:Gem::Requirement
@@ -242,7 +263,7 @@ dependencies:
242
263
  version: '2.0'
243
264
  - - ">="
244
265
  - !ruby/object:Gem::Version
245
- version: 2.0.1
266
+ version: 2.0.4
246
267
  description: "\U0001F3C1 Single and Multi-Bit Fields for ActiveRecord:\nThis gem lets
247
268
  you use a single integer column in an ActiveRecord model\nto store a collection
248
269
  of boolean attributes (flags). Each flag can be used\nalmost in the same way you
@@ -269,6 +290,7 @@ files:
269
290
  - CONTRIBUTING.md
270
291
  - FUNDING.md
271
292
  - LICENSE.md
293
+ - MIT.md
272
294
  - README.md
273
295
  - RUBOCOP.md
274
296
  - SECURITY.md
@@ -281,11 +303,11 @@ homepage: https://github.com/galtzo-floss/flag_shih_tzu
281
303
  licenses:
282
304
  - MIT
283
305
  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
306
+ homepage_uri: https://flag-shih-tzu.galtzo.com
307
+ source_code_uri: https://github.com/galtzo-floss/flag_shih_tzu/tree/v1.0.3
308
+ changelog_uri: https://github.com/galtzo-floss/flag_shih_tzu/blob/v1.0.3/CHANGELOG.md
287
309
  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
310
+ documentation_uri: https://www.rubydoc.info/gems/flag_shih_tzu/1.0.3
289
311
  funding_uri: https://github.com/sponsors/pboling
290
312
  wiki_uri: https://github.com/galtzo-floss/flag_shih_tzu/wiki
291
313
  news_uri: https://www.railsbling.com/tags/flag_shih_tzu
metadata.gz.sig CHANGED
Binary file