tide-api 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tool-versions +1 -1
- data/CHANGELOG.md +9 -1
- data/README.md +7 -8
- data/lib/tide/api/version.rb +1 -1
- data/tide-api.gemspec +15 -15
- metadata +34 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61415785884690184f90afc6773b401788b2ac53155e0b86d0a317ac982224d6
|
4
|
+
data.tar.gz: 88db363f0e57666373de02dc80ffef69ba9f2d4bf4f7bb0f943708bdf5d02f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d18a19814fc509f982392750f272bf81a01415a172b988c18406a360bea820803a819cc3a986d29663c7fceedafd36b05a10d398261bc772de753b00f030ac31
|
7
|
+
data.tar.gz: eff55074236479c992fd2e66fe65f6030c5e3968097ae91552ea8ecc2aabeb31f5015f34672f532f57b58aa3182859e8cd45fdd5e36220c95a989bb35bfedc4f
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 2.
|
1
|
+
ruby 2.7.1
|
data/CHANGELOG.md
CHANGED
@@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.4.0] - 2020-06-08
|
8
|
+
### Changed
|
9
|
+
- Updated the `HTTP` production dependency to `v4.4`
|
10
|
+
- Updated all development dependencies to the latest versions
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- Fixed the binary executable (`tide`)
|
14
|
+
|
7
15
|
## [0.3.0] - 2019-06-30
|
8
16
|
### Added
|
9
|
-
- An HTTP server to capture Authentication Grant Codes from OAuth2 callbacks
|
17
|
+
- An HTTP server to capture Authentication Grant Codes from OAuth2 callbacks
|
10
18
|
|
11
19
|
## [0.2.0] - 2019-06-30
|
12
20
|
### Added
|
data/README.md
CHANGED
@@ -15,9 +15,9 @@ Ruby interface to Tide's bank RESTful API.
|
|
15
15
|
- [Authentication](#authentication)
|
16
16
|
- [Obtaining an Authorization Grant Code](#obtaining-an-azuthorization-grant-code)
|
17
17
|
- [Exchanging an Authorisation Grant for an Access Token](#exchanging-an-authorisation-grant-for-an-access-token)
|
18
|
-
- [Fetching Companies](#fetching-companies)
|
19
|
-
- [Fetching Accounts](#fetching-accounts)
|
20
|
-
- [Fetching Transactions](#fetching-transactions)
|
18
|
+
- [Fetching Companies](#fetching-companies)
|
19
|
+
- [Fetching Accounts](#fetching-accounts)
|
20
|
+
- [Fetching Transactions](#fetching-transactions)
|
21
21
|
- [Development](#development)
|
22
22
|
- [Contributing](#contributing)
|
23
23
|
- [License](#license)
|
@@ -82,17 +82,16 @@ tokens.access_token
|
|
82
82
|
tokens.refresh_token
|
83
83
|
````
|
84
84
|
|
85
|
-
|
85
|
+
The method `fetch_tokens` will configure the client behind the scenes to make authenticated requests.
|
86
86
|
|
87
|
-
|
87
|
+
### Fetching Companies
|
88
88
|
This method retrieves a collection of companies with the user. The user is determined from authorization header.
|
89
89
|
|
90
90
|
```ruby
|
91
|
-
client = Tide::API::Client.new
|
92
91
|
companies = client.fetch_companies
|
93
92
|
````
|
94
93
|
|
95
|
-
|
94
|
+
### Fetching Accounts
|
96
95
|
This method retrieves a collection of company accounts associated with the user. The user is determined from
|
97
96
|
authorization header.
|
98
97
|
|
@@ -100,7 +99,7 @@ authorization header.
|
|
100
99
|
accounts = client.fetch_accounts(companies.first.id)
|
101
100
|
````
|
102
101
|
|
103
|
-
|
102
|
+
### Fetching Transactions
|
104
103
|
This method retrieves a collection of an account's transactions:
|
105
104
|
|
106
105
|
```ruby
|
data/lib/tide/api/version.rb
CHANGED
data/tide-api.gemspec
CHANGED
@@ -19,30 +19,30 @@ Gem::Specification.new do |spec|
|
|
19
19
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
20
|
end
|
21
21
|
|
22
|
-
spec.bindir = '
|
23
|
-
spec.executables =
|
22
|
+
spec.bindir = 'bin'
|
23
|
+
spec.executables = ['tide']
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
26
|
spec.add_dependency 'dry-struct', '~> 1.0'
|
27
|
-
spec.add_dependency 'http', '~> 4.
|
27
|
+
spec.add_dependency 'http', '~> 4.4'
|
28
28
|
|
29
|
-
spec.add_development_dependency 'bundler', '
|
29
|
+
spec.add_development_dependency 'bundler', '>= 2.1'
|
30
30
|
spec.add_development_dependency 'bundler-audit', '~> 0.6'
|
31
|
-
spec.add_development_dependency 'guard', '~> 2.
|
32
|
-
spec.add_development_dependency 'guard-bundler', '~>
|
31
|
+
spec.add_development_dependency 'guard', '~> 2.16'
|
32
|
+
spec.add_development_dependency 'guard-bundler', '~> 3.0'
|
33
33
|
spec.add_development_dependency 'guard-bundler-audit', '~> 0.1'
|
34
34
|
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
35
35
|
spec.add_development_dependency 'guard-rubocop', '~> 1.3'
|
36
|
-
spec.add_development_dependency 'overcommit', '~> 0.
|
37
|
-
spec.add_development_dependency 'pry', '~> 0.
|
38
|
-
spec.add_development_dependency 'rake', '~>
|
36
|
+
spec.add_development_dependency 'overcommit', '~> 0.53'
|
37
|
+
spec.add_development_dependency 'pry', '~> 0.13'
|
38
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
39
39
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
40
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
41
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 1.
|
42
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
43
|
-
spec.add_development_dependency 'simplecov-console', '~> 0.
|
44
|
-
spec.add_development_dependency 'vcr', '~>
|
45
|
-
spec.add_development_dependency 'webmock', '~> 3.
|
40
|
+
spec.add_development_dependency 'rubocop', '~> 0.85'
|
41
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 1.39'
|
42
|
+
spec.add_development_dependency 'simplecov', '~> 0.17.1'
|
43
|
+
spec.add_development_dependency 'simplecov-console', '~> 0.7'
|
44
|
+
spec.add_development_dependency 'vcr', '~> 6.0'
|
45
|
+
spec.add_development_dependency 'webmock', '~> 3.8'
|
46
46
|
spec.add_development_dependency 'yard', '~> 0.9'
|
47
47
|
spec.add_development_dependency 'yard-junk', '~> 0.0.7'
|
48
48
|
spec.add_development_dependency 'yardstick', '~> 0.9'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tide-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilson Silva
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '4.
|
33
|
+
version: '4.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '4.
|
40
|
+
version: '4.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1
|
47
|
+
version: '2.1'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1
|
54
|
+
version: '2.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler-audit
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
75
|
+
version: '2.16'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2.
|
82
|
+
version: '2.16'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: guard-bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '3.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '3.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: guard-bundler-audit
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,42 +142,42 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
145
|
+
version: '0.53'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0.
|
152
|
+
version: '0.53'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: pry
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
159
|
+
version: '0.13'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0.
|
166
|
+
version: '0.13'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rake
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
173
|
+
version: '12.3'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
180
|
+
version: '12.3'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rspec
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,84 +198,84 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '0.
|
201
|
+
version: '0.85'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '0.
|
208
|
+
version: '0.85'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: rubocop-rspec
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: '1.
|
215
|
+
version: '1.39'
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: '1.
|
222
|
+
version: '1.39'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: simplecov
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
229
|
+
version: 0.17.1
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
236
|
+
version: 0.17.1
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
238
|
name: simplecov-console
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: '0.
|
243
|
+
version: '0.7'
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '0.
|
250
|
+
version: '0.7'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: vcr
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
257
|
+
version: '6.0'
|
258
258
|
type: :development
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
264
|
+
version: '6.0'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: webmock
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
269
|
- - "~>"
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: '3.
|
271
|
+
version: '3.8'
|
272
272
|
type: :development
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - "~>"
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: '3.
|
278
|
+
version: '3.8'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: yard
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -321,7 +321,8 @@ dependencies:
|
|
321
321
|
description: Client for Tide's bank RESTful API
|
322
322
|
email:
|
323
323
|
- me@wilsonsilva.net
|
324
|
-
executables:
|
324
|
+
executables:
|
325
|
+
- tide
|
325
326
|
extensions: []
|
326
327
|
extra_rdoc_files: []
|
327
328
|
files:
|
@@ -378,7 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
378
379
|
- !ruby/object:Gem::Version
|
379
380
|
version: '0'
|
380
381
|
requirements: []
|
381
|
-
rubygems_version: 3.
|
382
|
+
rubygems_version: 3.1.2
|
382
383
|
signing_key:
|
383
384
|
specification_version: 4
|
384
385
|
summary: Client for Tide's bank RESTful API
|