plaid 1.5.0 → 1.5.1
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/README.md +1 -1
- data/lib/plaid/connection.rb +3 -3
- data/lib/plaid/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cab3b78eeb5a97610fb53cdc906df62f5b97d78
|
|
4
|
+
data.tar.gz: be818cf1d95a484ec4361aa5b6c993d79d2d37b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5adcd1104a0ec129c5ed3abd9f8cdc922988349b2b65bfe1a0b4a5ed962e5c40e9b25f60872b8591355f7efd3bebf43540939c6dee07f1c04ea2edc257fb609f
|
|
7
|
+
data.tar.gz: 83c92107653005dc4b7ed315aac255c2522dc2b5d4453afa4879dc0fb2a4ef7682b7afb77e5bc433564c3a82d4d4f7d7bd962a7f12e11933526b577310f198b0
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Ruby bindings for the Plaid API
|
|
|
6
6
|
|
|
7
7
|
This version is a beta version that contains failing tests for the new 'info' endpoint. While these have been tested individually on real accounts the tests here will fail with the test accounts supplied. These will be updated soon with test credentials.
|
|
8
8
|
|
|
9
|
-
Latest stable version: **1.5.
|
|
9
|
+
Latest stable version: **1.5.1**
|
|
10
10
|
|
|
11
11
|
This version removes the need to use 'type' in each additional call.
|
|
12
12
|
|
data/lib/plaid/connection.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Plaid
|
|
|
25
25
|
options.merge!({access_token:access_token})
|
|
26
26
|
req = Net::HTTP::Get.new(uri)
|
|
27
27
|
req.body = URI.encode_www_form(options) if options
|
|
28
|
-
req.content_type = '
|
|
28
|
+
req.content_type = 'application/x-www-form-urlencoded'
|
|
29
29
|
res = Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme == 'https') { |http| http.request(req) }
|
|
30
30
|
parse_response(res)
|
|
31
31
|
end
|
|
@@ -36,7 +36,7 @@ module Plaid
|
|
|
36
36
|
options.merge!(client_id: Plaid.customer_id, secret: Plaid.secret)
|
|
37
37
|
req = Net::HTTP::Patch.new(uri)
|
|
38
38
|
req.body = URI.encode_www_form(options) if options
|
|
39
|
-
req.content_type = '
|
|
39
|
+
req.content_type = 'application/x-www-form-urlencoded'
|
|
40
40
|
res = Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme == 'https') { |http| http.request(req) }
|
|
41
41
|
parse_response(res)
|
|
42
42
|
end
|
|
@@ -47,7 +47,7 @@ module Plaid
|
|
|
47
47
|
options.merge!(client_id: Plaid.customer_id, secret: Plaid.secret)
|
|
48
48
|
req = Net::HTTP::Delete.new(uri)
|
|
49
49
|
req.body = URI.encode_www_form(options) if options
|
|
50
|
-
req.content_type = '
|
|
50
|
+
req.content_type = 'application/x-www-form-urlencoded'
|
|
51
51
|
Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme == 'https') { |http| http.request(req) }
|
|
52
52
|
end
|
|
53
53
|
|
data/lib/plaid/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plaid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Crites
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
136
|
rubyforge_project:
|
|
137
|
-
rubygems_version: 2.
|
|
137
|
+
rubygems_version: 2.4.7
|
|
138
138
|
signing_key:
|
|
139
139
|
specification_version: 4
|
|
140
140
|
summary: Ruby bindings for Plaid
|