oauth-tty 1.0.9 → 1.0.11

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: a2d3eecc711c924ee046605ae35c794e30f7868c4e2e2669ee189c2e10316d5b
4
- data.tar.gz: 3594465c03c5e6c508c0539acff1acc96782d81f9584c81579082ff0ce7c9b4f
3
+ metadata.gz: a2feef309ad4ad93f0bbe6f97cd0521e9528ce8ac2c834d92b493142ae76ba96
4
+ data.tar.gz: 1ceae99401572c29bad38cd0fd54635331c13e756655e26b9965aafd862a937b
5
5
  SHA512:
6
- metadata.gz: f414c485f13f0c5d59421241ded6d35c630a3ddb878e8c3454085cc4b670188c849b9b9d459c093969aa1b9d6135a3da8824cbf362423787331200692a73ba9d
7
- data.tar.gz: 35e23d3de9b47f9c017b55826dc520ac59e7c5d862c7a0d3c240fff6770f02a95ac52c9f2b79268596504e259b04f2b7bd76c3784b5cbfa67ee22d2f43390d52
6
+ metadata.gz: a7b01fcd69fb6709d8866e276c3427dd6e1e516d916dc2b78ad8f5eaa0d32605028f892a944c786ce1f072abd48ce995ce1451f7ae07e5f6712845a21f9e9e68
7
+ data.tar.gz: 4be14ebcf53040a7e1d69153abe2771ecb68c9d5ab97726ad03efa9a6dfaf0328232b5d3e3b3e655caf1fa184bc5c22c8c2b8005d7cbe51efa847eb8d2c57152
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -28,12 +28,43 @@ Please file a bug if you notice a violation of semantic versioning.
28
28
 
29
29
  ### Fixed
30
30
 
31
+ ### Security
32
+
33
+ ## [1.0.11] - 2026-06-18
34
+
35
+ - TAG: [v1.0.11][1.0.11t]
36
+ - COVERAGE: 100.00% -- 311/311 lines in 11 files
37
+ - BRANCH COVERAGE: 96.55% -- 28/29 branches in 11 files
38
+ - 15.79% documented
39
+
40
+ ### Changed
41
+
42
+ - Raised the `anonymous_loader` runtime dependency floor to `>= 0.1.1`.
43
+ - Raised the `auth-sanitizer` runtime dependency floor to `>= 0.2.2` and
44
+ switched isolated sanitizer loading to the released `anonymous_loader` gem,
45
+ including local workspace wiring for the new runtime dependency.
46
+
47
+ ## [1.0.10] - 2026-06-15
48
+
49
+ - TAG: [v1.0.10][1.0.10t]
50
+ - COVERAGE: 100.00% -- 315/315 lines in 11 files
51
+ - BRANCH COVERAGE: 96.55% -- 28/29 branches in 11 files
52
+ - 15.79% documented
53
+
54
+ ### Removed
55
+
56
+ - Removed the external `cgi` runtime dependency so Ruby 2.4 uses its bundled
57
+ CGI library instead of installable `cgi` gem releases that call
58
+ `String#delete_prefix`.
59
+
60
+ ### Fixed
61
+
62
+ - Restore compatibility with Ruby 2.4 by removing the direct runtime dependency
63
+ on the cgi gem.
31
64
  - Restored the Ruby 3.4 appraisal's explicit `oauth` dependency so the CI
32
65
  matrix exercises the same runtime dependency pattern as the other Ruby
33
66
  version appraisals.
34
67
 
35
- ### Security
36
-
37
68
  ## [1.0.9] - 2026-06-15
38
69
 
39
70
  - TAG: [v1.0.9][1.0.9t]
@@ -182,7 +213,11 @@ Please file a bug if you notice a violation of semantic versioning.
182
213
 
183
214
  - Initial release (@pboling)
184
215
 
185
- [Unreleased]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.9...HEAD
216
+ [Unreleased]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.11...HEAD
217
+ [1.0.11]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.10...v1.0.11
218
+ [1.0.11t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.11
219
+ [1.0.10]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.9...v1.0.10
220
+ [1.0.10t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.10
186
221
  [1.0.9]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.8...v1.0.9
187
222
  [1.0.9t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.9
188
223
  [1.0.8]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.7...v1.0.8
data/README.md CHANGED
@@ -61,9 +61,22 @@ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
61
61
  may be higher than the gem's runtime compatibility floor when legacy Rubies are
62
62
  not practical for the current toolchain.
63
63
 
64
- | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
65
- |------------------------------------------------|--------------------------------------------------------|
66
- | 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
64
+ | 🚚 _Amazing_ test matrix was brought to you by | The Kettle dev/test stack |
65
+ |------------------------------------------------|---------------------------|
66
+
67
+ <details>
68
+ <summary>How We Manage Complexity In Tests</summary>
69
+
70
+ | Gem | Source | Role | Daily download rank |
71
+ |-----|--------|------|---------------------|
72
+ | [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) |
73
+ | [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) |
74
+ | [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) |
75
+ | [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) |
76
+ | [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) |
77
+ | [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) |
78
+
79
+ </details>
67
80
 
68
81
  ### Federated DVCS
69
82
 
@@ -300,7 +313,7 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
300
313
  No sponsors yet. Be the first!
301
314
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
302
315
 
303
- [kettle-readme-backers]: https://github.com/ruby-oauth/oauth-tty/blob/main/exe/kettle-readme-backers
316
+ [kettle-readme-backers]: https://github.com/ruby-oauth/oauth-tty/blob/main/bin/kettle-readme-backers
304
317
 
305
318
  ### Another way to support open-source
306
319
 
@@ -625,7 +638,7 @@ Thanks for RTFM. ☺️
625
638
  [📌gitmoji]: https://gitmoji.dev
626
639
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
627
640
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
628
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.315-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
641
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.311-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
629
642
  [🔐security]: https://github.com/ruby-oauth/oauth-tty/blob/main/SECURITY.md
630
643
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
631
644
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -653,7 +666,7 @@ Thanks for RTFM. ☺️
653
666
  | Package | oauth-tty |
654
667
  | Description | 🖥️ OAuth 1.0 / 1.0a TTY Command Line Interface |
655
668
  | Homepage | https://github.com/ruby-oauth/oauth-tty |
656
- | Source | https://github.com/ruby-oauth/oauth-tty/tree/v1.0.9 |
669
+ | Source | https://github.com/ruby-oauth/oauth-tty |
657
670
  | License | `MIT` |
658
671
  | Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/ruby-oauth, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/oauth-tty, https://www.buymeacoffee.com/pboling |
659
672
  <!-- kettle-jem:metadata:end -->
@@ -1,32 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "anonymous_loader"
4
+
3
5
  module OAuth
4
6
  module TTY
5
7
  AUTH_SANITIZER = begin
6
- auth_sanitizer_requirement = Gem::Requirement.new("~> 0.1", ">= 0.1.3")
7
- auth_sanitizer_spec = Gem.loaded_specs["auth-sanitizer"]
8
- unless auth_sanitizer_spec && auth_sanitizer_requirement.satisfied_by?(auth_sanitizer_spec.version)
9
- # :nocov:
10
- auth_sanitizer_spec = Gem::Specification.find_by_name("auth-sanitizer", auth_sanitizer_requirement)
11
- # :nocov:
12
- end
13
-
14
- auth_sanitizer_loader_path = File.join(
15
- auth_sanitizer_spec.full_gem_path,
16
- "lib/auth_sanitizer/loader.rb"
17
- )
18
- unless File.file?(auth_sanitizer_loader_path)
19
- # :nocov:
20
- raise LoadError, "oauth-tty requires auth-sanitizer #{auth_sanitizer_requirement}; " \
21
- "loader not found at #{auth_sanitizer_loader_path}"
22
- # :nocov:
23
- end
24
-
25
- auth_sanitizer_loader_namespace = Module.new
26
- auth_sanitizer_loader_namespace.module_eval(
27
- File.read(auth_sanitizer_loader_path),
28
- auth_sanitizer_loader_path,
29
- 1
8
+ auth_sanitizer_requirement = Gem::Requirement.new("~> 0.2", ">= 0.2.2")
9
+ auth_sanitizer_loader_namespace = AnonymousLoader.load_path(
10
+ gem_name: "auth-sanitizer",
11
+ require_path: "auth_sanitizer/loader.rb",
12
+ version_requirement: auth_sanitizer_requirement,
13
+ version_file: "auth/sanitizer/version.rb"
30
14
  )
31
15
 
32
16
  auth_sanitizer_loader_namespace
@@ -3,7 +3,7 @@
3
3
  module OAuth
4
4
  module TTY
5
5
  module Version
6
- VERSION = "1.0.9"
6
+ VERSION = "1.0.11"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth-tty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
- - Thiago Pinto
8
- - Peter Boling
7
+ - Peter H. Boling
8
+ - Aboling0
9
+ - Annibelle Boling
9
10
  bindir: exe
10
11
  cert_chain:
11
12
  - |
@@ -39,39 +40,45 @@ cert_chain:
39
40
  date: 1980-01-02 00:00:00.000000000 Z
40
41
  dependencies:
41
42
  - !ruby/object:Gem::Dependency
42
- name: auth-sanitizer
43
+ name: anonymous_loader
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - "~>"
46
47
  - !ruby/object:Gem::Version
47
- version: '0.2'
48
+ version: '0.1'
48
49
  - - ">="
49
50
  - !ruby/object:Gem::Version
50
- version: 0.2.1
51
+ version: 0.1.1
51
52
  type: :runtime
52
53
  prerelease: false
53
54
  version_requirements: !ruby/object:Gem::Requirement
54
55
  requirements:
55
56
  - - "~>"
56
57
  - !ruby/object:Gem::Version
57
- version: '0.2'
58
+ version: '0.1'
58
59
  - - ">="
59
60
  - !ruby/object:Gem::Version
60
- version: 0.2.1
61
+ version: 0.1.1
61
62
  - !ruby/object:Gem::Dependency
62
- name: cgi
63
+ name: auth-sanitizer
63
64
  requirement: !ruby/object:Gem::Requirement
64
65
  requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
65
69
  - - ">="
66
70
  - !ruby/object:Gem::Version
67
- version: '0'
71
+ version: 0.2.2
68
72
  type: :runtime
69
73
  prerelease: false
70
74
  version_requirements: !ruby/object:Gem::Requirement
71
75
  requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: '0.2'
72
79
  - - ">="
73
80
  - !ruby/object:Gem::Version
74
- version: '0'
81
+ version: 0.2.2
75
82
  - !ruby/object:Gem::Dependency
76
83
  name: version_gem
77
84
  requirement: !ruby/object:Gem::Requirement
@@ -101,7 +108,7 @@ dependencies:
101
108
  version: '2.2'
102
109
  - - ">="
103
110
  - !ruby/object:Gem::Version
104
- version: 2.2.9
111
+ version: 2.2.12
105
112
  type: :development
106
113
  prerelease: false
107
114
  version_requirements: !ruby/object:Gem::Requirement
@@ -111,7 +118,7 @@ dependencies:
111
118
  version: '2.2'
112
119
  - - ">="
113
120
  - !ruby/object:Gem::Version
114
- version: 2.2.9
121
+ version: 2.2.12
115
122
  - !ruby/object:Gem::Dependency
116
123
  name: bundler-audit
117
124
  requirement: !ruby/object:Gem::Requirement
@@ -209,7 +216,7 @@ dependencies:
209
216
  version: '3.1'
210
217
  - - ">="
211
218
  - !ruby/object:Gem::Version
212
- version: 3.1.3
219
+ version: 3.1.4
213
220
  type: :development
214
221
  prerelease: false
215
222
  version_requirements: !ruby/object:Gem::Requirement
@@ -219,7 +226,7 @@ dependencies:
219
226
  version: '3.1'
220
227
  - - ">="
221
228
  - !ruby/object:Gem::Version
222
- version: 3.1.3
229
+ version: 3.1.4
223
230
  - !ruby/object:Gem::Dependency
224
231
  name: ruby-progressbar
225
232
  requirement: !ruby/object:Gem::Requirement
@@ -459,10 +466,10 @@ licenses:
459
466
  - MIT
460
467
  metadata:
461
468
  homepage_uri: https://structuredmerge.org
462
- source_code_uri: https://github.com/ruby-oauth/oauth-tty/tree/v1.0.9
463
- changelog_uri: https://github.com/ruby-oauth/oauth-tty/blob/v1.0.9/CHANGELOG.md
469
+ source_code_uri: https://github.com/ruby-oauth/oauth-tty/tree/v1.0.11
470
+ changelog_uri: https://github.com/ruby-oauth/oauth-tty/blob/v1.0.11/CHANGELOG.md
464
471
  bug_tracker_uri: https://github.com/ruby-oauth/oauth-tty/issues
465
- documentation_uri: https://www.rubydoc.info/gems/oauth-tty/1.0.9
472
+ documentation_uri: https://www.rubydoc.info/gems/oauth-tty/1.0.11
466
473
  funding_uri: https://github.com/sponsors/pboling
467
474
  wiki_uri: https://github.com/ruby-oauth/oauth-tty/wiki
468
475
  news_uri: https://www.railsbling.com/tags/oauth-tty
metadata.gz.sig CHANGED
Binary file