affirm-ruby 1.1.2 → 1.1.3
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 +6 -2
- data/lib/affirm/client.rb +3 -3
- data/lib/affirm/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: 9a48df83ec1d1284f1c6dcc92fc92cfdc67161c81f1782027e1fb51d9834f946
|
|
4
|
+
data.tar.gz: 149bcf4528ce52f3eb51fdd10b011b67436caf88b014f643a90fae249e887170
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6e29d5414cacf302fd71e61c3d8b819d7c337fe8cd037c148ffe787c6b30ccf3ab724bec9536b581aa82494a6e8652c35b7d06478714d4c45152bb7f6fd2de8
|
|
7
|
+
data.tar.gz: 3298539cecf655b17fcee1382c0c1c059fb9c0ae9319adacb30104a503eecca682fa286f567126776e8a6dadd220b84b6cbb32bda2d5c22f76ea2fa8702b01d7
|
data/CHANGELOG.md
CHANGED
|
@@ -4,13 +4,17 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [1.1.3][] (
|
|
7
|
+
## [1.1.3][] (2022-04-29)
|
|
8
|
+
|
|
9
|
+
Fixes:
|
|
10
|
+
|
|
11
|
+
- Fix error on Ruby 3 (embold-tyler in [#6](https://github.com/spectator/affirm/pull/6))
|
|
8
12
|
|
|
9
13
|
## [1.1.2][] (2021-10-30)
|
|
10
14
|
|
|
11
15
|
Fixes:
|
|
12
16
|
|
|
13
|
-
- Relax Ruby requirement (embold-tyler in [#
|
|
17
|
+
- Relax Ruby requirement (embold-tyler in [#5](https://github.com/spectator/affirm/pull/5))
|
|
14
18
|
|
|
15
19
|
## [1.1.0][] (2019-09-03)
|
|
16
20
|
|
data/lib/affirm/client.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Affirm
|
|
|
6
6
|
private :url_prefix
|
|
7
7
|
|
|
8
8
|
class << self
|
|
9
|
-
def request(method, path,
|
|
9
|
+
def request(method, path, data={})
|
|
10
10
|
new.public_send(method, path, data)
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -21,11 +21,11 @@ module Affirm
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
def get(path,
|
|
24
|
+
def get(path, data={})
|
|
25
25
|
connection.get(normalized_path(path), data)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
-
def post(path,
|
|
28
|
+
def post(path, data={})
|
|
29
29
|
connection.post(normalized_path(path), data)
|
|
30
30
|
end
|
|
31
31
|
|
data/lib/affirm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: affirm-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yury Velikanau
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2022-04-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday
|