diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index a59c1564..45a8ec2c 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -37,34 +37,34 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- - name: Checkout repository
- uses: actions/checkout@v5
+ - name: Checkout repository
+ uses: actions/checkout@v5
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v3
- with:
- languages: ${{ matrix.language }}
- # If you wish to specify custom queries, you can do so here or in a config file.
- # By default, queries listed here will override any specified in a config file.
- # Prefix the list here with "+" to use these queries and those in the config file.
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v3
+ with:
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- # If this step fails, then you should remove it and run the build manually (see below)
- - name: Autobuild
- uses: github/codeql-action/autobuild@v3
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v3
- # ℹ️ Command-line programs to run using the OS shell.
- # 📚 https://git.io/JvXDl
+ # ℹ️ Command-line programs to run using the OS shell.
+ # 📚 https://git.io/JvXDl
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
- # and modify them (or add more) to build your code if your project
- # uses a compiled language
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
+ # and modify them (or add more) to build your code if your project
+ # uses a compiled language
- #- run: |
- # make bootstrap
- # make release
+ #- run: |
+ # make bootstrap
+ # make release
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v3
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v3
diff --git a/.github/workflows/current.yml b/.github/workflows/current.yml
index 72e44fe1..f8a9e644 100644
--- a/.github/workflows/current.yml
+++ b/.github/workflows/current.yml
@@ -45,9 +45,7 @@ jobs:
rubygems: latest
bundler: latest
- # truffleruby-24.1
- # (according to documentation: targets Ruby 3.3 compatibility)
- # (according to runtime: targets Ruby 3.2 compatibility)
+ # truffleruby-24.1 (targets Ruby 3.3 compatibility)
- ruby: "truffleruby"
appraisal: "current"
exec_cmd: "rake test"
diff --git a/.github/workflows/license-eye.yml b/.github/workflows/license-eye.yml
new file mode 100644
index 00000000..d5e667dc
--- /dev/null
+++ b/.github/workflows/license-eye.yml
@@ -0,0 +1,40 @@
+name: Apache SkyWalking Eyes
+
+permissions:
+ contents: read
+
+on:
+ push:
+ branches:
+ - 'main'
+ - '*-stable'
+ tags:
+ - '!*' # Do not execute on tags
+ pull_request:
+ branches:
+ - '*'
+ # Allow manually triggering the workflow.
+ workflow_dispatch:
+
+# Cancels all previous workflow runs for the same branch that have not yet completed.
+concurrency:
+ # The concurrency group contains the workflow name and the branch name.
+ group: "${{ github.workflow }}-${{ github.ref }}"
+ cancel-in-progress: true
+
+jobs:
+ license-check:
+ if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v5
+
+ - name: Check Dependencies' License
+ uses: apache/skywalking-eyes/dependency@main
+ with:
+ config: .licenserc.yaml
+ # Ruby packages declared as dependencies in gemspecs or Gemfiles are
+ # typically consumed as binaries; enable weak-compatibility
+ # so permissive and weak-copyleft combinations are treated as compatible.
+ flags: --weak-compatible
diff --git a/.idea/.gitignore b/.idea/.gitignore
index 13566b81..9df2ac9e 100644
--- a/.idea/.gitignore
+++ b/.idea/.gitignore
@@ -6,3 +6,10 @@
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
+
+# Zencoder local files
+/zencoder/chats
+/zencoder-chat-index.xml
+/zencoder-chats-dedicated.xml
+# Local project config
+*.iml
diff --git a/.idea/csv-editor.xml b/.idea/csv-editor.xml
new file mode 100644
index 00000000..f158fc5e
--- /dev/null
+++ b/.idea/csv-editor.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/oauth.iml b/.idea/oauth.iml
deleted file mode 100644
index ef3eb943..00000000
--- a/.idea/oauth.iml
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.junie/guidelines.md b/.junie/guidelines.md
index a1082ac8..26b92ab1 100644
--- a/.junie/guidelines.md
+++ b/.junie/guidelines.md
@@ -12,7 +12,8 @@ This document captures project-specific knowledge to streamline setup, testing,
- See .env.local.example for an example of what to put in .env.local.
- See CONTRIBUTING.md for details on how to set up your local environment.
- Ruby and Bundler
- - Runtime supports very old Rubies (>= 1.9.2) but development tooling targets >= 2.3 because of CI/setup-ruby and dev dependencies.
+ - Runtime supports Ruby >= 2.3
+ - Development tooling targets Ruby >= 2.3 (minimum supported by setup-ruby GHA).
- Use a recent Ruby (>= 3.4 recommended) for fastest setup and to exercise modern coverage behavior.
- Install dependencies via Bundler in project root:
- bundle install
@@ -53,7 +54,7 @@ This document captures project-specific knowledge to streamline setup, testing,
- RSpec.describe usage:
- Use `describe "#"` to contain a block of specs that test instance method behavior.
- Use `describe "::"` to contain a block of specs that test class method behavior.
- - Do not use `describe "."` because the dot is ambiguous w.r.t instance vs. class methods.
+ - Do not use `describe "."` because the dot is ambiguous w.r.t instance vs. class methods.
- When adding new code or modifying existing code always add tests to cover the updated behavior, including branches, and different types of expected and unexpected inputs.
- Additional test utilities:
- rspec-stubbed_env: Use stub_env to control ENV safely within examples.
@@ -89,11 +90,13 @@ This document captures project-specific knowledge to streamline setup, testing,
- Place new specs under spec/ mirroring lib/ structure where possible. Do not require "spec_helper" at the top of spec files, as it is automatically loaded by .rspec.
- If your code relies on environment variables that drive activation (see "Activation env vars" below), prefer using rspec-stubbed_env:
- it does not support stubbing with blocks, but it does automatically clean up after itself.
- - outside the example:
+ - the below config is included in all spec scenarios by the kettle-test gem, so no need to do it again; it is here for reference:
include_context 'with stubbed env'
- in a before hook, or in an example:
stub_env("FLOSS_FUNDING_MY_NS" => "Free-as-in-beer")
+
# example code continues
+
- If your spec needs to assert on console output, tag it with :check_output. By default, STDOUT is silenced.
- Use Timecop for deterministic time-sensitive behavior as needed (require config/timecop is already done by spec_helper).
@@ -133,6 +136,7 @@ Notes
- Coverage reports: NEVER review the HTML report. Use JSON (preferred), XML, LCOV, or RCOV. For this project, always run tests with K_SOUP_COV_FORMATTERS set to "json".
- Do NOT modify .envrc in tasks; when running tests locally or in scripts, manually prefix each run, e.g.: K_SOUP_COV_FORMATTERS="json" bin/rspec
- For all the kettle-soup-cover options, see .envrc and find the K_SOUP_COV_* env vars.
+- NEVER modify ENV variables in tests directly. Always use the stub_env macro from the rspec-stubbed_env gem (more details in the testing section above).
Important documentation rules
- Do NOT edit files under docs/ manually; they are generated by `bundle exec rake yard` as part of the default rake task.
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 00000000..0eb99818
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,7 @@
+header:
+ license:
+ spdx-id: MIT
+
+dependency:
+ files:
+ - Gemfile.lock
diff --git a/.rubocop_gradual.lock b/.rubocop_gradual.lock
index 11723557..b8246daf 100644
--- a/.rubocop_gradual.lock
+++ b/.rubocop_gradual.lock
@@ -34,11 +34,11 @@
"lib/oauth/tokens/consumer_token.rb:3696415131": [
[9, 5, 155, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 349576019]
],
- "oauth.gemspec:1419764957": [
+ "oauth.gemspec:3830118710": [
[133, 3, 56, "Gemspec/DependencyVersion: Dependency version specification is required.", 644892567],
- [153, 3, 40, "Gemspec/DependencyVersion: Dependency version specification is required.", 2300588954],
- [155, 3, 44, "Gemspec/DependencyVersion: Dependency version specification is required.", 1905290578],
- [156, 3, 46, "Gemspec/DependencyVersion: Dependency version specification is required.", 4289565910]
+ [152, 3, 40, "Gemspec/DependencyVersion: Dependency version specification is required.", 2300588954],
+ [154, 3, 44, "Gemspec/DependencyVersion: Dependency version specification is required.", 1905290578],
+ [155, 3, 46, "Gemspec/DependencyVersion: Dependency version specification is required.", 4289565910]
],
"spec/oauth/backwards_compatibility_spec.rb:4041711732": [
[3, 16, 25, "RSpec/DescribeClass: The first argument to describe should be the class or module being tested.", 3956042931]
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 32dc1e4d..2e1a100d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,24 +17,35 @@ Please file a bug if you notice a violation of semantic versioning.
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
## [Unreleased]
+
### Added
+
- kettle-dev v1.1.18
- Internal escape & unescape methods
- Stop relying on URI / CGI for escaping and unescaping
- They are both unstable across supported versions of Ruby (including 3.5 HEAD)
- Tests against Rails-specific code are now run in CI
- Documented OAuth 1.0, 1.0a differences
+
### Changed
+
- converted minitest => rspec
+
### Deprecated
+
### Removed
+
- dependency on em-http-request
- now lazy Loaded so it can be optional, since some systems fail to install it, and it doesn't seem maintained
+
### Fixed
+
### Security
## [1.1.0] 2022-08-29 ([tag][1.1.0t])
+
### Changed
+
* `OAuth::CLI` has been extracted to a new gem, `oauth-tty`, hosted on [Gitlab](https://gitlab.com/ruby-oauth/oauth-tty)
* The public API of `oauth-tty` is backwards compatible (meaning `OAuth::CLI`)
* The change within the `oauth` gem is backwards compatible as `oauth-tty` has been added as a dependency
@@ -43,69 +54,104 @@ Please file a bug if you notice a violation of semantic versioning.
* symbolized keys, dot-access and snake-case are now normalized
## [1.0.1] 2022-08-29 ([tag][1.0.1t])
+
### Changed
+
* `OAuth::Comsumer#options` hash is now handled by `snaky_hash`, which was extracted from `oauth2`
* symbolized keys, dot-access and snake-case are now normalized
## [1.0.0] 2022-08-23 ([tag][1.0.0t])
+
### Changed
+
* Dropped support for Ruby < 2.7
* Dropped support for Rails < 6
+
### Added
+
* New EOL Policy
* Non-commercial support for the oldest version of Ruby (which itself is going EOL) will be dropped each year in April
## [0.6.2] 2022-08-29 ([tag][0.6.2t])
+
### Changed
+
* `OAuth::Comsumer#options` hash is now handled by `snaky_hash`, which was extracted from `oauth2`
* symbolized keys, dot-access and snake-case are now normalized
## [0.6.1] 2022-08-23 ([tag][0.6.1t])
+
### Changed
+
* Fixed documentation in SECURITY.md
* Change references to master => main
+
### Added
+
* Post install note about v0.6.x EOL approaching in April, 2024
## [0.6.0] 2022-08-23 ([tag][0.6.0t])
+
### Added
+
* New option `body_hash_enabled` which defaults to true to maintain backward compatibility with prior releases. Setting to `false` disables generation of a `oauth_body_hash` component as part of the signature computation.
* Improved documentation of support policy via Tidelift
* Stop testing against active_support v2
+
### Changed
+
* Utilize version_gem extracted from oauth2 gem for VERSION
* Added new `OAuth::Version` namespace
* VERSION constant now at `OAuth::Version::VERSION`
+
### Removed
+
* Ruby 2.0, 2.1, 2.2, and 2.3 are no longer valid install targets
## [0.5.14] 2022-08-29 ([tag][0.5.14t])
+
The "hopeful last 0.5.x" Release
+
### Fixed
+
* More typos fixed
## [0.5.13] 2022-08-23 ([tag][0.5.13t])
+
The "I think I caught 'em all!" Release
+
### Fixed
+
* Typo oauth2 => oauth as gem name in one more place.
## [0.5.12] 2022-08-23 ([tag][0.5.12t])
+
The "Typoes are just the worst!" Release
+
### Fixed
+
* Typo oauth2 => oauth as gem name in a couple places.
## [0.5.11] 2022-08-23 ([tag][0.5.11t])
+
The "Is this the last release with a silly name?" Release
+
### Added
+
* Post install note about v0.5.x EOL approaching in April, 2023
+
### Changed
+
* Improved documentation
* Switched branch references from master to main
* CI builds are now all green!
## [0.5.10] 2022-05-04 ([tag][0.5.10t])
+
The "Can it be the end of the line for 0.5.x?" Release
+
### Added
+
* Major updates to Documentation
* More CI Hardening
* Align CI builds with official Ruby Compatibility Matrix
@@ -113,7 +159,9 @@ The "Can it be the end of the line for 0.5.x?" Release
- diffend
## [0.5.9] 2022-05-03 ([tag][0.5.9t])
+
### Added
+
* Documentation related to Ruby compatibility
* Updated CHANGELOG.md formatting
* Corrected CHANGELOG.md typos
@@ -125,19 +173,27 @@ The "Can it be the end of the line for 0.5.x?" Release
- overcommit
## [0.5.8] 2021-11-10 ([tag][0.5.8t])
+
### Added
+
* Added more documentation files to packaged gem, e.g. SECURITY.md, CODE_OF_CONDUCT.md
+
### Fixed
+
* Removed reference to RUBY_VERSION from gemspec, as it depends on rake release, which is problematic on some ruby engines. (by @pboling)
## [0.5.7] 2021-11-02 ([tag][0.5.7t])
+
### Added
+
* Setup Rubocop (#205, #208 by @pboling)
* Added CODE_OF_CONDUCT.md (#217, #218 by @pboling)
* Added FUNDING.yml (#217, #218 by @pboling)
* Added Client Certificate Options: :ssl_client_cert and :ssl_client_key (#136, #220 by @pboling)
* Handle a nested array of hashes in OAuth::Helper.normalize (#80, #221 by @pboling)
+
### Changed
+
* Switch from TravisCI to Github Actions (#202, #207, #176 by @pboling)
* Upgrade webmock to v3.14.0 (#196 by @pboling)
* Upgrade em-http-request to v1.1.7 (#173 by @pboling)
@@ -146,7 +202,9 @@ The "Can it be the end of the line for 0.5.x?" Release
* CHANGELOG, LICENSE, and README now ship with packaged gem (#214, #215 by @pboling)
* README.rdoc renamed to README.md (#217, #218 by @pboling)
* Require plaintext signature method by default (#135 by @confiks & @pboling)
+
### Fixed
+
* Fixed Infinite Redirect in v0.5.5, v0.5.6 (#186, #210 by @pboling)
* Fixed NoMethodError on missing leading slash in path (#194, #211 by @pboling)
* Fixed NoMethodError on nil request object (#165, #212 by @pboling)
@@ -154,44 +212,68 @@ The "Can it be the end of the line for 0.5.x?" Release
* Fixed typos in Gemspec (#204, #203, #208 by @pboling)
* Copyright Notice in LICENSE - added correct years (#217, #218 by @pboling)
* Fixed request proxy Class constant reference scopes - was missing `::` in many places (#225, #226 by @pboling)
+
### Removed
+
* Remove direct development dependency on nokogiri (#299 by @pboling)
## [0.5.6] 2021-04-02 ([tag][0.5.6t])
+
### Added
+
* Add metadata to Gemspec file
* Add support for PUT requests with Action Controller (#181)
+
### Changed
+
* Change default timeout to be the same as Net::HTTP default, 60 seconds instead of 30 seconds.
## [0.5.5] 2020-01-19 ([tag][0.5.5t])
+
### Added
+
* Add :allow_empty_params option (#155)
+
### Changed
+
* Allow redirect to different host but same path
* Various cleanups
+
### Fixed
+
* Fixes ssl-noverify
* Fixed README example (#158, #159, by @pboling)
## [0.5.4] 2017-12-08 ([tag][0.5.4t])
+
### Changed
+
* Various cleanups (charliesome)
+
### Fixed
+
* Fixes UnknownRequestType on Rails 5.1 for ActionDispatch::Request (xprazak2)
## [0.5.3] 2017-05-24 ([tag][0.5.3t])
+
### Fixed
+
* Fix #145 - broken CLI required loading active_support (James Pinto)
+
### Changed
+
* Removing legacy scripts (James Pinto)
## [0.5.2] 2017-05-17 ([tag][0.5.2t])
+
### Added
+
* Adding a development dependency that had not been mentioned (James Pinto)
* Adding CodeClimate (James Pinto)
* Adding support to Ruby 2.4 and head (James Pinto)
+
### Changed
+
* Use assert_nil so as to silence a Minitest 6 deprecation warning (James Pinto)
* Stop bundling tests files in the gem (Michal Papis)
* Minor cleanup on tests (James Pinto)
@@ -207,39 +289,55 @@ The "Can it be the end of the line for 0.5.x?" Release
* Refactored CLI (James Pinto)
* Moving test files into test/units/ (James Pinto)
* Reimplementing #82 - Debug Output Option (James Pinto)
+
### Fixed
+
* Fix #113 adding paths when a full URL has been specified (James Pinto)
* Bug Fix, webmock 2.0 has introduced a new bug (James Pinto)
* Making a test/support dir (James Pinto)
* Fix #177 - Adjusting to webmock latest recommended implementation for minitest (James Pinto)
## [0.5.1] 2016-02-29 ([tag][0.5.1t])
+
### Added
+
* Add license info to the gemspec (Robert Reiz)
+
### Fixed
+
* Proper handling for empty query string in RequestToken#build_authorize_url (midchildan,
Harald Sitter)
* Replace calls to String#blank? with its implementation (Sergio Gil Pérez de la Manga)
+
### Changed
+
* Loosen some development dependencies. Add libcurl-dev to travis
* Fixes to travis config. Switch to rubygems for installation and loading
+
### Removed
+
* Remove obsolete comment (Arthur Nogueira Neves)
* Remove jeweler from gemspec
## [0.5.0] 2016-02-20 ([tag][0.5.0t])
+
### Added
+
* Add support for HTTP PATCH method (Richard Huang)
* Allow reading private key from a string (Khaja Minhajuddin)
* Add rest-client proxy (Khem Veasna)
* Add byebug. (Kevin Hughes)
* Allow reading certificate file path from environment variable. Add CentOS cert file path (Danil Vlasov)
+
### Changed
+
* Replace jeweler with real spec and bundler tasks
* Extract version to separate file
* Use OpenSSL for all digest and hashing. Remove signature methods not defined by OAuth spec. (Kevin Hughes)
* Change token requests to exclude `oauth_body_hash`. Update doc links in comments. (John Remmen)
+
### Fixed
+
* Fix ability to pass in an authorize url with a query string (Roger Smith)
* Fix bug in signature verification (r-stu31)
* Use standard key name (`oauth_token_secret`) in Token#to_query (Craig Walker)
@@ -254,61 +352,92 @@ The "Can it be the end of the line for 0.5.x?" Release
* Various fixes/updates to README (Evan Arnold, Jonathan Camenisch, Brian John, Ankur Sethi)
## [0.4.7] 2012-09-03 ([tag][0.4.7t])
+
### Added
+
* Set a configurable timeout for all requests (Rick Olson)
+
### Fixed
+
* Fix merging paths if the path is not empty
* Fix nested hash params in Consumer#request (Ernie Miller)
## [0.4.6] 2012-04-21 ([tag][0.4.6t])
+
### Changed
+
* Make use the path component of the :site parameter (Jonathon M. Abbott)
+
### Fixed
+
* Fixed nested attributes in #normalize (Shaliko Usubov)
* Fixed post body's being dropped in 1.9 (Steven Hammond)
* Fixed PUT request handling (Anton Panasenko)
## [0.4.5] 2011-06-25 ([tag][0.4.5t])
+
### Added
+
* Add explicit require for rsa/sha1 (Juris Galang)
* Add gemtest support (Adrian Feldman)
+
### Changed
+
* Use webmock to mock all http-requests in tests (Adrian Feldman)
* Mention Typhoeus require in the README (Kim Ahlström)
* Use Net::HTTPGenericRequest (Jakub Kuźma)
+
### Fixed
+
* Fix POST Requests with Typhoeus proxy (niedhui)
* Fix incorrect hardcoded port (Ian Taylor)
## [0.4.4] 2010-10-31 ([tag][0.4.4t])
+
### Added
+
* Added support for Rails 3 in client/action_controller_request (Pelle)
+
### Fixed
+
* Fix LoadError rescue in tests: return can't be used in this context (Hans de Graaff)
* HTTP headers should be strings. (seancribbs)
* ensure consumer uri gets set back to original config even if an error occurs (Brian Finney)
* Yahoo uses & to split records in OAuth headers (Brian Finney)
## [0.4.3] 2010-09-01 ([tag][0.4.3t])
+
### Fixed
+
* Fix for em-http proxy (ichverstehe)
+
## [0.4.2] 2010-08-13 ([tag][0.4.2t])
+
### Added
+
* Added Bundler (rc) Gemfile for easier dev/testing
+
### Fixed
+
* Fixed compatibility with Ruby 1.9.2 (ecavazos)
* Fixed the em-http request proxy (Joshua Hull)
* Fix for oauth proxy string manipulation (Jakub Suder)
## [0.4.1] 2010-06-16 ([tag][0.4.1t])
+
### Added
+
* Added support for using OAuth with proxies (Marsh Gardiner)
+
### Fixed
+
* Rails 3 Compatibility fixes (Pelle Braendgaard)
* Fixed load errors on tests for missing (non-required) libraries
## [0.4.0] 2010-04-22 ([tag][0.4.0t])
+
### Added
+
* Added computation of oauth_body_hash as per OAuth Request Body Hash 1.0 Draft 4 (Michael Reinsch)
* Added the optional `oauth_session_handle` parameter for the Yahoo implementation (Will Bailey)
* Added optional block to OAuth::Consumer.get_*_token (Neill Pearman)
@@ -318,27 +447,39 @@ The "Can it be the end of the line for 0.5.x?" Release
* Support for em-http (EventMachine) (Darcy Laycock)
* Support for curb (André Luis Leal Cardoso Junior)
* New website (Aaron Quint)
+
### Changed
+
* Better marshalling implementation (Yoan Blanc)
* Replaced hoe with Jeweler (Aaron Quint)
+
### Fixed
+
* Strip extraneous spaces and line breaks from access_token responses (observed in the wild with Yahoo!'s OAuth+OpenID hybrid) (Eric Hartmann)
* Stop double-escaping PLAINTEXT signatures (Jimmy Zimmerman)
* OAuth::Client::Helper won't override the specified `oauth_version` (Philip Kromer)
* Fixed an encoding / multibyte issue (成田 一生)
## [0.3.6] 2009-09-14 ([tag][0.3.6t])
+
### Added
+
* Added -B CLI option to use the :body authentication scheme (Seth)
* Support POST and PUT with raw bodies (Yu-Shan Fung et al)
* Added :ca_file consumer option to allow consumer specific certificate override. (Pelle)
+
### Changed
+
* Test clean-up (Xavier Shay, Hannes Tydén)
+
### Fixed
+
* Respect `--method` in `authorize` CLI command (Seth)
## [0.3.5] 2009-06-03 ([tag][0.3.5t])
+
### Added
+
* `query` CLI command to access protected resources (Seth)
* Added -H, -Q CLI options for specifying the authentication scheme (Seth)
* Added -O CLI option for specifying a file containing options (Seth)
@@ -348,90 +489,132 @@ The "Can it be the end of the line for 0.5.x?" Release
* Added --scope CLI option for Google's 'scope' parameter (Seth)
## [0.3.4] 2009-05-06 ([tag][0.3.4t])
+
### Changed
+
* OAuth::Client::Helper uses OAuth::Version::VERSION (chadisfaction)
+
### Fixed
+
* Fix OAuth::RequestProxy::ActionControllerRequest's handling of params (Tristan Groléat)
## [0.3.3] 2009-05-04 ([tag][0.3.3t])
+
### Added
+
* Support for arguments in OAuth::Consumer#get_access_token (Matt Sanford)
* Add gem version to user-agent header (Matt Sanford)
+
### Changed
+
* Improved error handling for invalid Authorization headers (Matt Sanford)
* Handle input from aggressive form encoding libraries (Matt Wood)
+
### Fixed
+
* Corrected OAuth XMPP namespace (Seth)
* Fixed signatures for non-ASCII under $KCODE other than 'u' (Matt Sanford)
* Fixed edge cases in ActionControllerRequestProxy where params were being incorrectly signed (Marcos Wright Kuhns)
## [0.3.2] 2009-03-23 ([tag][0.3.2t])
+
### Added
+
* Support applications using the MethodOverride Rack middleware (László Bácsi)
* `authorize` command for `oauth` CLI (Seth)
* Initial support for Problem Reporting extension (Seth)
* Verify SSL certificates if CA certificates are available (Seth)
* Added help to the 'oauth' CLI (Seth)
+
### Fixed
+
* 2xx statuses should be treated as success (Anders Conbere)
* Fixed ActionController parameter escaping behavior (Thiago Arrais, László Bácsi, Brett Gibson, et al)
* Fixed signature calculation when both options and a block were provided to OAuth::Signature::Base#initialize (Seth)
* Fixed a problem when attempting to normalize MockRequest URIs (Seth)
## [0.3.1] 2009-01-26 ([tag][0.3.1t])
+
### Fixed
+
* Fixed a problem with relative and absolute token request paths. (Michael Wood)
## [0.3.0] 2009-01-25
+
### Added
+
* Support ActionController::Request from Edge Rails (László Bácsi)
* Added #normalized_parameters to OAuth::RequestProxy::Base (Pelle)
* Command-line app for generating signatures. (Seth)
+
### Changed
+
* OAuth::Signature.sign and friends now yield the RequestProxy instead of the token when the passed block's arity is 1. (Seth)
* Improved test-cases and compatibility for encoding issues. (Pelle)
+
### Fixed
+
* Correctly handle multi-valued parameters (Seth)
* Token requests are made to the configured URL rather than generating a potentially incorrect one. (Kellan Elliott-McCrea)
## 0.2.7 2008-09-10
+
The lets fix the last release release
+
### Fixed
+
* Fixed plain text signatures (Andrew Arrow)
* Fixed RSA requests using OAuthTokens. (Philip Lipu Tsai)
## 0.2.6 2008-09-09
+
The lets RSA release
+
### Added
+
* Improved support for Ruby 1.8.7 (Bill Kocik)
* Added support for 'private_key_file' option for RSA signatures (Chris Mear)
+
### Changed
+
* Improved RSA testing
* Omit token when signing with RSA
+
### Fixed
+
* Fixed RSA verification to support RSA providers now using Ruby and RSA
* Fixed several edge cases where params were being incorrectly signed (Scott Hill)
* Fixed RSA signing (choonkeat)
## 0.2.2 2008-02-22
+
Lets actually support SSL release
+
### Fixed
+
* Use HTTPS when required.
## 0.2 2008-1-19
+
All together now release
+
### Changed
+
* This is a big release, where we have merged the efforts of various parties into one common library.
This means there are definitely some API changes you should be aware of. They should be minimal
but please have a look at the unit tests.
## 0.1.2 2007-12-1
+
### Fixed
+
* Fixed checks for missing OAuth params to improve performance
* Includes Pat's fix for getting the realm out.
## 0.1.1 2007-11-26
+
### Added
+
* First release as a GEM
* Moved all non-Rails functionality from the Rails plugin:
http://code.google.com/p/oauth-plugin/
diff --git a/Gemfile.lock b/Gemfile.lock
index 02564a4e..c824057d 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -197,8 +197,8 @@ GEM
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
- json (2.13.2)
- kettle-dev (1.1.19)
+ json (2.14.1)
+ kettle-dev (1.1.26)
kettle-soup-cover (1.0.10)
simplecov (~> 0.22)
simplecov-cobertura (~> 3.0)
@@ -232,11 +232,11 @@ GEM
net-imap
net-pop
net-smtp
- marcel (1.0.4)
+ marcel (1.1.0)
mime-types (3.7.0)
logger
mime-types-data (~> 3.2025, >= 3.2025.0507)
- mime-types-data (3.2025.0909)
+ mime-types-data (3.2025.0916)
mini_mime (1.1.5)
minitest (5.25.5)
mocha (2.7.1)
@@ -253,7 +253,7 @@ GEM
net-protocol
netrc (0.11.0)
nio4r (2.7.4)
- nokogiri (1.18.9-x86_64-linux-gnu)
+ nokogiri (1.18.10-x86_64-linux-gnu)
racc (~> 1.4)
ostruct (0.6.3)
parallel (1.27.0)
@@ -263,7 +263,7 @@ GEM
pp (0.6.2)
prettyprint
prettyprint (0.2.0)
- prism (1.5.0)
+ prism (1.5.1)
psych (5.2.6)
date
stringio
@@ -319,7 +319,7 @@ GEM
parser (~> 3.3.0)
rainbow (>= 2.0, < 4.0)
rexml (~> 3.1)
- regexp_parser (2.11.2)
+ regexp_parser (2.11.3)
reline (0.6.2)
io-console (~> 0.5)
require_bench (1.0.4)
@@ -349,7 +349,7 @@ GEM
ruby_version (~> 1.0)
version_gem (~> 1.1, >= 1.1.8)
rspec-stubbed_env (1.0.4)
- rspec-support (3.13.5)
+ rspec-support (3.13.6)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.80.2)
@@ -363,7 +363,7 @@ GEM
rubocop-ast (>= 1.46.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
- rubocop-ast (1.46.0)
+ rubocop-ast (1.47.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-gradual (0.3.6)
diff --git a/README.md b/README.md
index dddc4807..cda0439a 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
# 🔑 Ruby OAuth
-[![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![CodeCov Test Coverage][🔑codecovi]][🔑codecov] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![QLTY Test Coverage][🔑qlty-covi]][🔑qlty-cov] [![QLTY Maintainability][🔑qlty-mnti]][🔑qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL]
+[![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
@@ -62,19 +62,19 @@ The primary maintainer since 2020 is Peter Boling (@pboling).
## 💡 Info you can shake a stick at
-| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
-|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Works with JRuby | ![JRuby 9.1 Compat][💎jruby-9.1i] ![JRuby 9.2 Compat][💎jruby-9.2i] ![JRuby 9.3 Compat][💎jruby-9.3i] [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
-| Works with Truffle Ruby | ![Truffle Ruby 22.3 Compat][💎truby-22.3i] ![Truffle Ruby 23.0 Compat][💎truby-23.0i] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] |
-| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
-| Works with MRI Ruby 2 | [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
-| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
-| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
-| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![Wiki][📜wiki-img]][📜wiki] |
-| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
-| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
-| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
-| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
+| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
+|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Works with JRuby | ![JRuby 9.1 Compat][💎jruby-9.1i] ![JRuby 9.2 Compat][💎jruby-9.2i] ![JRuby 9.3 Compat][💎jruby-9.3i] [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
+| Works with Truffle Ruby | ![Truffle Ruby 22.3 Compat][💎truby-22.3i] ![Truffle Ruby 23.0 Compat][💎truby-23.0i] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] |
+| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
+| Works with MRI Ruby 2 | [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
+| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
+| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
+| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
+| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![Compatible with Apache Software Projects: Verified by SkyWalking Eyes][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
+| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
+| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
+| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
### Compatibility
@@ -87,13 +87,14 @@ Compatible with MRI Ruby 2.3+, and concordant releases of JRuby, and TruffleRuby
### Federated DVCS
- Find this repo on other forges (Coming soon!)
+ Find this repo on federated forges (Coming soon!)
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
|-------------------------------------------------|-----------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
-| 🧪 [ruby-oauth/oauth on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜wiki] | 🏀 Tiny Matrix | ➖ |
+| 🧪 [ruby-oauth/oauth on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix | ➖ |
| 🧊 [ruby-oauth/oauth on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
-| 🐙 [ruby-oauth/oauth on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | ➖ | 💯 Full Matrix | [💚][gh-discussions] |
+| 🐙 [ruby-oauth/oauth on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix | [💚][gh-discussions] |
+| 🤼 [OAuth Ruby Google Group][⛳gg-discussions] | "Active" | ➖ | ➖ | ➖ | ➖ | [💚][⛳gg-discussions] |
| 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
@@ -275,19 +276,25 @@ and [Tidelift][🏙️entsup-tidelift].
### Open Collective for Individuals
+Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/ruby-oauth#backer)]
+
+NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
+
No backers yet. Be the first!
-Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/ruby-oauth#backer)]
-
### Open Collective for Organizations
+Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/ruby-oauth#sponsor)]
+
+NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
+
No sponsors yet. Be the first!
-Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/ruby-oauth#sponsor)]
+[kettle-readme-backers]: https://github.com/ruby-oauth/oauth/blob/main/exe/kettle-readme-backers
### Another way to support open-source
@@ -324,11 +331,11 @@ See [CONTRIBUTING.md][🤝contributing].
### Code Coverage
-[![Coverage Graph][🔑codecov-g]][🔑codecov]
+[![Coverage Graph][🏀codecov-g]][🏀codecov]
-[![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls]
+[![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
-[![QLTY Test Coverage][🔑qlty-covi]][🔑qlty-cov]
+[![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
### 🪇 Code of Conduct
@@ -519,22 +526,24 @@ Thanks for RTFM. ☺️
[📜src-gh]: https://github.com/ruby-oauth/oauth
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
-[📜wiki]: https://gitlab.com/ruby-oauth/oauth/-/wikis/home
-[📜wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=Wiki&logoColor=white
+[📜gl-wiki]: https://gitlab.com/ruby-oauth/oauth/-/wikis/home
+[📜gh-wiki]: https://github.com/ruby-oauth/oauth/wiki
+[📜gl-wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
+[📜gh-wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
[👽dl-rank]: https://rubygems.org/gems/oauth
[👽dl-ranki]: https://img.shields.io/gem/rd/oauth.svg
[👽oss-help]: https://www.codetriage.com/ruby-oauth/oauth
[👽oss-helpi]: https://www.codetriage.com/ruby-oauth/oauth/badges/users.svg
[👽version]: https://rubygems.org/gems/oauth
[👽versioni]: https://img.shields.io/gem/v/oauth.svg
-[🔑qlty-mnt]: https://qlty.sh/gh/ruby-oauth/projects/oauth
-[🔑qlty-mnti]: https://qlty.sh/gh/ruby-oauth/projects/oauth/maintainability.svg
-[🔑qlty-cov]: https://qlty.sh/gh/ruby-oauth/projects/oauth/metrics/code?sort=coverageRating
-[🔑qlty-covi]: https://qlty.sh/gh/ruby-oauth/projects/oauth/coverage.svg
-[🔑codecov]: https://codecov.io/gh/ruby-oauth/oauth
-[🔑codecovi]: https://codecov.io/gh/ruby-oauth/oauth/graph/badge.svg
-[🔑coveralls]: https://coveralls.io/github/ruby-oauth/oauth?branch=main
-[🔑coveralls-img]: https://coveralls.io/repos/github/ruby-oauth/oauth/badge.svg?branch=main
+[🏀qlty-mnt]: https://qlty.sh/gh/ruby-oauth/projects/oauth
+[🏀qlty-mnti]: https://qlty.sh/gh/ruby-oauth/projects/oauth/maintainability.svg
+[🏀qlty-cov]: https://qlty.sh/gh/ruby-oauth/projects/oauth/metrics/code?sort=coverageRating
+[🏀qlty-covi]: https://qlty.sh/gh/ruby-oauth/projects/oauth/coverage.svg
+[🏀codecov]: https://codecov.io/gh/ruby-oauth/oauth
+[🏀codecovi]: https://codecov.io/gh/ruby-oauth/oauth/graph/badge.svg
+[🏀coveralls]: https://coveralls.io/github/ruby-oauth/oauth?branch=main
+[🏀coveralls-img]: https://coveralls.io/repos/github/ruby-oauth/oauth/badge.svg?branch=main
[🖐codeQL]: https://github.com/ruby-oauth/oauth/security/code-scanning
[🖐codeQL-img]: https://github.com/ruby-oauth/oauth/actions/workflows/codeql-analysis.yml/badge.svg
[🚎1-an-wf]: https://github.com/ruby-oauth/oauth/actions/workflows/ancient.yml
@@ -565,6 +574,8 @@ Thanks for RTFM. ☺️
[🚎13-🔒️-wfi]: https://github.com/ruby-oauth/oauth/actions/workflows/locked_deps.yml/badge.svg
[🚎14-🔓️-wf]: https://github.com/ruby-oauth/oauth/actions/workflows/unlocked_deps.yml
[🚎14-🔓️-wfi]: https://github.com/ruby-oauth/oauth/actions/workflows/unlocked_deps.yml/badge.svg
+[🚎15-🪪-wf]: https://github.com/ruby-oauth/oauth/actions/workflows/license-eye.yml
+[🚎15-🪪-wfi]: https://github.com/ruby-oauth/oauth/actions/workflows/license-eye.yml/badge.svg
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
@@ -595,7 +606,7 @@ Thanks for RTFM. ☺️
[🤝cb-pulls]: https://codeberg.org/ruby-oauth/oauth/pulls
[🤝cb-donate]: https://donate.codeberg.org/
[🤝contributing]: CONTRIBUTING.md
-[🔑codecov-g]: https://codecov.io/gh/ruby-oauth/oauth/graphs/tree.svg
+[🏀codecov-g]: https://codecov.io/gh/ruby-oauth/oauth/graphs/tree.svg
[🖐contrib-rocks]: https://contrib.rocks
[🖐contributors]: https://github.com/ruby-oauth/oauth/graphs/contributors
[🖐contributors-img]: https://contrib.rocks/image?repo=ruby-oauth/oauth
@@ -613,13 +624,15 @@ Thanks for RTFM. ☺️
[📌gitmoji]:https://gitmoji.dev
[📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
-[🧮kloc-img]: https://img.shields.io/badge/KLOC-3.613-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
+[🧮kloc-img]: https://img.shields.io/badge/KLOC-1.225-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
[🔐security]: SECURITY.md
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
[📄license]: LICENSE.txt
[📄license-ref]: https://opensource.org/licenses/MIT
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
+[📄license-compat]: https://dev.to/galtzo/how-to-check-license-compatibility-41h0
+[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
[🚎yard-current]: http://rubydoc.info/gems/oauth
diff --git a/Rakefile b/Rakefile
index 1bb7d01b..b6d8ffc1 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-# kettle-dev Rakefile v1.1.18 - 2025-09-12
+# kettle-dev Rakefile v1.1.26 - 2025-09-20
# Ruby 2.3 (Safe Navigation) or higher required
#
# MIT License (see License.txt)
diff --git a/oauth.gemspec b/oauth.gemspec
index 2d1c8989..03984253 100644
--- a/oauth.gemspec
+++ b/oauth.gemspec
@@ -124,7 +124,7 @@ Thanks, |7eter l-|. l3oling
]
spec.require_paths = ["lib"]
spec.bindir = "bin"
- # files listed are relative paths from bindir above.
+ # Listed files are the relative paths from bindir above.
spec.executables = []
# "oauth-tty" was extracted from this gem with release 1.1 of this gem
@@ -140,9 +140,8 @@ Thanks, |7eter l-|. l3oling
# visibility and discoverability on RubyGems.org.
# However, development dependencies in gemspec will install on
# all versions of Ruby that will run in CI.
- # This gem, and its gemspec runtime dependencies, will install on Ruby down to 2.3.x.
- # This gem, and its gemspec development dependencies, will install on Ruby down to 2.3.x.
- # This is because in CI easy installation of Ruby, via setup-ruby, is for >= 2.3.
+ # This gem, and its gemspec runtime dependencies, will install on Ruby down to 2.3.
+ # This gem, and its gemspec development dependencies, will install on Ruby down to 2.3.
# Thus, dev dependencies in gemspec must have
#
# required_ruby_version ">= 2.3" (or lower)
@@ -157,7 +156,7 @@ Thanks, |7eter l-|. l3oling
spec.add_development_dependency("typhoeus", ">= 0.1.13")
# Dev, Test, & Release Tasks
- spec.add_development_dependency("kettle-dev", "~> 1.1") # ruby >= 2.3.0
+ spec.add_development_dependency("kettle-dev", "~> 1.1") # ruby >= 2.3.0
# Security
spec.add_development_dependency("bundler-audit", "~> 0.9.2") # ruby >= 2.0.0