oauth-tty 1.0.10 → 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: 6ceb33cbf9ad43a33ee1ffb429fbcea7013b3ab6212142687174a1c71bbb5d3c
4
- data.tar.gz: e8a424649e6594f4e2f49dee756697e902d3c772a07776d9476663330453e750
3
+ metadata.gz: a2feef309ad4ad93f0bbe6f97cd0521e9528ce8ac2c834d92b493142ae76ba96
4
+ data.tar.gz: 1ceae99401572c29bad38cd0fd54635331c13e756655e26b9965aafd862a937b
5
5
  SHA512:
6
- metadata.gz: 64ab362360414139ff79e5f4bfd5d4c7fe564e78a18a9998064d5927a2af367cc5a5bd24523cb12dd2a969ef85a60bed6137fc450b2a0ef41cd3604b833eface
7
- data.tar.gz: b5a64dff39f1db011202a538c9b1617da7859f5ae8f39299fa6ee87007ad88a48c272d18f4729c1dac5e782a60159503438f7eb14f4d12153a83c542757a33a1
6
+ metadata.gz: a7b01fcd69fb6709d8866e276c3427dd6e1e516d916dc2b78ad8f5eaa0d32605028f892a944c786ce1f072abd48ce995ce1451f7ae07e5f6712845a21f9e9e68
7
+ data.tar.gz: 4be14ebcf53040a7e1d69153abe2771ecb68c9d5ab97726ad03efa9a6dfaf0328232b5d3e3b3e655caf1fa184bc5c22c8c2b8005d7cbe51efa847eb8d2c57152
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,20 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
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
+
33
47
  ## [1.0.10] - 2026-06-15
34
48
 
35
49
  - TAG: [v1.0.10][1.0.10t]
@@ -199,7 +213,9 @@ Please file a bug if you notice a violation of semantic versioning.
199
213
 
200
214
  - Initial release (@pboling)
201
215
 
202
- [Unreleased]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.10...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
203
219
  [1.0.10]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.9...v1.0.10
204
220
  [1.0.10t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.10
205
221
  [1.0.9]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.8...v1.0.9
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
 
@@ -118,11 +131,6 @@ If bundler is not being used to manage dependencies, install the gem by executin
118
131
  gem install oauth-tty
119
132
  ```
120
133
 
121
- `oauth-tty` uses Ruby's `CGI` library for query parameter encoding and parsing.
122
- Supported Ruby versions that ship `CGI` do not need an additional dependency.
123
- Applications running on Ruby versions or distributions that do not provide
124
- `CGI` should add the `cgi` gem directly.
125
-
126
134
  ## ⚙️ Configuration
127
135
 
128
136
  The oauth-tty gem is a thin CLI over the oauth gem. You supply your consumer credentials, token credentials (when applicable), a target URI, and optional parameters, and the tool signs requests or helps you complete an OAuth 1.0/1.0a 3-legged flow.
@@ -305,7 +313,7 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
305
313
  No sponsors yet. Be the first!
306
314
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
307
315
 
308
- [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
309
317
 
310
318
  ### Another way to support open-source
311
319
 
@@ -630,7 +638,7 @@ Thanks for RTFM. ☺️
630
638
  [📌gitmoji]: https://gitmoji.dev
631
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
632
640
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
633
- [🧮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
634
642
  [🔐security]: https://github.com/ruby-oauth/oauth-tty/blob/main/SECURITY.md
635
643
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
636
644
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -658,7 +666,7 @@ Thanks for RTFM. ☺️
658
666
  | Package | oauth-tty |
659
667
  | Description | 🖥️ OAuth 1.0 / 1.0a TTY Command Line Interface |
660
668
  | Homepage | https://github.com/ruby-oauth/oauth-tty |
661
- | Source | https://github.com/ruby-oauth/oauth-tty/tree/v1.0.9 |
669
+ | Source | https://github.com/ruby-oauth/oauth-tty |
662
670
  | License | `MIT` |
663
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 |
664
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.10"
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.10
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
  - |
@@ -38,6 +39,26 @@ cert_chain:
38
39
  -----END CERTIFICATE-----
39
40
  date: 1980-01-02 00:00:00.000000000 Z
40
41
  dependencies:
42
+ - !ruby/object:Gem::Dependency
43
+ name: anonymous_loader
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '0.1'
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 0.1.1
52
+ type: :runtime
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - "~>"
57
+ - !ruby/object:Gem::Version
58
+ version: '0.1'
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.1
41
62
  - !ruby/object:Gem::Dependency
42
63
  name: auth-sanitizer
43
64
  requirement: !ruby/object:Gem::Requirement
@@ -47,7 +68,7 @@ dependencies:
47
68
  version: '0.2'
48
69
  - - ">="
49
70
  - !ruby/object:Gem::Version
50
- version: 0.2.1
71
+ version: 0.2.2
51
72
  type: :runtime
52
73
  prerelease: false
53
74
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +78,7 @@ dependencies:
57
78
  version: '0.2'
58
79
  - - ">="
59
80
  - !ruby/object:Gem::Version
60
- version: 0.2.1
81
+ version: 0.2.2
61
82
  - !ruby/object:Gem::Dependency
62
83
  name: version_gem
63
84
  requirement: !ruby/object:Gem::Requirement
@@ -87,7 +108,7 @@ dependencies:
87
108
  version: '2.2'
88
109
  - - ">="
89
110
  - !ruby/object:Gem::Version
90
- version: 2.2.9
111
+ version: 2.2.12
91
112
  type: :development
92
113
  prerelease: false
93
114
  version_requirements: !ruby/object:Gem::Requirement
@@ -97,7 +118,7 @@ dependencies:
97
118
  version: '2.2'
98
119
  - - ">="
99
120
  - !ruby/object:Gem::Version
100
- version: 2.2.9
121
+ version: 2.2.12
101
122
  - !ruby/object:Gem::Dependency
102
123
  name: bundler-audit
103
124
  requirement: !ruby/object:Gem::Requirement
@@ -195,7 +216,7 @@ dependencies:
195
216
  version: '3.1'
196
217
  - - ">="
197
218
  - !ruby/object:Gem::Version
198
- version: 3.1.3
219
+ version: 3.1.4
199
220
  type: :development
200
221
  prerelease: false
201
222
  version_requirements: !ruby/object:Gem::Requirement
@@ -205,7 +226,7 @@ dependencies:
205
226
  version: '3.1'
206
227
  - - ">="
207
228
  - !ruby/object:Gem::Version
208
- version: 3.1.3
229
+ version: 3.1.4
209
230
  - !ruby/object:Gem::Dependency
210
231
  name: ruby-progressbar
211
232
  requirement: !ruby/object:Gem::Requirement
@@ -445,10 +466,10 @@ licenses:
445
466
  - MIT
446
467
  metadata:
447
468
  homepage_uri: https://structuredmerge.org
448
- source_code_uri: https://github.com/ruby-oauth/oauth-tty/tree/v1.0.10
449
- changelog_uri: https://github.com/ruby-oauth/oauth-tty/blob/v1.0.10/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
450
471
  bug_tracker_uri: https://github.com/ruby-oauth/oauth-tty/issues
451
- documentation_uri: https://www.rubydoc.info/gems/oauth-tty/1.0.10
472
+ documentation_uri: https://www.rubydoc.info/gems/oauth-tty/1.0.11
452
473
  funding_uri: https://github.com/sponsors/pboling
453
474
  wiki_uri: https://github.com/ruby-oauth/oauth-tty/wiki
454
475
  news_uri: https://www.railsbling.com/tags/oauth-tty
metadata.gz.sig CHANGED
Binary file