old_plaid 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/PUBLISHING.md +21 -0
- data/README.md +125 -0
- data/Rakefile +8 -0
- data/lib/old_plaid.rb +100 -0
- data/lib/old_plaid/config.rb +19 -0
- data/lib/old_plaid/connection.rb +109 -0
- data/lib/old_plaid/errors.rb +27 -0
- data/lib/old_plaid/models/account.rb +24 -0
- data/lib/old_plaid/models/category.rb +17 -0
- data/lib/old_plaid/models/exchange_token_response.rb +11 -0
- data/lib/old_plaid/models/info.rb +12 -0
- data/lib/old_plaid/models/institution.rb +22 -0
- data/lib/old_plaid/models/transaction.rb +24 -0
- data/lib/old_plaid/models/user.rb +189 -0
- data/lib/old_plaid/version.rb +3 -0
- data/old_plaid.gemspec +28 -0
- data/spec/old_plaid_spec.rb +263 -0
- data/spec/plaid/config_spec.rb +67 -0
- data/spec/plaid/connection_spec.rb +191 -0
- data/spec/plaid/error_spec.rb +10 -0
- data/spec/plaid/models/account_spec.rb +37 -0
- data/spec/plaid/models/category_spec.rb +16 -0
- data/spec/plaid/models/institution_spec.rb +19 -0
- data/spec/plaid/models/transaction_spec.rb +28 -0
- data/spec/plaid/models/user_spec.rb +172 -0
- data/spec/spec_helper.rb +14 -0
- metadata +170 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'bundler/setup'
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
require 'old_plaid'
|
5
|
+
require 'pry' if ENV['DEBUG']
|
6
|
+
|
7
|
+
require 'webmock/rspec'
|
8
|
+
WebMock.allow_net_connect!
|
9
|
+
|
10
|
+
OldPlaid.config do |p|
|
11
|
+
p.customer_id = 'test_id'
|
12
|
+
p.secret = 'test_secret'
|
13
|
+
p.environment_location = 'https://tartan.plaid.com/'
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: old_plaid
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.7.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Justin Crites
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.1'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry-stack_explorer
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webmock
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Ruby gem wrapper for the OldPlaid API. Read more at the homepage, the
|
98
|
+
wiki, or the plaid documentation.
|
99
|
+
email:
|
100
|
+
- crites.justin@gmail.com
|
101
|
+
executables: []
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".rspec"
|
107
|
+
- ".travis.yml"
|
108
|
+
- Gemfile
|
109
|
+
- LICENSE.txt
|
110
|
+
- PUBLISHING.md
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- lib/old_plaid.rb
|
114
|
+
- lib/old_plaid/config.rb
|
115
|
+
- lib/old_plaid/connection.rb
|
116
|
+
- lib/old_plaid/errors.rb
|
117
|
+
- lib/old_plaid/models/account.rb
|
118
|
+
- lib/old_plaid/models/category.rb
|
119
|
+
- lib/old_plaid/models/exchange_token_response.rb
|
120
|
+
- lib/old_plaid/models/info.rb
|
121
|
+
- lib/old_plaid/models/institution.rb
|
122
|
+
- lib/old_plaid/models/transaction.rb
|
123
|
+
- lib/old_plaid/models/user.rb
|
124
|
+
- lib/old_plaid/version.rb
|
125
|
+
- old_plaid.gemspec
|
126
|
+
- spec/old_plaid_spec.rb
|
127
|
+
- spec/plaid/config_spec.rb
|
128
|
+
- spec/plaid/connection_spec.rb
|
129
|
+
- spec/plaid/error_spec.rb
|
130
|
+
- spec/plaid/models/account_spec.rb
|
131
|
+
- spec/plaid/models/category_spec.rb
|
132
|
+
- spec/plaid/models/institution_spec.rb
|
133
|
+
- spec/plaid/models/transaction_spec.rb
|
134
|
+
- spec/plaid/models/user_spec.rb
|
135
|
+
- spec/spec_helper.rb
|
136
|
+
homepage: https://github.com/plaid/plaid-ruby
|
137
|
+
licenses:
|
138
|
+
- MIT
|
139
|
+
metadata: {}
|
140
|
+
post_install_message:
|
141
|
+
rdoc_options: []
|
142
|
+
require_paths:
|
143
|
+
- lib
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: 1.9.3
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
requirements: []
|
155
|
+
rubyforge_project:
|
156
|
+
rubygems_version: 2.5.2
|
157
|
+
signing_key:
|
158
|
+
specification_version: 4
|
159
|
+
summary: Ruby bindings for OldPlaid
|
160
|
+
test_files:
|
161
|
+
- spec/old_plaid_spec.rb
|
162
|
+
- spec/plaid/config_spec.rb
|
163
|
+
- spec/plaid/connection_spec.rb
|
164
|
+
- spec/plaid/error_spec.rb
|
165
|
+
- spec/plaid/models/account_spec.rb
|
166
|
+
- spec/plaid/models/category_spec.rb
|
167
|
+
- spec/plaid/models/institution_spec.rb
|
168
|
+
- spec/plaid/models/transaction_spec.rb
|
169
|
+
- spec/plaid/models/user_spec.rb
|
170
|
+
- spec/spec_helper.rb
|