gibbon 3.4.2 → 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gibbon might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/LICENSE.txt +1 -1
- data/README.markdown +2 -2
- data/lib/gibbon/api_request.rb +7 -2
- data/lib/gibbon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbf98318183318809515680772c41112c958c6bbe179cca742be0ede39a7ff00
|
4
|
+
data.tar.gz: b5ef43d8313654cd65cc57da8698189cf559200e89da98cd269b9e3973d02b9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c4534f315ae5d1bdf712bbdb56414ba2e96170af76c6e70dde47f1d01157e2d3707d4473be60f3a38b9cfa3ab8780694bcde7b007d5dc0919c103d5b7f69598
|
7
|
+
data.tar.gz: fe7e4f3f2c55b289ee93c8f72ce28204a55ad013c3f997f287a734e0cb7e07b2ec5ce635a9c5534f2be11e25eda8ed291365d6c7579f6fb5cbfcf2a1287f1bdf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
## [Unreleased][unreleased]
|
2
2
|
|
3
3
|
|
4
|
+
## [3.4.3] - 2022-01-19
|
5
|
+
- Support for Faraday 2.0, which requires new syntax for basic auth
|
6
|
+
|
4
7
|
## [3.4.2] - 2021-09-21
|
5
8
|
- Fixing the deprecation warning in version 3.4.2 requires moving to a minimum version of Faraday 1.0.0 (more than 2 years old).
|
6
9
|
|
data/LICENSE.txt
CHANGED
data/README.markdown
CHANGED
@@ -508,5 +508,5 @@ Thanks to everyone who has [contributed](https://github.com/amro/gibbon/contribu
|
|
508
508
|
|
509
509
|
## Copyright
|
510
510
|
|
511
|
-
* Copyright (c) 2010-
|
512
|
-
* MailChimp (c) 2001-
|
511
|
+
* Copyright (c) 2010-2022 Amro Mousa. See LICENSE.txt for details.
|
512
|
+
* MailChimp (c) 2001-2022 The Rocket Science Group.
|
data/lib/gibbon/api_request.rb
CHANGED
@@ -152,9 +152,14 @@ module Gibbon
|
|
152
152
|
if @request_builder.debug
|
153
153
|
faraday.response :logger, @request_builder.logger, bodies: true
|
154
154
|
end
|
155
|
-
|
155
|
+
|
156
|
+
if Faraday::VERSION.to_i >= 2
|
157
|
+
faraday.request :authorization, :basic, 'apikey', self.api_key
|
158
|
+
else
|
159
|
+
faraday.request :basic_auth, 'apikey', self.api_key
|
160
|
+
end
|
156
161
|
end
|
157
|
-
|
162
|
+
|
158
163
|
client
|
159
164
|
end
|
160
165
|
|
data/lib/gibbon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gibbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amro Mousa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|