capital_on_tap 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +11 -0
- data/Gemfile.lock +17 -19
- data/capital_on_tap.gemspec +1 -13
- data/lib/capital_on_tap/auth.rb +0 -1
- data/lib/capital_on_tap/connection.rb +0 -2
- data/lib/capital_on_tap/version.rb +1 -1
- metadata +10 -164
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8026493a7685d9c4898442f736bc3afea754bb49bcc050fa692bf1cf1de18500
|
4
|
+
data.tar.gz: 86acbe1633a23561321bb4915decf4c489edaeb42b1be4fd9e2d4b9a6564f4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dce5fd1853f57e64733bb26d16dda799e629836c951f73f2a96149e4b97f85097e1af2fdde851961f5becbe5e67dfab2c9b8c67d606dbf698ec8d411a4be7f7
|
7
|
+
data.tar.gz: 366323374dcb92d06e6e040a1aaed394be29d96711d7caaa39f4c7bb84490779e4d2365c47f0413a91584b9b32940d27f7bf6aeca5963782f0e8b48097ff6760
|
data/Gemfile
CHANGED
@@ -6,3 +6,14 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
6
|
|
7
7
|
# Specify your gem's dependencies in capital_on_tap.gemspec
|
8
8
|
gemspec
|
9
|
+
|
10
|
+
# Development dependencies
|
11
|
+
gem 'dotenv'
|
12
|
+
gem 'pry-byebug'
|
13
|
+
gem 'rake', '~> 10.0'
|
14
|
+
gem 'rspec', '~> 3.0'
|
15
|
+
gem 'rubocop'
|
16
|
+
gem 'rubocop-rspec'
|
17
|
+
gem 'simplecov'
|
18
|
+
gem 'vcr'
|
19
|
+
gem 'webmock'
|
data/Gemfile.lock
CHANGED
@@ -1,36 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capital_on_tap (1.0.
|
4
|
+
capital_on_tap (1.0.1)
|
5
5
|
addressable
|
6
|
-
faraday
|
7
|
-
faraday_middleware
|
6
|
+
faraday (~> 2.7)
|
8
7
|
multi_json
|
9
8
|
rainbow
|
10
9
|
|
11
10
|
GEM
|
12
11
|
remote: https://rubygems.org/
|
13
12
|
specs:
|
14
|
-
addressable (2.
|
15
|
-
public_suffix (>= 2.0.2, <
|
13
|
+
addressable (2.8.1)
|
14
|
+
public_suffix (>= 2.0.2, < 6.0)
|
16
15
|
ast (2.4.0)
|
17
16
|
byebug (11.0.1)
|
18
17
|
coderay (1.1.2)
|
19
|
-
crack (0.4.
|
20
|
-
|
18
|
+
crack (0.4.5)
|
19
|
+
rexml
|
21
20
|
diff-lcs (1.3)
|
22
21
|
docile (1.3.2)
|
23
22
|
dotenv (2.7.5)
|
24
|
-
faraday (
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
hashdiff (1.0.
|
23
|
+
faraday (2.7.4)
|
24
|
+
faraday-net_http (>= 2.0, < 3.1)
|
25
|
+
ruby2_keywords (>= 0.0.4)
|
26
|
+
faraday-net_http (3.0.2)
|
27
|
+
hashdiff (1.0.1)
|
29
28
|
jaro_winkler (1.5.4)
|
30
29
|
json (2.3.0)
|
31
30
|
method_source (0.9.2)
|
32
|
-
multi_json (1.
|
33
|
-
multipart-post (2.1.1)
|
31
|
+
multi_json (1.15.0)
|
34
32
|
parallel (1.19.0)
|
35
33
|
parser (2.6.5.0)
|
36
34
|
ast (~> 2.4.0)
|
@@ -40,9 +38,10 @@ GEM
|
|
40
38
|
pry-byebug (3.7.0)
|
41
39
|
byebug (~> 11.0)
|
42
40
|
pry (~> 0.10)
|
43
|
-
public_suffix (
|
41
|
+
public_suffix (5.0.1)
|
44
42
|
rainbow (3.0.0)
|
45
43
|
rake (10.5.0)
|
44
|
+
rexml (3.2.5)
|
46
45
|
rspec (3.8.0)
|
47
46
|
rspec-core (~> 3.8.0)
|
48
47
|
rspec-expectations (~> 3.8.0)
|
@@ -66,7 +65,7 @@ GEM
|
|
66
65
|
rubocop-rspec (1.36.0)
|
67
66
|
rubocop (>= 0.68.1)
|
68
67
|
ruby-progressbar (1.10.1)
|
69
|
-
|
68
|
+
ruby2_keywords (0.0.5)
|
70
69
|
simplecov (0.17.1)
|
71
70
|
docile (~> 1.1)
|
72
71
|
json (>= 1.8, < 3)
|
@@ -74,8 +73,8 @@ GEM
|
|
74
73
|
simplecov-html (0.10.2)
|
75
74
|
unicode-display_width (1.6.0)
|
76
75
|
vcr (5.0.0)
|
77
|
-
webmock (3.
|
78
|
-
addressable (>= 2.
|
76
|
+
webmock (3.18.1)
|
77
|
+
addressable (>= 2.8.0)
|
79
78
|
crack (>= 0.3.2)
|
80
79
|
hashdiff (>= 0.4.0, < 2.0.0)
|
81
80
|
|
@@ -83,7 +82,6 @@ PLATFORMS
|
|
83
82
|
ruby
|
84
83
|
|
85
84
|
DEPENDENCIES
|
86
|
-
bundler
|
87
85
|
capital_on_tap!
|
88
86
|
dotenv
|
89
87
|
pry-byebug
|
data/capital_on_tap.gemspec
CHANGED
@@ -25,19 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
27
|
spec.add_dependency 'addressable'
|
28
|
-
spec.add_dependency 'faraday'
|
29
|
-
spec.add_dependency 'faraday_middleware'
|
28
|
+
spec.add_dependency 'faraday', '~> 2.7'
|
30
29
|
spec.add_dependency 'multi_json'
|
31
30
|
spec.add_dependency 'rainbow'
|
32
|
-
|
33
|
-
spec.add_development_dependency 'bundler'
|
34
|
-
spec.add_development_dependency 'dotenv'
|
35
|
-
spec.add_development_dependency 'pry-byebug'
|
36
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
37
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
-
spec.add_development_dependency 'rubocop'
|
39
|
-
spec.add_development_dependency 'rubocop-rspec'
|
40
|
-
spec.add_development_dependency 'simplecov'
|
41
|
-
spec.add_development_dependency 'vcr'
|
42
|
-
spec.add_development_dependency 'webmock'
|
43
31
|
end
|
data/lib/capital_on_tap/auth.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'faraday'
|
4
|
-
require 'faraday_middleware'
|
5
4
|
require 'rainbow'
|
6
5
|
require 'addressable'
|
7
6
|
|
@@ -82,7 +81,6 @@ module CapitalOnTap
|
|
82
81
|
Faraday.new(url: base_url) do |conn|
|
83
82
|
conn.headers['Authorization'] = "Bearer #{@access_token}" unless @access_token.to_s.empty?
|
84
83
|
conn.headers['Content-Type'] = 'application/json'
|
85
|
-
conn.use FaradayMiddleware::ParseJson
|
86
84
|
conn.response :json, parser_options: { symbolize_names: true }
|
87
85
|
# conn.response :logger if CapitalOnTap.configuration.debug?
|
88
86
|
conn.adapter Faraday.default_adapter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capital_on_tap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rikas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -28,30 +28,16 @@ dependencies:
|
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: faraday_middleware
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
31
|
+
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '2.7'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - "
|
38
|
+
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
40
|
+
version: '2.7'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: multi_json
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,146 +66,6 @@ dependencies:
|
|
80
66
|
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
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
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: dotenv
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: pry-byebug
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rake
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '10.0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '10.0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '3.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '3.0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rubocop
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rubocop-rspec
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: simplecov
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: vcr
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - ">="
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - ">="
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: webmock
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '0'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '0'
|
223
69
|
description: Capital on Tap API wrapper
|
224
70
|
email:
|
225
71
|
- oterosantos@gmail.com
|
@@ -274,7 +120,7 @@ homepage: https://gitlab.com/finpoint/capital-on-tap
|
|
274
120
|
licenses:
|
275
121
|
- MIT
|
276
122
|
metadata: {}
|
277
|
-
post_install_message:
|
123
|
+
post_install_message:
|
278
124
|
rdoc_options: []
|
279
125
|
require_paths:
|
280
126
|
- lib
|
@@ -289,8 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
135
|
- !ruby/object:Gem::Version
|
290
136
|
version: '0'
|
291
137
|
requirements: []
|
292
|
-
rubygems_version: 3.
|
293
|
-
signing_key:
|
138
|
+
rubygems_version: 3.3.7
|
139
|
+
signing_key:
|
294
140
|
specification_version: 4
|
295
141
|
summary: Capital on Tap API wrapper
|
296
142
|
test_files: []
|