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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26701ac598126aaa38d326332e6f826c62bc7e69b6ac1e34fde7f1568269143c
4
- data.tar.gz: e75766ba0541b15924fce9a1703632a115f09b4226bc90970c98ff49e2bd423a
3
+ metadata.gz: cfc61f2b6a091532b708531c6f2af77666f8c4b611df88acd722a0ba723cd041
4
+ data.tar.gz: 1a91463cbbe5398ff4f4b37a1159065c8cb286050faaf651f57eaf509a104bd7
5
5
  SHA512:
6
- metadata.gz: d505382f0219e9ddb9a80418529ecdd35afa34f4f04be0d548bd07876f7b8f3b95ff0c71941e4880d69d5cb6e4f9550db25a0cf43723a7fd720620b580e38c90
7
- data.tar.gz: 808ca57545b51ec424234c50714e82e528aa9897e432edf8b40074488143fd0730879180e26d3cfdaa06992393e61bc20e8a10578bbed38ec9dab34f281af7f0
6
+ metadata.gz: 2bde3573a0a8e917c098978c3349e3cffa1442636635a4a52562023e988bac9febb05c4411ba5ea38a5680710d050b6b124393e7971148562f6c2bd366e6212b
7
+ data.tar.gz: 47fd27945835c60211a9e387d76cf87d9dfc5dfcf907d492246cc33387e4a4f8f0d7d160fc2942d9a1c397a9228d8cf12a16058517f6b601f9c1cd5041dd345c
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,39 +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
+
14
122
  ## [2.0.5] SEP.21.2024
123
+
15
124
  - COVERAGE: 99.80% -- 495/496 lines in 9 files
16
125
  - BRANCH COVERAGE: 94.35% -- 167/177 branches in 9 files
17
126
  - 58.87% documented
127
+
18
128
  ### Added
129
+
19
130
  - More specs
20
131
  - More documentation
21
132
  - 0.2% remaining to 100% test coverage (line)
133
+
22
134
  ### Fixed
135
+
23
136
  - Documentation errors
24
137
  - Minor improvements to logic and performance (a bit more idiomatic Ruby)
25
138
 
26
139
  ## [2.0.4] SEP.20.2024
140
+
27
141
  - COVERAGE: 98.19% -- 488/497 lines in 9 files
28
142
  - BRANCH COVERAGE: 88.95% -- 161/181 branches in 9 files
29
143
  - 58.06% documented
144
+
30
145
  ### Added
146
+
31
147
  - More documentation
32
148
  - 1.81% remaining to 100% test coverage (line)
33
149
  - Thread safety (removed `GemBench.roster`, which was effectively never used internally)
34
150
  - Performance improvements
35
151
  - Support for specifying arbitrary `:gemfile_path` in most class initializers
152
+
36
153
  ### Fixed
154
+
37
155
  - Can now handle more variations of Ruby syntax in the Gemfile analyzer
38
156
  - `require_relative` > `require` for internal files (except for `spec` => `lib`)
39
157
  - Updated logic for version specified via git with branch, tag, ref (to match fixes to Bundler's behavior)
@@ -42,45 +160,63 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
42
160
  - `#donned_primary_namespace`
43
161
 
44
162
  ## [2.0.3] SEP.18.2024
163
+
45
164
  ### Added
165
+
46
166
  - More documentation
167
+
47
168
  ### Fixed
169
+
48
170
  - Typos in documentation
49
171
  - Copyright years
50
172
 
51
173
  ## [2.0.2] SEP.17.2024
174
+
52
175
  - COVERAGE: 82.15% -- 382/465 lines in 9 files
53
176
  - BRANCH COVERAGE: 58.79% -- 97/165 branches in 9 files
54
177
  - 51.72% documented
178
+
55
179
  ### Added
180
+
56
181
  - CI for Ancient Rubies
57
182
  - Ruby 2.3
58
183
  - Ruby 2.4
59
184
  - Ruby 2.5
60
185
  - Ruby 2.6
61
186
  - More & improved documentation
187
+
62
188
  ### Fixed
189
+
63
190
  - Typo in URL in documentation
64
191
  - Gemspec description & Summary
65
192
 
66
193
  ## [2.0.1] SEP.17.2024
194
+
67
195
  - COVERAGE: 82.15% -- 382/465 lines in 9 files
68
196
  - BRANCH COVERAGE: 58.08% -- 97/167 branches in 9 files
69
197
  - 51.72% documented
198
+
70
199
  ### Added
200
+
71
201
  - Ability to re-namespace and load copy of a gem alongside vanilla version for benchmarking via `GemBench::Jersey`
72
202
  - See: https://github.com/panorama-ed/memo_wise/pull/339
73
203
  - Many more tests
74
204
  - `kettle-soup-cover` for test coverage enforcement
75
205
  - Better documentation
76
206
  - Improved instructions for contributing
207
+
77
208
  ### Changed
209
+
78
210
  - Improved `bin/checksums`
211
+
79
212
  ### Fixed
213
+
80
214
  - Stopped swallowing `ArgumentError` in certain exceptional cases
81
215
 
82
216
  ## [2.0.0] SEP.25.2023
217
+
83
218
  ### Added
219
+
84
220
  - Compatible with Bundler 2+
85
221
  - Checksums for release
86
222
  - SHA-256
@@ -89,26 +225,34 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
89
225
  - Add CODE_OF_CONDUCT.md
90
226
  - Add SECURITY.md (Security policy)
91
227
  - Github Actions
228
+
92
229
  ### Changed
230
+
93
231
  - Dropped support for Ruby 2.0, 2.1, and 2.2
94
232
  - `VERSION` constant now lives at `GemBench::Version::VERSION`, enhanced by `version_gem`
95
233
  - Changelog updated to Keep-a-changelog format (going forward)
234
+
96
235
  ### Removed
236
+
97
237
  - Removed Appraisals
98
238
  - Removed Travis-CI
99
239
 
100
240
  ## [1.0.6] SEP.09.2018
241
+
101
242
  - Documentation improvements
102
243
  - Add Ruby 2.5 to build matrix
103
244
 
104
245
  ## [1.0.5] JUN.05.2017
246
+
105
247
  - Allow github macro as an alternative to git within Gemfile for strict version constraint analysis
106
248
 
107
249
  ## [1.0.3] JUN.02.2017
250
+
108
251
  - fixed accidental removal of loaded_gems in 1.0.2
109
252
  - better documentation
110
253
 
111
254
  ## [1.0.2] JUN.02.2017
255
+
112
256
  - version constraint checking, useful to add a spec enforcing Gemfile version constraints, by Peter Boling
113
257
  - Console use:
114
258
  - GemBench::StrictVersionRequirement.new({verbose: true})
@@ -117,15 +261,17 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
117
261
  Rspec.describe("Gemfile") do
118
262
  it("has version constraint on every gem") do
119
263
  requirements = GemBench::StrictVersionRequirement.new({verbose: true})
120
- expect(requirements.list_missing_version_constraints).to(eq([]))
264
+ expect(requirements.list_missing_version_constraints).to(be_empty)
121
265
  end
122
266
  end
123
267
  ```
124
268
 
125
269
  ## [1.0.1] MAR.25.2017
270
+
126
271
  - fixed a typo that prevented Gemfile comparison by mobilutz
127
272
 
128
273
  ## [1.0.0] FEB.26.2017
274
+
129
275
  - New feature: scan all code (except for test/spec/feature code) in all loaded gems for a given regex:
130
276
  - puts GemBench.find(look_for_regex: /HERE BE DRAGONS/).starters.map {|gem| "#{gem.name} has DRAGONS at #{gem.stats}" }.join("\n")
131
277
  - Added basic specs
@@ -133,31 +279,43 @@ end
133
279
  - added back git dependency to gemspec (pulled in latest Gem scaffolding from Bundler :/)
134
280
 
135
281
  ## [0.0.8] JAN.16.2014
282
+
136
283
  - Corrected issues with 0.0.7 release.
137
284
  - More Documentation
138
285
  - removed git dependency from gemspec
139
286
 
140
287
  ## [0.0.7] DEC.23.2013 (Yanked immediately)
288
+
141
289
  - Attempt to fix failure on encoding problem, with a rescue fallback (Issue #1) by Peter Boling
142
290
  - Readme / Documentation improvements by John Bachir
143
291
  - Runtime output improvements by John Bachir
144
292
 
145
293
  ## [0.0.6] AUG.29.2013
294
+
146
295
  - Added license to gemspec by Peter Boling
147
296
  - No longer altering Ruby load path - Let the gem manager do that by Peter Boling
148
297
 
149
298
  ## [0.0.5] AUG.28.2013
299
+
150
300
  - Encode as UTF-8 prior to comparison by Peter Boling
151
301
 
152
302
  ## [0.0.4] APR.06.2013
303
+
153
304
  - Expanded exclusion list by Peter Boling
154
305
 
155
306
  ## [0.0.3] APR.06.2013
307
+
156
308
  - Late night coding needs more coffee by Peter Boling
157
309
 
158
310
  ## [0.0.2] APR.06.2013
311
+
159
312
  - Works against 265 dependency Gemfile by Peter Boling
160
313
  - Added ability to evaluate a Gemfile by Peter Boling
161
314
 
162
315
  ## [0.0.1] APR.05.2013
316
+
163
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