plaid 1.5.1 → 1.5.2

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: 3cab3b78eeb5a97610fb53cdc906df62f5b97d78
4
- data.tar.gz: be818cf1d95a484ec4361aa5b6c993d79d2d37b2
3
+ metadata.gz: 368e233ca55b0e688f8d58faaaa9a3316d80d663
4
+ data.tar.gz: 7034e5662cac8e09fb029719abdbbbcb9ecd1e61
5
5
  SHA512:
6
- metadata.gz: 5adcd1104a0ec129c5ed3abd9f8cdc922988349b2b65bfe1a0b4a5ed962e5c40e9b25f60872b8591355f7efd3bebf43540939c6dee07f1c04ea2edc257fb609f
7
- data.tar.gz: 83c92107653005dc4b7ed315aac255c2522dc2b5d4453afa4879dc0fb2a4ef7682b7afb77e5bc433564c3a82d4d4f7d7bd962a7f12e11933526b577310f198b0
6
+ metadata.gz: f22fb8efa56472c28389840bb817d1ad6d6e8180d88f4d960db334404b8f1308b7a39e76f83fc234542e30b03b36ee47d512153ffb25106a88489b359004c306
7
+ data.tar.gz: 82af4b00d019397e0de3e26feb70797e93eaeff967698571e1b8cd6ffcbf89b18f446fa63f7f598d5240cd283af6a6e844547f43ab6fd8fea09c1dec11fc4b75
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.1**
9
+ Latest stable version: **1.5.2**
10
10
 
11
11
  This version removes the need to use 'type' in each additional call.
12
12
 
@@ -37,11 +37,11 @@ Configure the gem with your customer id, secret key, and the environment path yo
37
37
 
38
38
  ```ruby
39
39
  Plaid.config do |p|
40
- p.customer_id = 'Plaid provided customer ID here'
41
- p.secret = 'Plaid provided secret key here'
42
- p.environment_location = 'URL for the development or production environment'
43
- # i.e. 'https://tartan.plaid.com/' for development, or
44
- # 'https://api.plaid.com/' for production
40
+ p.customer_id = 'Plaid provided customer ID here'
41
+ p.secret = 'Plaid provided secret key here'
42
+ p.environment_location = 'URL for the development or production environment'
43
+ # i.e. 'https://tartan.plaid.com/' for development, or
44
+ # 'https://api.plaid.com/' for production
45
45
  end
46
46
  ```
47
47
 
@@ -78,9 +78,9 @@ user = Plaid.set_user('access_token', 'wells')
78
78
 
79
79
  ```ruby
80
80
  Plaid.config do |p|
81
- p.customer_id = 'test_id'
82
- p.secret = 'test_secret'
83
- p.environment_location = 'https://tartan.plaid.com'
81
+ p.customer_id = 'test_id'
82
+ p.secret = 'test_secret'
83
+ p.environment_location = 'https://tartan.plaid.com'
84
84
  end
85
85
 
86
86
  # Exchange a Link public_token for a Plaid access_token
@@ -1,6 +1,6 @@
1
1
  module Plaid
2
2
  class Transaction
3
- attr_accessor :id, :account, :date, :amount, :name, :meta, :location, :pending, :score, :cat, :type, :category, :category_id
3
+ attr_accessor :id, :account, :date, :amount, :name, :meta, :location, :pending, :score, :cat, :type, :category, :category_id, :pending_transaction
4
4
 
5
5
  def initialize(fields = {})
6
6
  @id = fields['_id']
@@ -10,6 +10,7 @@ module Plaid
10
10
  @name = fields['name']
11
11
  @location = fields['meta'].nil? ? {} : fields['meta']['location']
12
12
  @pending = fields['pending']
13
+ @pendingTransaction = fields['_pendingTransaction']
13
14
  @score = fields['score']
14
15
  @cat = Category.new({ 'id' => fields['category_id'], 'hierarchy' => fields['category'], 'type' => fields['type'] })
15
16
 
@@ -1,3 +1,3 @@
1
1
  module Plaid
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.2'
3
3
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.description = 'Ruby gem wrapper for the Plaid API. Read more at the homepage, the wiki, or the plaid documentation.'
12
12
  spec.homepage = 'https://github.com/plaid/plaid-ruby'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = '>= 2.1.3'
14
+ spec.required_ruby_version = '>= 2.0'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -24,3 +24,4 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'pry'
25
25
  spec.add_development_dependency 'pry-stack_explorer'
26
26
  end
27
+
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.1
4
+ version: 1.5.2
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-06-09 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: 2.1.3
129
+ version: '2.0'
130
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - ">="