plaid 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b8b2f76594f65f973077ad6cde5d686bf214e0f
4
- data.tar.gz: f776703e98bdd32da28c1451c9686490eca81767
3
+ metadata.gz: 3cab3b78eeb5a97610fb53cdc906df62f5b97d78
4
+ data.tar.gz: be818cf1d95a484ec4361aa5b6c993d79d2d37b2
5
5
  SHA512:
6
- metadata.gz: e9518764f519d2f8cc5535e50a16aed204032cb39e9e700c77c58782548dce249af9a76ab306aaa824023db281c3859449d4c47fb576c1da5abd8fc24a6c926c
7
- data.tar.gz: 0f378b719b774502fb0f88dda4b82c66e62921e7d16b58ffb01300d1a2e6e8d524231b4b98f3ca8c26bdc11c0937636300444d62e0392887ed6e0320b0647077
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.0**
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
 
@@ -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 = 'multipart/form-data'
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 = 'multipart/form-data'
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 = 'multipart/form-data'
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
@@ -1,3 +1,3 @@
1
1
  module Plaid
2
- VERSION = '1.5.0'
2
+ VERSION = '1.5.1'
3
3
  end
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.0
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-05-22 00:00:00.000000000 Z
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.2.2
137
+ rubygems_version: 2.4.7
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Ruby bindings for Plaid