oauth-tty 1.0.10 → 1.0.12

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: 6339876eceda1fbcac3b591460559ea5df2654bc8fc20bf9346caabe7cc7567d
4
+ data.tar.gz: e29d5246db1e4b302dfc88dd4368383a12f51d6bfdd52bbd6fae939449d84f9a
5
5
  SHA512:
6
- metadata.gz: 64ab362360414139ff79e5f4bfd5d4c7fe564e78a18a9998064d5927a2af367cc5a5bd24523cb12dd2a969ef85a60bed6137fc450b2a0ef41cd3604b833eface
7
- data.tar.gz: b5a64dff39f1db011202a538c9b1617da7859f5ae8f39299fa6ee87007ad88a48c272d18f4729c1dac5e782a60159503438f7eb14f4d12153a83c542757a33a1
6
+ metadata.gz: 39acd0a3f155791e49799a8ed3897ddb0e7ec7cfa341c21a59b4166c65a95595f06afa03b4460a27c345090473d20d98e2df1f6400fb1b3a4e66548142dd7ede
7
+ data.tar.gz: 842989793bfb821af5c50bbba208fadc5ecff66da3201cd99b3e99b8b1c8f750545325306c1ed91367a84d25298956d56f4ff9a073b7d9c73fe863d26f94aadf
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,27 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.12] - 2026-06-18
34
+
35
+ - TAG: [v1.0.12][1.0.12t]
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
+ ## [1.0.11] - 2026-06-18
41
+
42
+ - TAG: [v1.0.11][1.0.11t]
43
+ - COVERAGE: 100.00% -- 311/311 lines in 11 files
44
+ - BRANCH COVERAGE: 96.55% -- 28/29 branches in 11 files
45
+ - 15.79% documented
46
+
47
+ ### Changed
48
+
49
+ - Raised the `anonymous_loader` runtime dependency floor to `>= 0.1.1`.
50
+ - Raised the `auth-sanitizer` runtime dependency floor to `>= 0.2.2` and
51
+ switched isolated sanitizer loading to the released `anonymous_loader` gem,
52
+ including local workspace wiring for the new runtime dependency.
53
+
33
54
  ## [1.0.10] - 2026-06-15
34
55
 
35
56
  - TAG: [v1.0.10][1.0.10t]
@@ -199,7 +220,11 @@ Please file a bug if you notice a violation of semantic versioning.
199
220
 
200
221
  - Initial release (@pboling)
201
222
 
202
- [Unreleased]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.10...HEAD
223
+ [Unreleased]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.12...HEAD
224
+ [1.0.12]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.11...v1.0.12
225
+ [1.0.12t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.12
226
+ [1.0.11]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.10...v1.0.11
227
+ [1.0.11t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.11
203
228
  [1.0.10]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.9...v1.0.10
204
229
  [1.0.10t]: https://github.com/ruby-oauth/oauth-tty/releases/tag/v1.0.10
205
230
  [1.0.9]: https://github.com/ruby-oauth/oauth-tty/compare/v1.0.8...v1.0.9
data/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
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 on Polar][🖇polar-img]][🖇polar] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
14
14
 
15
- <details>
15
+ <details markdown="1">
16
16
  <summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
17
17
 
18
18
  I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
@@ -61,9 +61,25 @@ 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
+ <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>
65
+
66
+ The _amazing_ test matrix is powered by the kettle-dev stack.
67
+
68
+ <details markdown="1">
69
+ <summary>How kettle-dev manages complexity in tests</summary>
70
+
71
+ | Gem | Source | Role | Daily download rank |
72
+ |-----|--------|------|---------------------|
73
+ | [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) |
74
+ | [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) |
75
+ | [kettle-dev](https://bestgems.org/gems/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [![Daily download rank for kettle-dev](https://img.shields.io/gem/rd/kettle-dev.svg?style=flat-square)](https://bestgems.org/gems/kettle-dev) |
76
+ | [kettle-jem](https://bestgems.org/gems/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [![Daily download rank for kettle-jem](https://img.shields.io/gem/rd/kettle-jem.svg?style=flat-square)](https://bestgems.org/gems/kettle-jem) |
77
+ | [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) |
78
+ | [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) |
79
+ | [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) |
80
+ | [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) |
81
+
82
+ </details>
67
83
 
68
84
  ### Federated DVCS
69
85
 
@@ -118,11 +134,6 @@ If bundler is not being used to manage dependencies, install the gem by executin
118
134
  gem install oauth-tty
119
135
  ```
120
136
 
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
137
  ## ⚙️ Configuration
127
138
 
128
139
  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 +316,7 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
305
316
  No sponsors yet. Be the first!
306
317
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
307
318
 
308
- [kettle-readme-backers]: https://github.com/ruby-oauth/oauth-tty/blob/main/exe/kettle-readme-backers
319
+ [kettle-readme-backers]: https://github.com/ruby-oauth/oauth-tty/blob/main/bin/kettle-readme-backers
309
320
 
310
321
  ### Another way to support open-source
311
322
 
@@ -363,7 +374,7 @@ Made with [contributors-img][🖐contrib-rocks].
363
374
 
364
375
  Also see GitLab Contributors: [https://gitlab.com/ruby-oauth/oauth-tty/-/graphs/main][🚎contributors-gl]
365
376
 
366
- <details>
377
+ <details markdown="1">
367
378
  <summary>⭐️ Star History</summary>
368
379
 
369
380
  <a href="https://star-history.com/ruby-oauth/oauth-tty&Date">
@@ -630,7 +641,7 @@ Thanks for RTFM. ☺️
630
641
  [📌gitmoji]: https://gitmoji.dev
631
642
  [📌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
643
  [🧮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
644
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.311-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
634
645
  [🔐security]: https://github.com/ruby-oauth/oauth-tty/blob/main/SECURITY.md
635
646
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
636
647
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -658,7 +669,7 @@ Thanks for RTFM. ☺️
658
669
  | Package | oauth-tty |
659
670
  | Description | 🖥️ OAuth 1.0 / 1.0a TTY Command Line Interface |
660
671
  | Homepage | https://github.com/ruby-oauth/oauth-tty |
661
- | Source | https://github.com/ruby-oauth/oauth-tty/tree/v1.0.9 |
672
+ | Source | https://github.com/ruby-oauth/oauth-tty |
662
673
  | License | `MIT` |
663
674
  | 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
675
  <!-- 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.12"
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.12
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.13
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.13
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.12
470
+ changelog_uri: https://github.com/ruby-oauth/oauth-tty/blob/v1.0.12/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.12
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