faraday-oauth1 0.1.1 → 1.0.0
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 +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +4 -1
- data/lib/faraday/oauth1/request.rb +2 -2
- data/lib/faraday/oauth1/version.rb +1 -1
- metadata +4 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5ca2f14225f084d72ed665044e7e61f824c38596ac415eb430291ea0096c096
|
|
4
|
+
data.tar.gz: ecb4c0089a5c5ce958170ccb90b0f1759a834144011cb732173969ec95485aff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afe03019adcaa7f9213f5246b64f61b0da0add8e5002e6388ce13160290142ca3a4d6ded3a07428197f621abf99522dae5eb9e9e6804ca136bd2daf791c1cc55
|
|
7
|
+
data.tar.gz: f87aa6bf2e7c57282691c0f2475f2c8a698f1a0e8241807abb78ced1910d353d0c2fafea1b42f1af665a4bf080125146cff36512f4ae7b60eef88e70863b3149
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [Unreleased](https://github.com/gemhome/faraday-oauth1/compare/
|
|
3
|
+
## [Unreleased](https://github.com/gemhome/faraday-oauth1/compare/v1.0.0...main)
|
|
4
|
+
|
|
5
|
+
## [1.0.0](https://github.com/gemhome/faraday-oauth1/compare/v0.1.1...v1.0.0) (2026-02-18)
|
|
6
|
+
|
|
7
|
+
* Bump to 1.0.0
|
|
8
|
+
|
|
9
|
+
## [0.1.1](https://github.com/gemhome/faraday-oauth1/compare/v0.1.0...v1.1.1) (2026-02-12)
|
|
10
|
+
|
|
11
|
+
* Add support for Ruby 4.0
|
|
4
12
|
|
|
5
13
|
## [0.1.0](https://github.com/gemhome/faraday-oauth1/blob/v0.1.0) (2024-10-12)
|
|
6
14
|
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Faraday OAuth1
|
|
2
2
|
|
|
3
|
-
[](https://github.com/gemhome/faraday-oauth1/actions/workflows/ci.yaml)
|
|
4
4
|
[](https://rubygems.org/gems/faraday-oauth1)
|
|
5
5
|
[](LICENSE.md)
|
|
6
6
|
|
|
@@ -14,6 +14,9 @@ Add this line to your application's Gemfile:
|
|
|
14
14
|
gem 'faraday-oauth1'
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
Note: There's an existing gem https://rubygems.org/gems/faraday-oauth which looks similar but, at this time, but does not have its [source](https://github.com/instructure/faraday-oauth) available and is not available for collaboration, though the gem is licensed as MIT and can be inspected.
|
|
18
|
+
This library was written without reference to the faraday-oauth gem.
|
|
19
|
+
|
|
17
20
|
And then execute:
|
|
18
21
|
|
|
19
22
|
```shell
|
|
@@ -48,8 +48,8 @@ module Faraday
|
|
|
48
48
|
@options = options
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
def on_request(env)
|
|
52
|
-
if sign_request?(env)
|
|
51
|
+
def on_request(env) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
|
52
|
+
if sign_request?(env) # rubocop:disable Style/GuardClause
|
|
53
53
|
header = oauth_header(env)
|
|
54
54
|
auth_methods.each do |auth_method|
|
|
55
55
|
case auth_method
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faraday-oauth1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Benjamin Fleischer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -44,20 +44,6 @@ dependencies:
|
|
|
44
44
|
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '0'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: bundler
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - "~>"
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: '2.0'
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - "~>"
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: '2.0'
|
|
61
47
|
- !ruby/object:Gem::Dependency
|
|
62
48
|
name: rake
|
|
63
49
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -176,8 +162,8 @@ licenses:
|
|
|
176
162
|
- MIT
|
|
177
163
|
metadata:
|
|
178
164
|
bug_tracker_uri: https://github.com/gemhome/faraday-oauth1/issues
|
|
179
|
-
changelog_uri: https://github.com/gemhome/faraday-oauth1/blob/
|
|
180
|
-
documentation_uri: http://www.rubydoc.info/gems/faraday-oauth1/0.
|
|
165
|
+
changelog_uri: https://github.com/gemhome/faraday-oauth1/blob/v1.0.0/CHANGELOG.md
|
|
166
|
+
documentation_uri: http://www.rubydoc.info/gems/faraday-oauth1/1.0.0
|
|
181
167
|
homepage_uri: https://github.com/gemhome/faraday-oauth1
|
|
182
168
|
rubygems_mfa_required: 'true'
|
|
183
169
|
source_code_uri: https://github.com/gemhome/faraday-oauth1
|
|
@@ -191,9 +177,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
191
177
|
- - ">="
|
|
192
178
|
- !ruby/object:Gem::Version
|
|
193
179
|
version: '2.6'
|
|
194
|
-
- - "<"
|
|
195
|
-
- !ruby/object:Gem::Version
|
|
196
|
-
version: '4'
|
|
197
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
181
|
requirements:
|
|
199
182
|
- - ">="
|