gem_bench 2.0.4 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47591b1b5f1880cbb2c40be1199aa7fa65a25d2c32ca52131ba54e0e89d8b6b7
4
- data.tar.gz: 93aad6d4e020398b93ffdaa2e8fddfce5b5e5cc4fa08854f22850dcccee9f0ee
3
+ metadata.gz: cfc61f2b6a091532b708531c6f2af77666f8c4b611df88acd722a0ba723cd041
4
+ data.tar.gz: 1a91463cbbe5398ff4f4b37a1159065c8cb286050faaf651f57eaf509a104bd7
5
5
  SHA512:
6
- metadata.gz: 47827b59b13ee527cecfc8db349437c0fc416aa53fa83b4138a6c1884652d857ce9be708ec534e099b8a41f47914b831d8f73e09e430134f4deb050714a1925a
7
- data.tar.gz: 9ae3067637e3293209bde40127e55ad42882b075ca71fc65e7b025ec5dd4e160f5669767e6990a8a0db915ff6031f1555e432cc6a110e32b09346a710fd304bf
6
+ metadata.gz: 2bde3573a0a8e917c098978c3349e3cffa1442636635a4a52562023e988bac9febb05c4411ba5ea38a5680710d050b6b124393e7971148562f6c2bd366e6212b
7
+ data.tar.gz: 47fd27945835c60211a9e387d76cf87d9dfc5dfcf907d492246cc33387e4a4f8f0d7d160fc2942d9a1c397a9228d8cf12a16058517f6b601f9c1cd5041dd345c
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,26 +1,157 @@
1
1
  # Changelog
2
2
 
3
+ [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
4
+
3
5
  All notable changes to this project will be documented in this file.
4
6
 
5
- The format is based on [Keep a Changelog v1](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.0.0.html).
7
+ The format is based on [Keep a Changelog][📗keep-changelog],
8
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
9
+ and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
10
+ Please file a bug if you notice a violation of semantic versioning.
11
+
12
+ [📌semver]: https://semver.org/spec/v2.0.0.html
13
+ [📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
14
+ [📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
15
+ [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
16
+ [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
17
+ [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
7
18
 
8
19
  ## [Unreleased]
20
+
9
21
  ### Added
22
+
10
23
  ### Changed
11
- ### Fixed
24
+
25
+ ### Deprecated
26
+
12
27
  ### Removed
13
28
 
29
+ ### Fixed
30
+
31
+ ### Security
32
+
33
+ ## [2.0.6] - 2026-11-17
34
+
35
+ - TAG: [v2.0.6][2.0.6t]
36
+ - COVERAGE: 99.01% -- 499/504 lines in 9 files
37
+ - BRANCH COVERAGE: 91.43% -- 160/175 branches in 9 files
38
+ - 60.00% documented
39
+
40
+ ### Added
41
+
42
+ - kettle-jem-template-20260720-005 - README Support & Community links now
43
+ include RubyForum.
44
+ - kettle-jem-template-20260726-001 - Projects now include YARD lint
45
+ configuration and documentation dependencies so documentation issues fail
46
+ before generated docs are refreshed.
47
+ - kettle-jem-template-20260727-001 - Spec harness documentation now lists the
48
+ RSpec helpers provided by `kettle-test`.
49
+
50
+ - kettle-jem-template-20260913-001 - Templating now also surfaces a review
51
+ entry in `dependency_conflicts.resolve` when a direct development
52
+ dependency doesn't support one or more of this project's declared
53
+ `engines:` and has no template-managed modular home (e.g. `sqlite3` on
54
+ `jruby`). Review each entry and pick a resolution per the project's own
55
+ engine support needs.
56
+
57
+ ### Changed
58
+
59
+ - kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
60
+ files, reducing package noise for downstream packagers.
61
+ - kettle-jem-template-20260720-002 - Development Gemfiles now use the released
62
+ `tree_sitter_language_pack` gem 1.13.3 or newer by default.
63
+ - kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
64
+ cover `version.rb` without redefining constants, or are removed when version
65
+ specs are not managed for the project.
66
+ - kettle-jem-template-20260801-001 - Generated README gem dashboard links now
67
+ use ClickGems instead of BestGems.
68
+
69
+ - kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
70
+ setup-ruby-flash planning and can prepare appraisal-only jobs without
71
+ installing the main Gemfile bundle.
72
+
73
+ - [kc] kettle-jem/prepare: updated 45 project files:
74
+ - configuration (2)
75
+ - dependencies (43)
76
+ - [kc] kettle-jem/template: updated 51 project files:
77
+ - code and tests (1)
78
+ - dependencies (15)
79
+ - documentation (1)
80
+ - other (5)
81
+ - workflows (29)
82
+
83
+ ### Fixed
84
+
85
+ - kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
86
+ uses the installed `smorg-rb` driver command.
87
+ - kettle-jem-template-20260725-001 - Release pull request branches beginning
88
+ with `feature/release` now run JRuby and TruffleRuby workflows.
89
+ - kettle-jem-template-20260726-002 - Generated version files now document their
90
+ version namespace and constants, reducing warning-only YARD lint output.
91
+ - kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
92
+ QLTY, and Codecov as optional, so provider outages do not fail CI when local
93
+ coverage thresholds still pass.
94
+ - kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
95
+ same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
96
+ installs are not reported as project lint debt.
97
+ - kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
98
+ missing canonical version spec when a project only has shim namespace version
99
+ specs.
100
+ - kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
101
+ relative to the gemspec directory, so release package contents stay correct
102
+ even when the gemspec is loaded from another working directory.
103
+ - kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
104
+ managed configuration block bindings structurally, preventing mixed block
105
+ parameter names from producing invalid configuration after a merge.
106
+ - kettle-jem-template-20260801-003 - Generated project metadata and
107
+ documentation now normalize configured underscore hostnames to valid
108
+ hyphenated hostnames.
109
+ - kettle-jem-template-20260801-004 - Generated organization README logos now
110
+ use GitHub's stable organization avatar endpoint instead of assuming a
111
+ matching Galtzo-hosted asset exists.
112
+
113
+ - kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
114
+ TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
115
+ before the test suite starts.
116
+ - kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
117
+ setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
118
+ lockfile parser failures on Git and path dependencies.
119
+ - kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
120
+ preserving comments and trailing commas during template updates.
121
+
122
+ ## [2.0.5] SEP.21.2024
123
+
124
+ - COVERAGE: 99.80% -- 495/496 lines in 9 files
125
+ - BRANCH COVERAGE: 94.35% -- 167/177 branches in 9 files
126
+ - 58.87% documented
127
+
128
+ ### Added
129
+
130
+ - More specs
131
+ - More documentation
132
+ - 0.2% remaining to 100% test coverage (line)
133
+
134
+ ### Fixed
135
+
136
+ - Documentation errors
137
+ - Minor improvements to logic and performance (a bit more idiomatic Ruby)
138
+
14
139
  ## [2.0.4] SEP.20.2024
140
+
15
141
  - COVERAGE: 98.19% -- 488/497 lines in 9 files
16
142
  - BRANCH COVERAGE: 88.95% -- 161/181 branches in 9 files
17
143
  - 58.06% documented
144
+
18
145
  ### Added
19
- - More Documentation
20
- - Almost 100% test coverage
21
- - Thread Safety (removed `GemBench.roster`, which was effectively never used internally)
146
+
147
+ - More documentation
148
+ - 1.81% remaining to 100% test coverage (line)
149
+ - Thread safety (removed `GemBench.roster`, which was effectively never used internally)
22
150
  - Performance improvements
151
+ - Support for specifying arbitrary `:gemfile_path` in most class initializers
152
+
23
153
  ### Fixed
154
+
24
155
  - Can now handle more variations of Ruby syntax in the Gemfile analyzer
25
156
  - `require_relative` > `require` for internal files (except for `spec` => `lib`)
26
157
  - Updated logic for version specified via git with branch, tag, ref (to match fixes to Bundler's behavior)
@@ -29,45 +160,63 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
29
160
  - `#donned_primary_namespace`
30
161
 
31
162
  ## [2.0.3] SEP.18.2024
163
+
32
164
  ### Added
165
+
33
166
  - More documentation
167
+
34
168
  ### Fixed
169
+
35
170
  - Typos in documentation
36
171
  - Copyright years
37
172
 
38
173
  ## [2.0.2] SEP.17.2024
174
+
39
175
  - COVERAGE: 82.15% -- 382/465 lines in 9 files
40
176
  - BRANCH COVERAGE: 58.79% -- 97/165 branches in 9 files
41
177
  - 51.72% documented
178
+
42
179
  ### Added
180
+
43
181
  - CI for Ancient Rubies
44
182
  - Ruby 2.3
45
183
  - Ruby 2.4
46
184
  - Ruby 2.5
47
185
  - Ruby 2.6
48
186
  - More & improved documentation
187
+
49
188
  ### Fixed
189
+
50
190
  - Typo in URL in documentation
51
191
  - Gemspec description & Summary
52
192
 
53
193
  ## [2.0.1] SEP.17.2024
194
+
54
195
  - COVERAGE: 82.15% -- 382/465 lines in 9 files
55
196
  - BRANCH COVERAGE: 58.08% -- 97/167 branches in 9 files
56
197
  - 51.72% documented
198
+
57
199
  ### Added
200
+
58
201
  - Ability to re-namespace and load copy of a gem alongside vanilla version for benchmarking via `GemBench::Jersey`
59
202
  - See: https://github.com/panorama-ed/memo_wise/pull/339
60
203
  - Many more tests
61
204
  - `kettle-soup-cover` for test coverage enforcement
62
205
  - Better documentation
63
206
  - Improved instructions for contributing
207
+
64
208
  ### Changed
209
+
65
210
  - Improved `bin/checksums`
211
+
66
212
  ### Fixed
213
+
67
214
  - Stopped swallowing `ArgumentError` in certain exceptional cases
68
215
 
69
216
  ## [2.0.0] SEP.25.2023
217
+
70
218
  ### Added
219
+
71
220
  - Compatible with Bundler 2+
72
221
  - Checksums for release
73
222
  - SHA-256
@@ -76,26 +225,34 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
76
225
  - Add CODE_OF_CONDUCT.md
77
226
  - Add SECURITY.md (Security policy)
78
227
  - Github Actions
228
+
79
229
  ### Changed
230
+
80
231
  - Dropped support for Ruby 2.0, 2.1, and 2.2
81
232
  - `VERSION` constant now lives at `GemBench::Version::VERSION`, enhanced by `version_gem`
82
233
  - Changelog updated to Keep-a-changelog format (going forward)
234
+
83
235
  ### Removed
236
+
84
237
  - Removed Appraisals
85
238
  - Removed Travis-CI
86
239
 
87
240
  ## [1.0.6] SEP.09.2018
241
+
88
242
  - Documentation improvements
89
243
  - Add Ruby 2.5 to build matrix
90
244
 
91
245
  ## [1.0.5] JUN.05.2017
246
+
92
247
  - Allow github macro as an alternative to git within Gemfile for strict version constraint analysis
93
248
 
94
249
  ## [1.0.3] JUN.02.2017
250
+
95
251
  - fixed accidental removal of loaded_gems in 1.0.2
96
252
  - better documentation
97
253
 
98
254
  ## [1.0.2] JUN.02.2017
255
+
99
256
  - version constraint checking, useful to add a spec enforcing Gemfile version constraints, by Peter Boling
100
257
  - Console use:
101
258
  - GemBench::StrictVersionRequirement.new({verbose: true})
@@ -104,15 +261,17 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
104
261
  Rspec.describe("Gemfile") do
105
262
  it("has version constraint on every gem") do
106
263
  requirements = GemBench::StrictVersionRequirement.new({verbose: true})
107
- expect(requirements.list_missing_version_constraints).to(eq([]))
264
+ expect(requirements.list_missing_version_constraints).to(be_empty)
108
265
  end
109
266
  end
110
267
  ```
111
268
 
112
269
  ## [1.0.1] MAR.25.2017
270
+
113
271
  - fixed a typo that prevented Gemfile comparison by mobilutz
114
272
 
115
273
  ## [1.0.0] FEB.26.2017
274
+
116
275
  - New feature: scan all code (except for test/spec/feature code) in all loaded gems for a given regex:
117
276
  - puts GemBench.find(look_for_regex: /HERE BE DRAGONS/).starters.map {|gem| "#{gem.name} has DRAGONS at #{gem.stats}" }.join("\n")
118
277
  - Added basic specs
@@ -120,31 +279,43 @@ end
120
279
  - added back git dependency to gemspec (pulled in latest Gem scaffolding from Bundler :/)
121
280
 
122
281
  ## [0.0.8] JAN.16.2014
282
+
123
283
  - Corrected issues with 0.0.7 release.
124
284
  - More Documentation
125
285
  - removed git dependency from gemspec
126
286
 
127
287
  ## [0.0.7] DEC.23.2013 (Yanked immediately)
288
+
128
289
  - Attempt to fix failure on encoding problem, with a rescue fallback (Issue #1) by Peter Boling
129
290
  - Readme / Documentation improvements by John Bachir
130
291
  - Runtime output improvements by John Bachir
131
292
 
132
293
  ## [0.0.6] AUG.29.2013
294
+
133
295
  - Added license to gemspec by Peter Boling
134
296
  - No longer altering Ruby load path - Let the gem manager do that by Peter Boling
135
297
 
136
298
  ## [0.0.5] AUG.28.2013
299
+
137
300
  - Encode as UTF-8 prior to comparison by Peter Boling
138
301
 
139
302
  ## [0.0.4] APR.06.2013
303
+
140
304
  - Expanded exclusion list by Peter Boling
141
305
 
142
306
  ## [0.0.3] APR.06.2013
307
+
143
308
  - Late night coding needs more coffee by Peter Boling
144
309
 
145
310
  ## [0.0.2] APR.06.2013
311
+
146
312
  - Works against 265 dependency Gemfile by Peter Boling
147
313
  - Added ability to evaluate a Gemfile by Peter Boling
148
314
 
149
315
  ## [0.0.1] APR.05.2013
316
+
150
317
  - Initial release by Peter Boling
318
+
319
+ [Unreleased]: https://github.com/galtzo-floss/gem_bench/compare/v2.0.6...HEAD
320
+ [2.0.6]: https://github.com/galtzo-floss/gem_bench/compare/v2.0.5...v2.0.6
321
+ [2.0.6t]: https://github.com/galtzo-floss/gem_bench/releases/tag/v2.0.6
data/LICENSE.md ADDED
@@ -0,0 +1,11 @@
1
+ # License
2
+
3
+ This project is made available under the following license.
4
+ Choose the option that best fits your use case:
5
+
6
+ - [MIT](https://github.com/galtzo-floss/gem_bench/blob/main/MIT.md)
7
+
8
+ ## Copyright Notice
9
+
10
+ - Copyright (c) 2013 John Joseph Bachir
11
+ - Copyright (c) 2013-2014, 2017-2019, 2023-2024, 2026 Peter H. Boling