gem_bench 2.0.5 → 2.0.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.
data/README.md CHANGED
@@ -1,324 +1,116 @@
1
- # GemBench
2
-
3
- <div id="badges">
4
-
5
- <div align="center">
6
-
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
8
- [![Version](https://img.shields.io/gem/v/gem_bench.svg)](https://rubygems.org/gems/gem_bench)
9
- [![Downloads Today](https://img.shields.io/gem/rd/gem_bench.svg)](https://github.com/pboling/gem_bench)
10
- [![Depfu](https://badges.depfu.com/badges/865e7bb1d0d3eb3ba807fca7344e22d1/overview.svg)](https://depfu.com/github/pboling/gem_bench?project_id=2688)
11
- [![CodeCov][🖇codecov-img♻️]][🖇codecov]
12
- [![Test Coverage](https://api.codeclimate.com/v1/badges/80787f126e7a486b19af/test_coverage)](https://codeclimate.com/github/pboling/gem_bench/test_coverage)
13
- [![Maintainability](https://api.codeclimate.com/v1/badges/80787f126e7a486b19af/maintainability)](https://codeclimate.com/github/pboling/gem_bench/maintainability)
14
- [![CI Supported Build][🚎s-wfi]][🚎s-wf]
15
- [![CI Unsupported Build][🚎us-wfi]][🚎us-wf]
16
- [![CI Style Build][🚎st-wfi]][🚎st-wf]
17
- [![CI Coverage Build][🚎cov-wfi]][🚎cov-wf]
18
- [![CI Heads Build][🚎hd-wfi]][🚎hd-wf]
19
- [![CI Ancient Build][🚎an-wfi]][🚎an-wf]
20
-
21
- [🖇codecov-img♻️]: https://codecov.io/gh/pboling/gem_bench/graph/badge.svg?token=selEoMrZzA
22
- [🖇codecov]: https://codecov.io/gh/pboling/gem_bench
23
- [🚎s-wf]: https://github.com/pboling/gem_bench/actions/workflows/supported.yml
24
- [🚎s-wfi]: https://github.com/pboling/gem_bench/actions/workflows/supported.yml/badge.svg
25
- [🚎us-wf]: https://github.com/pboling/gem_bench/actions/workflows/unsupported.yml
26
- [🚎us-wfi]: https://github.com/pboling/gem_bench/actions/workflows/unsupported.yml/badge.svg
27
- [🚎st-wf]: https://github.com/pboling/gem_bench/actions/workflows/style.yml
28
- [🚎st-wfi]: https://github.com/pboling/gem_bench/actions/workflows/style.yml/badge.svg
29
- [🚎cov-wf]: https://github.com/pboling/gem_bench/actions/workflows/coverage.yml
30
- [🚎cov-wfi]: https://github.com/pboling/gem_bench/actions/workflows/coverage.yml/badge.svg
31
- [🚎hd-wf]: https://github.com/pboling/gem_bench/actions/workflows/heads.yml
32
- [🚎hd-wfi]: https://github.com/pboling/gem_bench/actions/workflows/heads.yml/badge.svg
33
- [🚎an-wf]: https://github.com/pboling/gem_bench/actions/workflows/ancient.yml
34
- [🚎an-wfi]: https://github.com/pboling/gem_bench/actions/workflows/ancient.yml/badge.svg
35
-
36
- </div>
37
-
38
- -----
39
-
40
- <div align="center">
41
-
42
- [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay]
43
- [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
44
- [![Polar Shield][🖇polar-img]][🖇polar]
45
- [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
46
- [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
47
-
48
- [⛳liberapay-img]: https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay
49
- [⛳liberapay]: https://liberapay.com/pboling/donate
50
- [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
51
- [🖇sponsor]: https://github.com/sponsors/pboling
52
- [🖇polar-img]: https://polar.sh/embed/seeks-funding-shield.svg?org=pboling
53
- [🖇polar]: https://polar.sh/pboling
54
- [🖇kofi-img]: https://img.shields.io/badge/buy%20me%20coffee-donate-yellow.svg
55
- [🖇kofi]: https://ko-fi.com/O5O86SNP4
56
- [🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
57
- [🖇patreon]: https://patreon.com/galtzo
58
-
59
- <span class="badge-buymealatte">
60
- <a href="https://www.buymeacoffee.com/pboling"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" /></a>
61
- </span>
62
-
63
- </div>
64
- </div>
1
+ <a href="https://github.com/galtzo-floss"><img alt="galtzo-floss Logo by GitHub" src="https://github.com/galtzo-floss.png?size=192" width="14%" align="right"/></a>
65
2
 
66
- [benchmarking-example]: https://github.com/panorama-ed/memo_wise/pull/339
3
+ # 🪑 GemBench
67
4
 
68
- ## What's it do?
5
+ [![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
69
6
 
70
- 🏁 Copy & Re-namespace any gem to benchmark side-by-side with `benchmarks-ips`!
7
+ `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
71
8
 
72
- 👯 For example, many of the ~dozen Memoization gems use the same namespaces (`Memoist`, `Memery`, etc).
73
- In order to compare them side-by-side one of them must be re-namespaced. ([working example][benchmarking-example])
9
+ ---
74
10
 
75
- <details>
76
- <summary>Scene: Spectator at a game of Ruby Sports Gem Ball</summary>
77
-
78
- Gem wearing jersey **#23**:
79
-
80
- > "Put me in coach!"
11
+ `if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
81
12
 
82
- Other Gem, also wearing jersey **#23**:
13
+ [![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 at ko-fi.com][🖇kofi-img]][🖇kofi]
83
14
 
84
- > "Put me in coach!"
15
+ <details markdown="1">
16
+ <summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
85
17
 
86
- Coach:
87
-
88
- > ❨╯°□°❩╯︵┻━┻ fine, but one of you change your jersey first!
18
+ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
89
19
 
90
20
  </details>
91
21
 
92
- 🤩 Benchmark trunk against released version of a library! ([working example][benchmarking-example])
93
-
94
- 🧐 A `git clone` build can now be run against the latest public release build, side-by-side, by re-namespacing one of them. ([working example][benchmarking-example])
95
-
96
- 🕵️‍♀️ Static Gemfile and installed gem library source code analysis.
97
- Regex search through all of a project's source code, including installed Bundler dependencies.
98
-
99
- 🛟 Trim down app load times, such as on Heroku, by finding and keeping your worst players on the bench.
100
-
101
- | Primary Namespace | `GemBench` |
102
- |-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
103
- | gem name | [gem_bench](https://rubygems.org/gems/gem_bench) |
104
- | code triage | [![Open Source Helpers](https://www.codetriage.com/pboling/gem_bench/badges/users.svg)](https://www.codetriage.com/pboling/gem_bench) |
105
- | documentation | [on Github.com][homepage], [on Rdoc.info][documentation] |
106
- | expert support | [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) |
107
- | `...` 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Follow Me on LinkedIn][🖇linkedin-img]][🖇linkedin] [![Find Me on WellFound:][✌️wellfound-img]][✌️wellfound] [![Find Me on CrunchBase][💲crunchbase-img]][💲crunchbase] [![My LinkTree][🌳linktree-img]][🌳linktree] [![Follow Me on Ruby.Social][🐘ruby-mast-img]][🐘ruby-mast] [![Tweet @ Peter][🐦tweet-img]][🐦tweet] [💻][coderme] [🌏][aboutme] |
108
-
109
- <!-- 7️⃣ spread 💖 -->
110
- [🐦tweet-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow%20%40galtzo
111
- [🐦tweet]: http://twitter.com/galtzo
112
- [🚎blog]: http://www.railsbling.com/tags/gem_bench/
113
- [🚎blog-img]: https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat
114
- [🖇linkedin]: http://www.linkedin.com/in/peterboling
115
- [🖇linkedin-img]: https://img.shields.io/badge/PeterBoling-blue?style=plastic&logo=linkedin
116
- [✌️wellfound]: https://angel.co/u/peter-boling
117
- [✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=plastic&logo=wellfound
118
- [💲crunchbase]: https://www.crunchbase.com/person/peter-boling
119
- [💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=plastic&logo=crunchbase
120
- [🐘ruby-mast]: https://ruby.social/@galtzo
121
- [🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https%3A%2F%2Fruby.social&style=plastic&logo=mastodon&label=Ruby%20%40galtzo
122
- [🌳linktree]: https://linktr.ee/galtzo
123
- [🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=plastic&logo=linktree
124
-
125
- <!-- Maintainer Contact Links -->
126
- [aboutme]: https://about.me/peter.boling
127
- [coderme]: https://coderwall.com/Peter%20Boling
128
-
129
- ### New for 2.0.1 - `GemBench::Jersey`
130
-
131
- Allows you to re-namespace any gem.
132
- You can, for example, benchmark a gem against another version of itself.
133
-
134
- The gem `alt_memery` uses a namespace, `Memery`, that does not match the gem name.
135
-
136
- ```ruby
137
- require "gem_bench/jersey"
138
-
139
- jersey = GemBench::Jersey.new(
140
- gem_name: "alt_memery",
141
- trades: {"Memery" => "AltMemery"},
142
- metadata: { # optional, mostly used for benchmarking report output
143
- something: "a value here",
144
- something_else: :obviously,
145
- },
146
- )
147
- jersey.doff_and_don
148
- # The re-namespaced constant is now available!
149
- AltMemery # => AltMemery
150
- jersey.as_klass # => AltMemery
151
-
152
- # The original, unmodified, gem is still there!
153
- require "alt_memery"
154
-
155
- Memery # => Memery
156
- # So you can use both!
157
- ```
158
-
159
- NOTE: It is not required by default, so you do need to require the Jersey if you want to use it!
160
-
161
- ```ruby
162
- require "gem_bench/jersey"
163
- ```
164
-
165
- #### Usage
166
-
167
- If the original gem defines multiple top-level namespaces,
168
- they can all be renamed by providing more key value pairs in `trades`.
169
- If the original gem monkey patches other libraries,
170
- that behavior can't be isolated, so YMMV.
171
-
172
- NOTE: Non-top-level namespaces do not need to be renamed,
173
- as they are isolated within their parent namespace.
174
-
175
- #### Example
176
-
177
- For a real example, see: https://github.com/panorama-ed/memo_wise/pull/339
178
-
179
- #### Naming: Why `doff_and_don`?
180
-
181
- > Wouldn't "copy_gem" make sense?
182
-
183
- Actually copy is an overloaded term, which creates confusion in this use case.
184
- This method Generates a temp directory, and creates a copy of a gem within it.
185
- Re-namespaces the copy according to the `trades` configuration.
186
- Then requires each file of the "copied gem", resulting
187
- in a loaded gem that will not have namespace
188
- collisions when loaded alongside the original-namespaced gem.
189
- Note that "copied gem" in the previous sentence is ambiguous without the supporting context.
190
- The "copied gem" can mean either the original, or the "copy", which is why this gem refers to
191
- a "doffed gem" (the original) and a "donned gem" (the copy).
192
-
193
- Also because `Jersey`. Duh...
194
-
195
- #### Advanced Usage
196
-
197
- If a block is provided the contents of each file will be yielded to the block,
198
- after all namespace substitutions from `trades` are complete, but before the contents
199
- are written to the donned (re-namespaced) gem. The return value of the block will be
200
- written to the file in this scenario.
201
-
202
- ### New for 2.0.0 - Dropped Support for Ruby 2.0, 2.1, 2.2
22
+ ## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
23
+
24
+ ## 💡 Info you can shake a stick at
25
+
26
+ | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
27
+ |-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
28
+ | Works with JRuby | [![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]|
29
+ | Works with Truffle Ruby | [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
30
+ | Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
31
+ | 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]|
32
+ | Works with MRI Ruby 2 | ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![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]|
33
+ | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![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] |
34
+ | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
35
+ | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
36
+ | Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
37
+ | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
38
+ | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
39
+ | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
40
+
41
+ ### Compatibility
42
+
43
+ The gem's declared runtime compatibility floor is MRI Ruby 2.3+, with concordant releases of JRuby and TruffleRuby.
44
+ CI workflows and Appraisals are generated for MRI Ruby 2.4+.
45
+ The current MRI CI lane runs on Linux and macOS.
46
+ The test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml`.
47
+ When it is higher than the runtime floor, older runtime-compatible Rubies are
48
+ not covered by the generated CI or Appraisal matrix.
49
+
50
+ <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>
51
+
52
+ The _amazing_ test matrix is powered by the kettle-dev stack.
53
+
54
+ <details markdown="1">
55
+ <summary>How kettle-dev manages complexity in tests</summary>
56
+
57
+ | Gem | Source | Role | Total downloads |
58
+ |-----|--------|------|---------------------|
59
+ | [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [![Total downloads for appraisal2](https://img.shields.io/gem/dt/appraisal2.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/appraisal2) |
60
+ | [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [![Total downloads for appraisal2-rubocop](https://img.shields.io/gem/dt/appraisal2-rubocop.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
61
+ | [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [![Total downloads for kettle-dev](https://img.shields.io/gem/dt/kettle-dev.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
62
+ | [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [![Total downloads for kettle-jem](https://img.shields.io/gem/dt/kettle-jem.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
63
+ | [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [![Total downloads for kettle-soup-cover](https://img.shields.io/gem/dt/kettle-soup-cover.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
64
+ | [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [![Total downloads for kettle-test](https://img.shields.io/gem/dt/kettle-test.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/kettle-test) |
65
+ | [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [![Total downloads for rubocop-lts](https://img.shields.io/gem/dt/rubocop-lts.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
66
+ | [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [![Total downloads for turbo_tests2](https://img.shields.io/gem/dt/turbo_tests2.svg?style=flat-square)](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
203
67
 
204
- - Required Ruby is now 2.3+
205
- - `VERSION` is now namespaced at `GemBench::Version::VERSION` and is enhanced by `version_gem`.
206
-
207
- ### New for 1.0.2 - Gemfile specs
208
-
209
- Version constraints are important. Give the Gemfile some love in your CI build
210
-
211
- Create a `spec/gemfile_spec.rb` like:
212
-
213
- ```ruby
214
- Rspec.describe("Gemfile") do
215
- it("has version constraint on every gem") do
216
- requirements = GemBench::StrictVersionRequirement.new({verbose: false})
217
- expect(requirements.list_missing_version_constraints).to(eq([]))
218
- end
219
- end
220
- ```
221
-
222
- Then your build will fail as soon as a gem is added without a proper constraint:
223
-
224
- ```
225
- Failures:
226
-
227
- 1) Gemfile has version constraint on every gem
228
- Failure/Error: expect(requirements.list_missing_version_constraints).to eq([])
229
-
230
- expected: []
231
- got: ["puma"]
232
-
233
- (compared using ==)
234
- # ./spec/gemfile_spec.rb:7:in `block (2 levels) in <top (required)>'
235
- ```
236
-
237
- For `:git`/`:github` sources, `:ref` and `:tag` are considered as "constraints", while `:branch` is not, because branches may be a moving target, and this gem aims to make Gemfiles production-ready.
238
- For string version constraints anything is allowed (e.g. `'~> 1.0'`), as it assumes the constraint placed is well considered.
239
-
240
- ### New for 1.0.0 - Find WAT Dragons in 3rd party source code
241
-
242
- Search the Ruby source code of all the gems loaded by your Gemfile for a specified regex, to find out which gems have wat DRAGONS.
243
-
244
- <details>
245
- <summary>Scene: Rubiana Jones is searching for WAT Dragon relics in dusty bins of source code</summary>
246
-
247
- Gem:
68
+ </details>
248
69
 
249
- > "I have no wat DRAGONS!"`
70
+ ### Federated DVCS
250
71
 
251
- Rubiana Jones:
72
+ <details markdown="1">
73
+ <summary>Find this repo on federated forges (Coming soon!)</summary>
252
74
 
253
- > ❨╯°□°❩╯︵┻━┻ Yes you do!
254
-
255
- ```
256
- >> puts GemBench.find(look_for_regex: /wat/).starters.map {|gem| "#{gem.name} has wat DRAGONS at #{gem.stats}" }.join("\n")
257
- [GemBench] Will search for gems in ["/Users/pboling/.rvm/gems/ruby-2.4.0@foss/gems", "/Users/pboling/.rvm/gems/ruby-2.4.0@global/gems", "/Users/pboling/.rvm/gems/ruby-2.4.0@foss/bundler/gems"]
258
- [GemBench] Detected 11 loaded gems + 2 loaded gems which GemBench is configured to ignore.
259
- byebug has wat DRAGONS at [["/Users/pboling/.rvm/gems/ruby-2.4.0@foss/gems/byebug-9.0.6/lib/byebug/commands/frame.rb", 954]]
260
- => nil
261
- ```
262
-
263
- NOTE: The number (954, above) is not a line number. The file which contains the text `wat` was the 954th file evaluated, i.e. the number doesn't matter.
264
- NOTE: This is a contrived example. The occurrence of `wat` in byebug is meaningless: `byebug/commands/frame.rb:34` has ` if there is a front end also watching over things.`. This is just an example! You can find anything you want, perhaps even something important!
75
+ | Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
76
+ |-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
77
+ | 🧪 [galtzo-floss/gem_bench on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
78
+ | 🧊 [galtzo-floss/gem_bench on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
79
+ | 🐙 [galtzo-floss/gem_bench on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
265
80
 
266
81
  </details>
267
82
 
268
- It is a fact of RubyGems that many of them do not need to be loaded by your app at boot time.
269
- It is a fact of Bundler that you don't know which ones need to be 'required' while staring at the Gemfile.
270
- It is a fact of Heroku that you only have 60, 75, or 120 ([by special request](https://devcenter.heroku.com/articles/error-codes#h20-app-boot-timeout)) precious seconds to get your app loaded before ❨╯°□°❩╯︵┻━┻
83
+ ### Enterprise Support
271
84
 
272
- This gem helps by telling you which gems don't need to be loaded during boot time.
85
+ For enterprise support from the maintainer, use [Upwork][👨🏼‍🏫expsup-upwork] or [CodeMentor][👨🏼‍🏫expsup-codementor].
273
86
 
274
- You can even use it to evaluate your project's actual Gemfile for easy peasy boot time savings. (see Advanced Usage)
87
+ Other support channels:
275
88
 
276
- ## Installation
89
+ - [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
90
+ - [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
277
91
 
278
- You *may not* need to add this gem to your project.
92
+ ## ✨ Installation
279
93
 
280
94
  Install the gem and add to the application's Gemfile by executing:
281
95
 
282
- $ bundle add gem_bench
96
+ ```console
97
+ bundle add gem_bench
98
+ ```
283
99
 
284
100
  If bundler is not being used to manage dependencies, install the gem by executing:
285
101
 
286
- $ gem install gem_bench
287
-
288
- <details>
289
- <summary>Installation Options</summary>
290
-
291
- ### Option 1
292
-
293
- Just install it, and require it in your `irb` or `console` session when you want to use it. However, if you load your console with `bundle exec` then you only have access to gems in the gemfile, so either load without `bundle exec` or add it to the `Gemfile`.
294
-
295
- $ gem install gem_bench
296
-
297
- ### Option 2
298
-
299
- If you decide to include it in your project: add this line to your `Gemfile` in the `:development` group.
300
-
301
- gem 'gem_bench', :require => false, :group => :development
302
-
303
- ### Option BEST 1
304
-
305
- Or better yet [follow the bundle group pattern in your Gemfile][bundle-group-pattern] and setup a console group so it will only load in the console, and not the web app. With it loading only in the console session the `require: false` is completely optional. The gem is tiny, so won't impact console load time much. Requiring it will allow checking your `Gemfile` without needing to first `require 'gem_bench'`.
306
-
307
- gem 'gem_bench', :group => :console
308
-
309
- And then execute:
310
-
311
- $ bundle
312
-
313
- ### Option BEST 2
314
-
315
- If you are going to use the gem in your specs, you will need to add it to the test group.
102
+ ```console
103
+ gem install gem_bench
104
+ ```
316
105
 
317
- gem 'gem_bench', :group => :test
106
+ ## ⚙️ Configuration
318
107
 
319
- </details>
108
+ GemBench reads the active Bundler/RubyGems installation by default. Pass a
109
+ Gemfile path or finder options to `GemBench.find`, `GemBench.check`, or the
110
+ corresponding command-line entry point when the target project is not the
111
+ current bundle. There is no global configuration file.
320
112
 
321
- ## Usage
113
+ ## 🔧 Basic Usage
322
114
 
323
115
  Works with Ruby >= 2.3.
324
116
 
@@ -606,24 +398,96 @@ How much faster will my app boot loading 45 fewer gems? A bit.
606
398
 
607
399
  </details>
608
400
 
609
- ## Future
401
+ ## 🦷 FLOSS Funding
402
+
403
+ While galtzo-floss tools are free software and will always be, the project would benefit immensely from some funding.
404
+ Raising a monthly budget of... "dollars" would make the project more sustainable.
405
+
406
+ We welcome both individual and corporate sponsors! We also offer a
407
+ wide array of funding channels to account for your preferences.
408
+ Currently, [Open Collective][🖇osc] is our preferred funding platform.
409
+
410
+ ### Corporate Sponsorship
411
+
412
+ **If you're working in a company that's making significant use of galtzo-floss tools we'd
413
+ appreciate it if you suggest to your company to become a galtzo-floss sponsor.**
414
+
415
+ ### Individual Support
416
+
417
+ You can support the development of galtzo-floss tools via
418
+ [GitHub Sponsors][🖇sponsor],
419
+ [Liberapay][⛳liberapay],
420
+ [Open Collective][🖇osc],
421
+ and [PayPal][🖇paypal].
422
+
423
+ ### Open Collective for Individuals
424
+
425
+ Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/galtzo-floss#backer)]
426
+
427
+ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
428
+
429
+ <!-- OPENCOLLECTIVE-INDIVIDUALS:START -->
430
+ No backers yet. Be the first!
431
+ <!-- OPENCOLLECTIVE-INDIVIDUALS:END -->
432
+
433
+ ### Open Collective for Organizations
434
+
435
+ Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/galtzo-floss#sponsor)]
610
436
 
611
- This gem determines which gems need to be loaded at Rails' boot time by looking for Railties and Engines.
612
- A future version will also look for initializers, because gems which have code that runs (e.g. configuration) in an initializer also need to be loaded at boot time.
437
+ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
438
+
439
+ <!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
440
+ No sponsors yet. Be the first!
441
+ <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
442
+
443
+ [kettle-readme-backers]: https://github.com/galtzo-floss/gem_bench/blob/main/bin/kettle-readme-backers
444
+
445
+ ### Another way to support open-source
446
+
447
+ I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈‍ cats).
448
+
449
+ If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
450
+
451
+ I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.
452
+
453
+ **[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
454
+
455
+ [![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]
456
+
457
+ ## 🔐 Security
458
+
459
+ See [SECURITY.md][🔐security].
613
460
 
614
461
  ## 🤝 Contributing
615
462
 
616
- See [CONTRIBUTING.md][🤝contributing]
463
+ If you need some ideas of where to help, you could work on adding more code coverage,
464
+ check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
465
+
466
+ We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
467
+
468
+ See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
617
469
 
618
- [🤝contributing]: CONTRIBUTING.md
470
+ ### 🚀 Release Instructions
471
+
472
+ See [CONTRIBUTING.md][🤝contributing].
619
473
 
620
474
  ### Code Coverage
621
475
 
622
- If you need some ideas of where to help, you could work on adding more code coverage.
476
+ <details markdown="1">
477
+ <summary>Coverage service badges</summary>
478
+
479
+ [![Coverage Graph][🏀codecov-g]][🏀codecov]
480
+
481
+ [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
482
+
483
+ [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
484
+
485
+ </details>
623
486
 
624
- [![Coverage Graph][🔑codecov-g]][🖇codecov]
487
+ ### 🪇 Code of Conduct
625
488
 
626
- [🔑codecov-g]: https://codecov.io/gh/pboling/gem_bench/graphs/tree.svg?token=selEoMrZzA
489
+ Everyone interacting with this project's codebases, issue trackers,
490
+ chat rooms and mailing lists agrees to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
627
491
 
628
492
  ## 🌈 Contributors
629
493
 
@@ -631,77 +495,276 @@ If you need some ideas of where to help, you could work on adding more code cove
631
495
 
632
496
  Made with [contributors-img][🖐contrib-rocks].
633
497
 
634
- [🖐contrib-rocks]: https://contrib.rocks
635
- [🖐contributors]: https://github.com/pboling/gem_bench/graphs/contributors
636
- [🖐contributors-img]: https://contrib.rocks/image?repo=pboling/gem_bench
637
-
638
- ## Star History
498
+ Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/gem_bench/-/graphs/main][🚎contributors-gl]
639
499
 
640
- <a href="https://star-history.com/#pboling/gem_bench&Date">
641
- <picture>
642
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=pboling/gem_bench&type=Date&theme=dark" />
643
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=pboling/gem_bench&type=Date" />
644
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=pboling/gem_bench&type=Date" />
645
- </picture>
646
- </a>
500
+ ## 📌 Versioning
647
501
 
648
- ## 🪇 Code of Conduct
502
+ This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
503
+ For most applications, prefer the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
649
504
 
650
- Everyone interacting in this project's codebases, issue trackers,
651
- chat rooms and mailing lists is expected to follow the [code of conduct][🪇conduct].
505
+ For example:
652
506
 
653
- [🪇conduct]: CODE_OF_CONDUCT.md
507
+ ```ruby
508
+ spec.add_dependency("gem_bench", "~> 2.0")
509
+ ```
654
510
 
655
- ## 📌 Versioning
511
+ <details markdown="1">
512
+ <summary>📌 Is "Platform Support" part of the public API? More details inside.</summary>
656
513
 
657
- This Library adheres to [Semantic Versioning 2.0.0][📌semver].
658
- Violations of this scheme should be reported as bugs.
659
- Specifically, if a minor or patch version is released that breaks backward compatibility,
660
- a new version should be immediately released that restores compatibility.
661
- Breaking changes to the public API will only be introduced with new major versions.
514
+ Dropping support for a platform can be a breaking change for affected users.
515
+ If a release changes supported platforms, it should be called out clearly in the changelog and versioned with that impact in mind.
662
516
 
663
517
  To get a better understanding of how SemVer is intended to work over a project's lifetime,
664
518
  read this article from the creator of SemVer:
665
519
 
666
520
  - ["Major Version Numbers are Not Sacred"][📌major-versions-not-sacred]
667
521
 
668
- As a result of this policy, you can (and should) specify a dependency on these libraries using
669
- the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
522
+ </details>
670
523
 
671
- For example:
524
+ See [CHANGELOG.md][📌changelog] for a list of releases.
672
525
 
673
- ```ruby
674
- spec.add_dependency("gem_bench", "~> 2.0")
675
- ```
526
+ ## 📄 License
676
527
 
677
- See [CHANGELOG.md][📌changelog] for list of releases.
528
+ The gem is available as open source under the terms of
529
+ the [MIT](https://github.com/galtzo-floss/gem_bench/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
678
530
 
679
- [comment]: <> ( 📌 VERSIONING LINKS )
531
+ ### © Copyright
680
532
 
681
- [📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
682
- [📌semver]: http://semver.org/
683
- [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
684
- [📌changelog]: CHANGELOG.md
533
+ See [LICENSE.md][📄license] for the official copyright notice.
685
534
 
686
- ## 📄 License
535
+ <details markdown="1">
536
+ <summary>Copyright holders</summary>
687
537
 
688
- The gem is available as open source under the terms of
689
- the [MIT License][📄license] [![License: MIT][📄license-img]][📄license-ref].
690
- See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright-notice-explainer].
538
+ - Copyright (c) 2013 John Joseph Bachir
539
+ - Copyright (c) 2013-2014, 2017-2019, 2023-2024, 2026 Peter H. Boling
691
540
 
692
- [comment]: <> ( 📄 LEGAL LINKS )
541
+ </details>
693
542
 
694
- [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
695
- [📄license]: LICENSE.txt
696
- [📄license-ref]: https://opensource.org/licenses/MIT
697
- [📄license-img]: https://img.shields.io/badge/License-MIT-green.svg
543
+ ## 🤑 A request for help
698
544
 
699
- ### © Copyright
545
+ Maintainers have teeth and need to pay their dentists.
546
+ After getting laid off in an RIF in March, and encountering difficulty finding a new one,
547
+ I began spending most of my time building open source tools.
548
+ I'm hoping to be able to pay for my kids' health insurance this month,
549
+ so if you value the work I am doing, I need your support.
550
+ Please consider sponsoring me or the project.
551
+
552
+ To join the community or get help, use the RubyForum or Discord.
553
+
554
+ [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
555
+ [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
556
+
557
+ To say "thanks!" ☝️ Join the community or 👇️ send money.
558
+
559
+ [![Sponsor galtzo-floss/gem_bench on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
560
+
561
+ ### Please give the project a star ⭐ ♥.
700
562
 
701
- * Copyright (c) 2013 - 2014, 2016 - 2020, 2023 - 2024 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
563
+ Many parts of this project are actively managed by a [kettle-jem](https://github.com/structuredmerge/structuredmerge-ruby/tree/main/gems/kettle-jem) smart template utilizing [StructuredMerge.org](https://structuredmerge.org) merge contracts.
564
+
565
+ Thanks for RTFM. ☺️
566
+
567
+ [⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
568
+ [⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
569
+ [⛳liberapay]: https://liberapay.com/pboling/donate
570
+ [🖇osc-all-img]: https://img.shields.io/opencollective/all/galtzo-floss
571
+ [🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss
572
+ [🖇osc-backers-img]: https://img.shields.io/opencollective/backers/galtzo-floss
573
+ [🖇osc-backers]: https://opencollective.com/galtzo-floss#backer
574
+ [🖇osc-backers-i]: https://opencollective.com/galtzo-floss/backers/badge.svg?style=flat
575
+ [🖇osc-sponsors]: https://opencollective.com/galtzo-floss#sponsor
576
+ [🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
577
+ [🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/galtzo-floss?style=for-the-badge
578
+ [🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss?style=for-the-badge
579
+ [🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/galtzo-floss?style=for-the-badge
580
+ [🖇osc]: https://opencollective.com/galtzo-floss
581
+ [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
582
+ [🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
583
+ [🖇sponsor]: https://github.com/sponsors/pboling
584
+ [🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
585
+ [🖇kofi]: https://ko-fi.com/pboling
586
+ [🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
587
+ [🖇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
588
+ [🖇buyme]: https://www.buymeacoffee.com/pboling
589
+ [🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
590
+ [🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
591
+ [🖇paypal]: https://www.paypal.com/paypalme/peterboling
592
+ [🖇floss-funding.dev]: https://floss-funding.dev
593
+ [🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
594
+ [✉️discord-invite]: https://discord.gg/3qme4XHNKN
595
+ [✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
596
+ [✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
597
+ [✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
598
+ [✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
599
+ [✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
600
+ [✉️ruby-forum]: https://www.rubyforum.org/tag/galtzo-floss
601
+
602
+ [✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
603
+ [⛳️gem-namespace]: https://github.com/galtzo-floss/gem_bench
604
+ [⛳️namespace-img]: https://img.shields.io/badge/namespace-GemBench-3C2D2D.svg?style=square&logo=ruby&logoColor=white
605
+ [⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/gem_bench
606
+ [⛳️name-img]: https://img.shields.io/badge/name-gem__bench-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
607
+ [⛳️tag-img]: https://img.shields.io/github/tag/galtzo-floss/gem_bench.svg
608
+ [⛳️tag]: https://github.com/galtzo-floss/gem_bench/releases
609
+ [🚂maint-blog]: http://www.railsbling.com/tags/gem_bench
610
+ [🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
611
+ [🚂maint-contact]: http://www.railsbling.com/contact
612
+ [🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
613
+ [💖🖇linkedin]: http://www.linkedin.com/in/peterboling
614
+ [💖🖇linkedin-img]: https://img.shields.io/badge/LinkedIn-Profile-0B66C2?style=flat&logo=newjapanprowrestling
615
+ [💖✌️wellfound]: https://wellfound.com/u/peter-boling
616
+ [💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
617
+ [💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
618
+ [💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
619
+ [💖🐘ruby-mast]: https://ruby.social/@galtzo
620
+ [💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https://ruby.social&style=flat&logo=mastodon&label=Ruby%20@galtzo
621
+ [💖🦋bluesky]: https://bsky.app/profile/galtzo.com
622
+ [💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.com-0285FF?style=flat&logo=bluesky&logoColor=white
623
+ [💖🌳linktree]: https://linktr.ee/galtzo
624
+ [💖🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=flat&logo=linktree
625
+ [💖💁🏼‍♂️devto]: https://dev.to/galtzo
626
+ [💖💁🏼‍♂️devto-img]: https://img.shields.io/badge/dev.to-0A0A0A?style=flat&logo=devdotto&logoColor=white
627
+ [💖💁🏼‍♂️aboutme]: https://about.me/peter.boling
628
+ [💖💁🏼‍♂️aboutme-img]: https://img.shields.io/badge/about.me-0A0A0A?style=flat&logo=aboutme&logoColor=white
629
+ [💖🧊berg]: https://codeberg.org/pboling
630
+ [💖🐙hub]: https://github.org/pboling
631
+ [💖🛖hut]: https://sr.ht/~galtzo/
632
+ [💖🧪lab]: https://gitlab.com/pboling
633
+ [👨🏼‍🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
634
+ [👨🏼‍🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
635
+ [👨🏼‍🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
636
+ [👨🏼‍🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
637
+ [💁🏼‍♂️peterboling]: http://www.peterboling.com
638
+ [🚂railsbling]: http://www.railsbling.com
639
+ [📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
640
+ [📜src-gl]: https://gitlab.com/galtzo-floss/gem_bench
641
+ [📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
642
+ [📜src-cb]: https://codeberg.org/galtzo-floss/gem_bench
643
+ [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
644
+ [📜src-gh]: https://github.com/galtzo-floss/gem_bench
645
+ [📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
646
+ [📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
647
+ [📜gl-wiki]: https://gitlab.com/galtzo-floss/gem_bench/-/wikis/home
648
+ [📜gh-wiki]: https://github.com/galtzo-floss/gem_bench/wiki
649
+ [📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
650
+ [📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
651
+ [👽dl-rank]: https://clickgems.clickhouse.com/dashboard/gem_bench
652
+ [👽dl-ranki]: https://img.shields.io/gem/dt/gem_bench.svg
653
+ [👽version]: https://clickgems.clickhouse.com/dashboard/gem_bench
654
+ [👽versioni]: https://img.shields.io/gem/v/gem_bench.svg
655
+ [🏀qlty-mnt]: https://qlty.sh/gh/galtzo-floss/projects/gem_bench
656
+ [🏀qlty-mnti]: https://qlty.sh/gh/galtzo-floss/projects/gem_bench/maintainability.svg
657
+ [🏀qlty-cov]: https://qlty.sh/gh/galtzo-floss/projects/gem_bench/metrics/code?sort=coverageRating
658
+ [🏀qlty-covi]: https://qlty.sh/gh/galtzo-floss/projects/gem_bench/coverage.svg
659
+ [🏀codecov]: https://codecov.io/gh/galtzo-floss/gem_bench
660
+ [🏀codecovi]: https://codecov.io/gh/galtzo-floss/gem_bench/graph/badge.svg
661
+ [🏀coveralls]: https://coveralls.io/github/galtzo-floss/gem_bench?branch=main
662
+ [🏀coveralls-img]: https://coveralls.io/repos/github/galtzo-floss/gem_bench/badge.svg?branch=main
663
+ [🚎ruby-2.4-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-2.4.yml
664
+ [🚎ruby-2.5-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-2.5.yml
665
+ [🚎ruby-2.6-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-2.6.yml
666
+ [🚎ruby-2.7-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-2.7.yml
667
+ [🚎ruby-3.0-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-3.0.yml
668
+ [🚎ruby-3.1-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-3.1.yml
669
+ [🚎ruby-3.2-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-3.2.yml
670
+ [🚎ruby-3.3-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-3.3.yml
671
+ [🚎ruby-3.4-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/ruby-3.4.yml
672
+ [🚎jruby-10.0-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/jruby-10.0.yml
673
+ [🚎truby-33.0-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/truffleruby-33.0.yml
674
+ [🚎2-cov-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/coverage.yml
675
+ [🚎2-cov-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/coverage.yml/badge.svg
676
+ [🚎3-hd-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/heads.yml
677
+ [🚎3-hd-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/heads.yml/badge.svg
678
+ [🚎5-st-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/style.yml
679
+ [🚎5-st-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/style.yml/badge.svg
680
+ [🚎9-t-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/truffle.yml
681
+ [🚎9-t-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/truffle.yml/badge.svg
682
+ [🚎10-j-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/jruby.yml
683
+ [🚎10-j-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/jruby.yml/badge.svg
684
+ [🚎11-c-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/current.yml
685
+ [🚎11-c-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/current.yml/badge.svg
686
+ [🚎12-crh-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/dep-heads.yml
687
+ [🚎12-crh-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/dep-heads.yml/badge.svg
688
+ [🚎13-🔒️-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/locked_deps.yml
689
+ [🚎13-🔒️-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/locked_deps.yml/badge.svg
690
+ [🚎14-🔓️-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/unlocked_deps.yml
691
+ [🚎14-🔓️-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/unlocked_deps.yml/badge.svg
692
+ [🚎15-🪪-wf]: https://github.com/galtzo-floss/gem_bench/actions/workflows/license-eye.yml
693
+ [🚎15-🪪-wfi]: https://github.com/galtzo-floss/gem_bench/actions/workflows/license-eye.yml/badge.svg
694
+ [💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
695
+ [💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
696
+ [💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
697
+ [💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
698
+ [💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
699
+ [💎ruby-3.0i]: https://img.shields.io/badge/Ruby-3.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
700
+ [💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
701
+ [💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
702
+ [💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
703
+ [💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
704
+ [💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
705
+ [💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
706
+ [💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
707
+ [💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
708
+ [💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
709
+ [💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
710
+ [💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
711
+ [🤝gh-issues]: https://github.com/galtzo-floss/gem_bench/issues
712
+ [🤝gh-pulls]: https://github.com/galtzo-floss/gem_bench/pulls
713
+ [🤝gl-issues]: https://gitlab.com/galtzo-floss/gem_bench/-/issues
714
+ [🤝gl-pulls]: https://gitlab.com/galtzo-floss/gem_bench/-/merge_requests
715
+ [🤝cb-issues]: https://codeberg.org/galtzo-floss/gem_bench/issues
716
+ [🤝cb-pulls]: https://codeberg.org/galtzo-floss/gem_bench/pulls
717
+ [🤝cb-donate]: https://donate.codeberg.org/
718
+ [🤝contributing]: https://github.com/galtzo-floss/gem_bench/blob/main/CONTRIBUTING.md
719
+ [🏀codecov-g]: https://codecov.io/gh/galtzo-floss/gem_bench/graph/badge.svg
720
+ [🖐contrib-rocks]: https://contrib.rocks
721
+ [🖐contributors]: https://github.com/galtzo-floss/gem_bench/graphs/contributors
722
+ [🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/gem_bench
723
+ [🚎contributors-gl]: https://gitlab.com/galtzo-floss/gem_bench/-/graphs/main
724
+ [🪇conduct]: https://github.com/galtzo-floss/gem_bench/blob/main/CODE_OF_CONDUCT.md
725
+ [🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
726
+ [📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
727
+ [📌semver]: https://semver.org/spec/v2.0.0.html
728
+ [📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
729
+ [📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
730
+ [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
731
+ [📌changelog]: https://github.com/galtzo-floss/gem_bench/blob/main/CHANGELOG.md
732
+ [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
733
+ [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
734
+ [📌gitmoji]: https://gitmoji.dev
735
+ [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
736
+ [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
737
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.504-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
738
+ [🔐security]: https://github.com/galtzo-floss/gem_bench/blob/main/SECURITY.md
739
+ [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
740
+ [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
741
+ [📄license]: LICENSE.md
742
+ [📄license-ref]: https://github.com/galtzo-floss/gem_bench/blob/main/MIT.md
743
+ [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
744
+ [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
745
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
746
+
747
+ [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
748
+ [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
749
+ [🚎yard-current]: http://rubydoc.info/gems/gem_bench
750
+ [🚎yard-head]: https://gem-bench.galtzo.com
751
+ [💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
752
+ [💎SHA_checksums]: https://gitlab.com/galtzo-floss/gem_bench/-/tree/main/checksums
753
+ [💎rlts]: https://github.com/rubocop-lts/rubocop-lts
754
+ [💎rlts-img]: https://img.shields.io/badge/code_style_&_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
755
+ [💎appraisal2]: https://github.com/appraisal-rb/appraisal2
756
+ [💎appraisal2-img]: https://img.shields.io/badge/appraised_by-appraisal2-34495e.svg?plastic&logo=ruby&logoColor=white
757
+ [💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
758
+
759
+ <!-- kettle-jem:metadata:start -->
760
+ | Field | Value |
761
+ |---|---|
762
+ | Package | gem_bench |
763
+ | Description | 🪑 Benchmark different versions of same or similar gems<br>* Copy & Re-namespace any gem to benchmark side-by-side with `benchmarks-ips`<br>* Enforce Gemfile version constraints<br>* Regex search across all installed gem's source code to find issues quickly<br>* Trim down app load times by keeping your worst players on the bench (useful for beating Heroku slug load time cutoff) |
764
+ | Homepage | https://github.com/galtzo-floss/gem_bench |
765
+ | Source | https://github.com/galtzo-floss/gem_bench |
766
+ | License | `MIT` |
767
+ | Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://thanks.dev/gh/pboling, https://www.buymeacoffee.com/pboling |
768
+ <!-- kettle-jem:metadata:end -->
702
769
 
703
- [railsbling]: http://www.railsbling.com
704
- [peterboling]: http://www.peterboling.com
705
770
  [bundle-group-pattern]: https://gist.github.com/pboling/4564780
706
- [documentation]: http://rdoc.info/github/pboling/gem_bench/frames
707
- [homepage]: https://github.com/pboling/gem_bench