aptible-auth 1.2.6 → 1.2.7

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: 91eb4ee95916762970bae2c1ddc260b9f0e5ffccebc5ca6479875aad3ca66ca5
4
- data.tar.gz: 45db7f42ff6ca821dee7fef025e28c22bdf87b8601d97d7d637646b976fd7f56
3
+ metadata.gz: ff939c12eccbed8e6f8408f1608fa8b07e036b7fd837cf230ac8da01db236bac
4
+ data.tar.gz: c323895a11c8b0713b2f295c0178536e43f2bd8c01b823b4f44f4f29217c73d9
5
5
  SHA512:
6
- metadata.gz: 3aa579e5df97ad873dbd566322f2e6d8d6dcd3fee8e06bfdcb7d54e5a8eedff793d667266e6be5cf35427c3510046164b5ec4e3a12cad86006f031bc66734dc6
7
- data.tar.gz: f978a956c1037c31f920f33646ad247af9048038fef96fc858ffc928983451de5ccb3bdb707aade59d83ac10088a753f1258cb31ac6af788c966400879fccb0e
6
+ metadata.gz: 5a4e952f3b63e0692210ec0a8c58517ec5878618fe6f4c3f47c7ae4b94f2c31a6344e67fe88447a2bd59cbdf25f5550f8dc6f6511405af21aa2e022d579ddf98
7
+ data.tar.gz: ee7c792b19ae8c8acafb20710c5b404b729a7a8e202cf50632a1d7a2e096245208dbca586f8bb84050dbdb73397aae75c665dc1f0d791bc12704222b96831750
@@ -1,5 +1,4 @@
1
1
  require 'oauth2'
2
- require 'oauth2/response_parser'
3
2
  require 'oauth2/strategy/token_exchange'
4
3
 
5
4
  module Aptible
@@ -78,6 +77,7 @@ module Aptible
78
77
  options = {
79
78
  site: root_url,
80
79
  token_url: '/tokens',
80
+ auth_scheme: :request_body,
81
81
  connection_opts: {
82
82
  headers: {
83
83
  'User-Agent' => Aptible::Resource.configuration.user_agent
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Auth
3
- VERSION = '1.2.6'.freeze
3
+ VERSION = '1.2.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-23 00:00:00.000000000 Z
11
+ date: 2025-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource
@@ -199,7 +199,6 @@ files:
199
199
  - lib/aptible/auth/user.rb
200
200
  - lib/aptible/auth/version.rb
201
201
  - lib/aptible/auth/whitelist_membership.rb
202
- - lib/oauth2/response_parser.rb
203
202
  - lib/oauth2/strategy/token_exchange.rb
204
203
  - spec/aptible/auth/agent_spec.rb
205
204
  - spec/aptible/auth/organization_spec.rb
@@ -229,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
228
  - !ruby/object:Gem::Version
230
229
  version: '0'
231
230
  requirements: []
232
- rubygems_version: 3.3.27
231
+ rubygems_version: 3.4.10
233
232
  signing_key:
234
233
  specification_version: 4
235
234
  summary: Ruby client for auth.aptible.com
@@ -1,5 +0,0 @@
1
- # rubocop:disable all
2
- # NOTE: This code has been in oauth2 master since 2018 but is awaiting a 2.0 release of oauth2
3
- OAuth2::Response.register_parser(:json, ['application/json', 'text/javascript', 'application/hal+json', 'application/vnd.collection+json', 'application/vnd.api+json']) do |body|
4
- MultiJson.load(body) rescue body # rubocop:disable RescueModifier
5
- end