plaid 6.3.1 → 7.0.0.rc0

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: b47c2cc81bd0ed5da1e1e480fc514d2e20555194
4
- data.tar.gz: 6d28c5b40989944cecfcf90a6a138a731c88f706
3
+ metadata.gz: f251b7c70ec04163c7e8e4fd398fb51289335177
4
+ data.tar.gz: d2a80a47518e12c6ca387e16d23a005d30bf4d63
5
5
  SHA512:
6
- metadata.gz: 7cac7383611b3d38441bd2c28ac8e1ea3c42ca10bf9115f1c4449c9a05b94498af49e5e4a2aea5258943a837673b7388709fec0d9234cc4c3c053f8ed04c3cb9
7
- data.tar.gz: f8ad6dece5d6df3c925a3f9a5851b8ab5bcd06f76c48039133e66030953f0b4cbb374f5e67b26f99bb294856e13af8ffc1a0cb6c2e3b6a341eae693f80459294
6
+ metadata.gz: cf03af5a0686a67c11388a8ba91fc10728c0c2d6e61e9fa48e1f9374d569eda9f4251b19dac1a83a5b300ebb553a6fc38cc642f47db93e0350c80c7e6e075264
7
+ data.tar.gz: 52fee6178dd77d0cb0320744c55f9b594a9cd40c10050876b238ba805ef857ed3fec2a8e7d6029b4fd466b19abb1e4a825c7c35bc0d603b293e4608c6ba2aaa1
@@ -1,7 +1,3 @@
1
- # 6.3.1 20-Mar-2019
2
-
3
- * Remove unnecessary log line
4
-
5
1
  # 6.3.0 5-Mar-2019
6
2
 
7
3
  * Add support for include_institution_data to /institutions/search endpoint.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plaid (6.2.1)
4
+ plaid (7.0.0.rc0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  hashie (>= 3.4.3)
@@ -10,23 +10,23 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  ast (2.4.0)
13
- dotenv (2.4.0)
14
- faraday (0.15.2)
13
+ dotenv (2.7.1)
14
+ faraday (0.15.4)
15
15
  multipart-post (>= 1.2, < 3)
16
- faraday_middleware (0.12.2)
16
+ faraday_middleware (0.13.1)
17
17
  faraday (>= 0.7.4, < 1.0)
18
- hashie (3.5.7)
18
+ hashie (3.6.0)
19
19
  minitest (5.11.3)
20
20
  minitest-around (0.4.1)
21
21
  minitest (~> 5.0)
22
22
  multipart-post (2.0.0)
23
- parallel (1.12.1)
24
- parser (2.5.1.0)
23
+ parallel (1.14.0)
24
+ parser (2.6.0.0)
25
25
  ast (~> 2.4.0)
26
- powerpack (0.1.1)
26
+ powerpack (0.1.2)
27
27
  rainbow (3.0.0)
28
- rake (12.3.1)
29
- rdoc (6.0.4)
28
+ rake (12.3.2)
29
+ rdoc (6.1.1)
30
30
  rubocop (0.53.0)
31
31
  parallel (~> 1.10)
32
32
  parser (>= 2.5)
@@ -34,17 +34,17 @@ GEM
34
34
  rainbow (>= 2.2.2, < 4.0)
35
35
  ruby-progressbar (~> 1.7)
36
36
  unicode-display_width (~> 1.0, >= 1.0.1)
37
- ruby-progressbar (1.9.0)
37
+ ruby-progressbar (1.10.0)
38
38
  sdoc (1.0.0)
39
39
  rdoc (>= 5.0)
40
- unicode-display_width (1.3.2)
40
+ unicode-display_width (1.5.0)
41
41
  vcr (4.0.0)
42
42
 
43
43
  PLATFORMS
44
44
  ruby
45
45
 
46
46
  DEPENDENCIES
47
- bundler (~> 1.7)
47
+ bundler (~> 1.17)
48
48
  dotenv
49
49
  minitest (~> 5.10)
50
50
  minitest-around (~> 0.4.0)
@@ -55,4 +55,4 @@ DEPENDENCIES
55
55
  vcr (~> 4.0.0)
56
56
 
57
57
  BUNDLED WITH
58
- 1.16.2
58
+ 1.17.3
@@ -233,6 +233,44 @@ module Plaid
233
233
  property :institution
234
234
  end
235
235
 
236
+ # Public: A representation of an international account number.
237
+ class NumberInternational < BaseModel
238
+ ##
239
+ # :attr_reader:
240
+ # Public: The String account ID. E.g.
241
+ # "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D".
242
+ property :account_id
243
+
244
+ ##
245
+ # :attr_reader:
246
+ # Public: The account's IBAN.
247
+ property :iban
248
+
249
+ ##
250
+ # :attr_reader:
251
+ # Public: The account's BIC.
252
+ property :bic
253
+ end
254
+
255
+ # Public: A representation of an BACS (UK) account number.
256
+ class NumberBACS < BaseModel
257
+ ##
258
+ # :attr_reader:
259
+ # Public: The String account ID. E.g.
260
+ # "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D".
261
+ property :account_id
262
+
263
+ ##
264
+ # :attr_reader:
265
+ # Public: The account's (UK) account number.
266
+ property :account
267
+
268
+ ##
269
+ # :attr_reader:
270
+ # Public: The account's (UK) sort code.
271
+ property :sort_code
272
+ end
273
+
236
274
  # Public: A representation of a Auth Numbers response
237
275
  class Numbers < BaseModel
238
276
  ##
@@ -244,6 +282,16 @@ module Plaid
244
282
  # :attr_reader:
245
283
  # Public: The Array of NumberEFT.
246
284
  property :eft, coerce: Array[NumberEFT]
285
+
286
+ ##
287
+ # :attr_reader:
288
+ # Public: The Array of NumberInternational.
289
+ property :international, coerce: Array[NumberInternational]
290
+
291
+ ##
292
+ # :attr_reader:
293
+ # Public: The Array of NumberBACS.
294
+ property :bacs, coerce: Array[NumberBACS]
247
295
  end
248
296
 
249
297
  # Public: A representation of a transaction category.
@@ -359,13 +407,18 @@ module Plaid
359
407
 
360
408
  ##
361
409
  # :attr_reader:
362
- # Public: The String state name.
363
- property :state
410
+ # Public: The String region name.
411
+ property :region
364
412
 
365
413
  ##
366
414
  # :attr_reader:
367
- # Public: The String ZIP code.
368
- property :zip
415
+ # Public: The String postal code.
416
+ property :postal_code
417
+
418
+ ##
419
+ # :attr_reader:
420
+ # Public: The String country, an ISO-3166-1 alpha-2 code.
421
+ property :country
369
422
  end
370
423
 
371
424
  # Public: A representation of Identity address data.
@@ -664,8 +717,8 @@ module Plaid
664
717
 
665
718
  ##
666
719
  # :attr_reader:
667
- # Public: The String state name (or nil).
668
- property :state
720
+ # Public: The String region name (or nil).
721
+ property :region
669
722
 
670
723
  ##
671
724
  # :attr_reader:
@@ -674,8 +727,13 @@ module Plaid
674
727
 
675
728
  ##
676
729
  # :attr_reader:
677
- # Public: The String ZIP code (or nil).
678
- property :zip
730
+ # Public: The String postal code (or nil).
731
+ property :postal_code
732
+
733
+ ##
734
+ # :attr_reader:
735
+ # Public: The String country, an ISO-3166-1 alpha-2 code.
736
+ property :country
679
737
  end
680
738
 
681
739
  # Public: A representation of Transaction Payment meta information.
@@ -793,13 +851,37 @@ module Plaid
793
851
  property :unofficial_currency_code
794
852
  end
795
853
 
854
+ # Public: A representation of Identity address details returned by the
855
+ # assets endpoint.
856
+ class AssetReportAddressData < BaseModel
857
+ ##
858
+ # :attr_reader:
859
+ # Public: The String street name.
860
+ property :street
861
+
862
+ ##
863
+ # :attr_reader:
864
+ # Public: The String name.
865
+ property :city
866
+
867
+ ##
868
+ # :attr_reader:
869
+ # Public: The String state name.
870
+ property :state
871
+
872
+ ##
873
+ # :attr_reader:
874
+ # Public: The String ZIP code.
875
+ property :zip
876
+ end
877
+
796
878
  # Public: A representation of an asset report address.
797
879
  class AssetReportAddress < BaseModel
798
880
  ##
799
881
  # :attr_reader:
800
882
  # Public: Data about the components comprising an address; see
801
- # IdentityAddressData object for fields.
802
- property :data, coerce: IdentityAddressData
883
+ # AssetReportAddressData object for fields.
884
+ property :data, coerce: AssetReportAddressData
803
885
 
804
886
  ##
805
887
  # :attr_reader:
@@ -890,6 +972,45 @@ module Plaid
890
972
  property :unofficial_currency_code
891
973
  end
892
974
 
975
+ # Public: A representation of Transaction location returned by asset
976
+ # reports.
977
+ class AssetReportTransactionLocation < BaseModel
978
+ ##
979
+ # :attr_reader:
980
+ # Public: The String address (or nil).
981
+ property :address
982
+
983
+ ##
984
+ # :attr_reader:
985
+ # Public: The String city name (or nil).
986
+ property :city
987
+
988
+ ##
989
+ # :attr_reader:
990
+ # Public: The Numeric latitude of the place (or nil).
991
+ property :lat
992
+
993
+ ##
994
+ # :attr_reader:
995
+ # Public: The Numeric longitude of the place (or nil).
996
+ property :lon
997
+
998
+ ##
999
+ # :attr_reader:
1000
+ # Public: The String state name (or nil).
1001
+ property :state
1002
+
1003
+ ##
1004
+ # :attr_reader:
1005
+ # Public: The String store number (or nil).
1006
+ property :store_number
1007
+
1008
+ ##
1009
+ # :attr_reader:
1010
+ # Public: The String ZIP code (or nil).
1011
+ property :zip
1012
+ end
1013
+
893
1014
  # Public: A representation of an asset report transaction.
894
1015
  class AssetReportTransaction < BaseModel
895
1016
  ##
@@ -964,9 +1085,9 @@ module Plaid
964
1085
 
965
1086
  ##
966
1087
  # :attr_reader: Public: The location where transaction occurred
967
- # (TransactionLocation). This field only appears in an Asset Report with
968
- # Insights.
969
- property :location, coerce: TransactionLocation
1088
+ # (AssetReportTransactionLocation). This field only appears in an Asset
1089
+ # Report with Insights.
1090
+ property :location, coerce: AssetReportTransactionLocation
970
1091
 
971
1092
  ##
972
1093
  # :attr_reader: Public: The String transaction name (or nil). This field
@@ -1,4 +1,4 @@
1
1
  module Plaid
2
- VERSION = '6.3.1'.freeze
3
- API_VERSION = '2018-05-22'.freeze
2
+ VERSION = '7.0.0.rc0'.freeze
3
+ API_VERSION = '2019-02-14'.freeze
4
4
  end
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
38
38
  spec.add_dependency 'faraday_middleware'
39
39
  spec.add_dependency 'hashie', '>= 3.4.3'
40
40
 
41
- spec.add_development_dependency 'bundler', '~> 1.7'
41
+ spec.add_development_dependency 'bundler', '~> 1.17'
42
42
  spec.add_development_dependency 'dotenv'
43
43
  spec.add_development_dependency 'minitest', '~> 5.10'
44
44
  spec.add_development_dependency 'minitest-around', '~> 0.4.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.1
4
+ version: 7.0.0.rc0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Loo
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.7'
61
+ version: '1.17'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.7'
68
+ version: '1.17'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: dotenv
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -222,9 +222,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
222
  version: 2.1.0
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - ">="
225
+ - - ">"
226
226
  - !ruby/object:Gem::Version
227
- version: '0'
227
+ version: 1.3.1
228
228
  requirements: []
229
229
  rubyforge_project:
230
230
  rubygems_version: 2.5.1