optimum 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +12 -0
- data/Gemfile.lock +72 -67
- data/lib/optimum/configuration.rb +1 -1
- data/lib/optimum/connection.rb +0 -1
- data/lib/optimum/version.rb +1 -1
- data/optimum.gemspec +1 -15
- metadata +10 -192
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca83f63a3ed8769afa4fa9fe6ec9b1d42fd9a4587832ebeeae2d3a9156ef771f
|
4
|
+
data.tar.gz: 37044046c0f91f8c72d6698ae524d33f41ec1fa8ab754fd24db4583826e3c06f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41bb514220d2431095e506bc01456b76f036440dd96f0f5ebc71edf73980c4a2ef22521aa5b8041a4fc4fc7edfb785659b08eed3dde76d2061847eb53c041c08
|
7
|
+
data.tar.gz: b69cc70523c7f77d0e21b3a153118903ba02ad1fcc91cc2ea488c76150e8128bd6008a38747c9f531ea43548b61c60cd7d8bd467f9a5a816a50240873f1a13cb
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.1.2
|
data/Gemfile
CHANGED
@@ -4,3 +4,15 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in optimum.gemspec
|
6
6
|
gemspec
|
7
|
+
|
8
|
+
# Dev dependencies
|
9
|
+
gem 'dotenv'
|
10
|
+
gem 'faker'
|
11
|
+
gem 'pry-byebug'
|
12
|
+
gem 'rake', '~> 10.0'
|
13
|
+
gem 'rspec', '~> 3.0'
|
14
|
+
gem 'rubocop'
|
15
|
+
gem 'rubocop-rspec'
|
16
|
+
gem 'simplecov'
|
17
|
+
gem 'vcr'
|
18
|
+
gem 'webmock'
|
data/Gemfile.lock
CHANGED
@@ -1,86 +1,92 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
optimum (1.
|
4
|
+
optimum (1.1.1)
|
5
5
|
addressable
|
6
|
-
faraday
|
7
|
-
faraday_middleware
|
8
|
-
multi_json
|
6
|
+
faraday (~> 2.7)
|
9
7
|
rainbow
|
10
8
|
|
11
9
|
GEM
|
12
10
|
remote: https://rubygems.org/
|
13
11
|
specs:
|
14
|
-
addressable (2.
|
15
|
-
public_suffix (>= 2.0.2, <
|
16
|
-
ast (2.4.
|
17
|
-
byebug (11.1.
|
18
|
-
coderay (1.1.
|
19
|
-
concurrent-ruby (1.
|
20
|
-
crack (0.4.
|
21
|
-
|
22
|
-
diff-lcs (1.
|
23
|
-
docile (1.
|
24
|
-
dotenv (2.
|
25
|
-
faker (
|
26
|
-
i18n (>= 1.
|
27
|
-
faraday (
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
hashdiff (1.0.
|
32
|
-
i18n (1.
|
12
|
+
addressable (2.8.1)
|
13
|
+
public_suffix (>= 2.0.2, < 6.0)
|
14
|
+
ast (2.4.2)
|
15
|
+
byebug (11.1.3)
|
16
|
+
coderay (1.1.3)
|
17
|
+
concurrent-ruby (1.2.2)
|
18
|
+
crack (0.4.5)
|
19
|
+
rexml
|
20
|
+
diff-lcs (1.5.0)
|
21
|
+
docile (1.4.0)
|
22
|
+
dotenv (2.8.1)
|
23
|
+
faker (3.1.1)
|
24
|
+
i18n (>= 1.8.11, < 2)
|
25
|
+
faraday (2.7.4)
|
26
|
+
faraday-net_http (>= 2.0, < 3.1)
|
27
|
+
ruby2_keywords (>= 0.0.4)
|
28
|
+
faraday-net_http (3.0.2)
|
29
|
+
hashdiff (1.0.1)
|
30
|
+
i18n (1.12.0)
|
33
31
|
concurrent-ruby (~> 1.0)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
pry (
|
43
|
-
coderay (~> 1.1.0)
|
44
|
-
method_source (~> 0.9.0)
|
45
|
-
pry-byebug (3.7.0)
|
32
|
+
json (2.6.3)
|
33
|
+
method_source (1.0.0)
|
34
|
+
parallel (1.22.1)
|
35
|
+
parser (3.2.1.0)
|
36
|
+
ast (~> 2.4.1)
|
37
|
+
pry (0.14.2)
|
38
|
+
coderay (~> 1.1)
|
39
|
+
method_source (~> 1.0)
|
40
|
+
pry-byebug (3.10.1)
|
46
41
|
byebug (~> 11.0)
|
47
|
-
pry (
|
48
|
-
public_suffix (
|
49
|
-
rainbow (3.
|
42
|
+
pry (>= 0.13, < 0.15)
|
43
|
+
public_suffix (5.0.1)
|
44
|
+
rainbow (3.1.1)
|
50
45
|
rake (10.5.0)
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
rspec-
|
55
|
-
|
56
|
-
rspec-
|
57
|
-
rspec-
|
46
|
+
regexp_parser (2.7.0)
|
47
|
+
rexml (3.2.5)
|
48
|
+
rspec (3.12.0)
|
49
|
+
rspec-core (~> 3.12.0)
|
50
|
+
rspec-expectations (~> 3.12.0)
|
51
|
+
rspec-mocks (~> 3.12.0)
|
52
|
+
rspec-core (3.12.1)
|
53
|
+
rspec-support (~> 3.12.0)
|
54
|
+
rspec-expectations (3.12.2)
|
58
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
-
rspec-support (~> 3.
|
60
|
-
rspec-mocks (3.
|
56
|
+
rspec-support (~> 3.12.0)
|
57
|
+
rspec-mocks (3.12.3)
|
61
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
62
|
-
rspec-support (~> 3.
|
63
|
-
rspec-support (3.
|
64
|
-
rubocop (
|
65
|
-
|
59
|
+
rspec-support (~> 3.12.0)
|
60
|
+
rspec-support (3.12.0)
|
61
|
+
rubocop (1.47.0)
|
62
|
+
json (~> 2.3)
|
66
63
|
parallel (~> 1.10)
|
67
|
-
parser (>= 2.
|
64
|
+
parser (>= 3.2.0.0)
|
68
65
|
rainbow (>= 2.2.2, < 4.0)
|
66
|
+
regexp_parser (>= 1.8, < 3.0)
|
67
|
+
rexml (>= 3.2.5, < 4.0)
|
68
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
69
69
|
ruby-progressbar (~> 1.7)
|
70
|
-
unicode-display_width (>=
|
71
|
-
rubocop-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
70
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
71
|
+
rubocop-ast (1.27.0)
|
72
|
+
parser (>= 3.2.1.0)
|
73
|
+
rubocop-capybara (2.17.1)
|
74
|
+
rubocop (~> 1.41)
|
75
|
+
rubocop-rspec (2.18.1)
|
76
|
+
rubocop (~> 1.33)
|
77
|
+
rubocop-capybara (~> 2.17)
|
78
|
+
ruby-progressbar (1.12.0)
|
79
|
+
ruby2_keywords (0.0.5)
|
80
|
+
simplecov (0.22.0)
|
76
81
|
docile (~> 1.1)
|
77
|
-
|
78
|
-
|
79
|
-
simplecov-html (0.
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
82
|
+
simplecov-html (~> 0.11)
|
83
|
+
simplecov_json_formatter (~> 0.1)
|
84
|
+
simplecov-html (0.12.3)
|
85
|
+
simplecov_json_formatter (0.1.4)
|
86
|
+
unicode-display_width (2.4.2)
|
87
|
+
vcr (6.1.0)
|
88
|
+
webmock (3.18.1)
|
89
|
+
addressable (>= 2.8.0)
|
84
90
|
crack (>= 0.3.2)
|
85
91
|
hashdiff (>= 0.4.0, < 2.0.0)
|
86
92
|
|
@@ -88,7 +94,6 @@ PLATFORMS
|
|
88
94
|
ruby
|
89
95
|
|
90
96
|
DEPENDENCIES
|
91
|
-
bundler
|
92
97
|
dotenv
|
93
98
|
faker
|
94
99
|
optimum!
|
@@ -102,4 +107,4 @@ DEPENDENCIES
|
|
102
107
|
webmock
|
103
108
|
|
104
109
|
BUNDLED WITH
|
105
|
-
2.
|
110
|
+
2.4.7
|
data/lib/optimum/connection.rb
CHANGED
data/lib/optimum/version.rb
CHANGED
data/optimum.gemspec
CHANGED
@@ -27,20 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.require_paths = ['lib']
|
28
28
|
|
29
29
|
spec.add_dependency 'addressable'
|
30
|
-
spec.add_dependency 'faraday'
|
31
|
-
spec.add_dependency 'faraday_middleware'
|
32
|
-
spec.add_dependency 'multi_json'
|
30
|
+
spec.add_dependency 'faraday', '~> 2.7'
|
33
31
|
spec.add_dependency 'rainbow'
|
34
|
-
|
35
|
-
spec.add_development_dependency 'bundler'
|
36
|
-
spec.add_development_dependency 'dotenv'
|
37
|
-
spec.add_development_dependency 'faker'
|
38
|
-
spec.add_development_dependency 'pry-byebug'
|
39
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
40
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
41
|
-
spec.add_development_dependency 'rubocop'
|
42
|
-
spec.add_development_dependency 'rubocop-rspec'
|
43
|
-
spec.add_development_dependency 'simplecov'
|
44
|
-
spec.add_development_dependency 'vcr'
|
45
|
-
spec.add_development_dependency 'webmock'
|
46
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optimum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nenad Petronijevic
|
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,44 +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
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: multi_json
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
31
|
+
- - "~>"
|
60
32
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
33
|
+
version: '2.7'
|
62
34
|
type: :runtime
|
63
35
|
prerelease: false
|
64
36
|
version_requirements: !ruby/object:Gem::Requirement
|
65
37
|
requirements:
|
66
|
-
- - "
|
38
|
+
- - "~>"
|
67
39
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
40
|
+
version: '2.7'
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
42
|
name: rainbow
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,160 +52,6 @@ dependencies:
|
|
80
52
|
- - ">="
|
81
53
|
- !ruby/object:Gem::Version
|
82
54
|
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: faker
|
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: pry-byebug
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rake
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '10.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '10.0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rspec
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '3.0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '3.0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rubocop
|
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: rubocop-rspec
|
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: simplecov
|
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: vcr
|
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
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: webmock
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - ">="
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '0'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - ">="
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '0'
|
237
55
|
description: Optimum API wrapper
|
238
56
|
email:
|
239
57
|
- nenad@finpoint.co.uk
|
@@ -273,7 +91,7 @@ homepage: https://www.optimumfinance.co.uk
|
|
273
91
|
licenses: []
|
274
92
|
metadata:
|
275
93
|
homepage_uri: https://www.optimumfinance.co.uk
|
276
|
-
post_install_message:
|
94
|
+
post_install_message:
|
277
95
|
rdoc_options: []
|
278
96
|
require_paths:
|
279
97
|
- lib
|
@@ -288,8 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
288
106
|
- !ruby/object:Gem::Version
|
289
107
|
version: '0'
|
290
108
|
requirements: []
|
291
|
-
rubygems_version: 3.
|
292
|
-
signing_key:
|
109
|
+
rubygems_version: 3.3.7
|
110
|
+
signing_key:
|
293
111
|
specification_version: 4
|
294
112
|
summary: Optimum API wrapper
|
295
113
|
test_files: []
|