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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3702006a3f91e531f37e456f5c9d873d20b8f9b1fd1cd6a708f3aaec603058a7
4
- data.tar.gz: b88fc3ab462f82dea5b06c6e02cca1195ce67c148e989d26d376c08df93b7679
3
+ metadata.gz: a5ca2f14225f084d72ed665044e7e61f824c38596ac415eb430291ea0096c096
4
+ data.tar.gz: ecb4c0089a5c5ce958170ccb90b0f1759a834144011cb732173969ec95485aff
5
5
  SHA512:
6
- metadata.gz: abcdb0e1a65cf6872ec1e206b5625b4d82b833f0d2e43e881f07fcce59ccc1260292177e2bb9f36279827c3141dee8af1e08a1351b53aeba44dbc7f6b5205193
7
- data.tar.gz: a0605dfb01f4b1c4e1dabd9a011632980d8cbe2ff7b2ccd4a99936d959c4eea820b2e65bedaffae332faa0ee4415a4413554c6c64ab129424269e1ff9539704d
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/v0.1.0...main)
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
- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/gemhome/faraday-oauth1/ci)](https://github.com/gemhome/faraday-oauth1/actions?query=branch%3Amain)
3
+ [![CI](https://github.com/gemhome/faraday-oauth1/actions/workflows/ci.yaml/badge.svg)](https://github.com/gemhome/faraday-oauth1/actions/workflows/ci.yaml)
4
4
  [![Gem](https://img.shields.io/gem/v/faraday-oauth1.svg?style=flat-square)](https://rubygems.org/gems/faraday-oauth1)
5
5
  [![License](https://img.shields.io/github/license/gemhome/faraday-oauth1.svg?style=flat-square)](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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module OAuth1
5
- VERSION = '0.1.1'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
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.1.1
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: 2023-10-12 00:00:00.000000000 Z
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/v0.1.1/CHANGELOG.md
180
- documentation_uri: http://www.rubydoc.info/gems/faraday-oauth1/0.1.1
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
  - - ">="