creditsafe_connect 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +9 -31
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +86 -58
- data/bin/console +8 -3
- data/creditsafe_connect.gemspec +12 -14
- data/lib/creditsafe/authenticate.rb +1 -1
- data/lib/creditsafe/base_model.rb +2 -2
- data/lib/creditsafe/camelizer_lower.rb +1 -1
- data/lib/creditsafe/client.rb +5 -2
- data/lib/creditsafe/faraday_auth.rb +5 -9
- data/lib/creditsafe/models/address.rb +2 -0
- data/lib/creditsafe/models/company_identification.rb +1 -1
- data/lib/creditsafe/models/credit_score.rb +6 -3
- data/lib/creditsafe/models/report.rb +3 -1
- data/lib/creditsafe/version.rb +1 -1
- metadata +37 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a3bbed891bceb7c8a1613495f8b930bf7cdab003a8f780a829d456030268ef
|
4
|
+
data.tar.gz: da925b908ee89957b238d0208c6e647546bf70fa94410e0b2435b1bd42e5a9e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1dbd932bda96f7d4a3fd331fe2afa9e6101411e03c812b3c5ddbaf8e5826f52b50252504b880971eb30051a60eb15c6b12ea0a589969a574cf3e32f59d6b6c0
|
7
|
+
data.tar.gz: b571886c683dd0e938e5ce0e38e327ad02df9c5ea539b540e37f50350fd36dab00df4dfb401058a4515f9f835ec9896d931fbdef0780e5a20c06c25234b27c18
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
require: rubocop-rspec
|
2
2
|
|
3
3
|
AllCops:
|
4
|
-
TargetRubyVersion: 2.
|
4
|
+
TargetRubyVersion: 3.2.0
|
5
|
+
NewCops: enable
|
6
|
+
SuggestExtensions: false
|
7
|
+
|
8
|
+
Gemspec/RequiredRubyVersion:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
Gemspec/RequireMFA:
|
12
|
+
Enabled: false
|
5
13
|
|
6
14
|
# Don't force top level comments in every class
|
7
15
|
Style/Documentation:
|
@@ -37,33 +45,3 @@ RSpec/RepeatedExample:
|
|
37
45
|
RSpec/RepeatedDescription:
|
38
46
|
Exclude:
|
39
47
|
- 'spec/policies/**/*'
|
40
|
-
|
41
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
42
|
-
Enabled: true
|
43
|
-
Layout/SpaceAroundMethodCallOperator:
|
44
|
-
Enabled: true
|
45
|
-
Lint/DeprecatedOpenSSLConstant:
|
46
|
-
Enabled: true
|
47
|
-
Lint/MixedRegexpCaptureTypes:
|
48
|
-
Enabled: true
|
49
|
-
Lint/RaiseException:
|
50
|
-
Enabled: true
|
51
|
-
Lint/StructNewOverride:
|
52
|
-
Enabled: true
|
53
|
-
Style/ExponentialNotation:
|
54
|
-
Enabled: true
|
55
|
-
Style/HashEachMethods:
|
56
|
-
Enabled: true
|
57
|
-
Style/HashTransformKeys:
|
58
|
-
Enabled: true
|
59
|
-
Style/HashTransformValues:
|
60
|
-
Enabled: true
|
61
|
-
Style/RedundantFetchBlock:
|
62
|
-
Enabled: true
|
63
|
-
Style/RedundantRegexpCharacterClass:
|
64
|
-
Enabled: true
|
65
|
-
Style/RedundantRegexpEscape:
|
66
|
-
Enabled: true
|
67
|
-
Style/SlicingWithRange:
|
68
|
-
Enabled: true
|
69
|
-
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
3.2.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,78 +1,105 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
creditsafe_connect (0.1.
|
5
|
-
faraday (~>
|
6
|
-
faraday_middleware (~>
|
4
|
+
creditsafe_connect (0.1.3)
|
5
|
+
faraday (~> 1.10)
|
6
|
+
faraday_middleware (~> 1.2)
|
7
7
|
faraday_middleware-multi_json (~> 0.0.6)
|
8
|
-
multi_json (~> 1.
|
9
|
-
rainbow (~> 3.
|
8
|
+
multi_json (~> 1.15)
|
9
|
+
rainbow (~> 3.1)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
addressable (2.
|
15
|
-
public_suffix (>= 2.0.2, <
|
16
|
-
ast (2.4.
|
14
|
+
addressable (2.8.1)
|
15
|
+
public_suffix (>= 2.0.2, < 6.0)
|
16
|
+
ast (2.4.2)
|
17
17
|
byebug (11.1.3)
|
18
18
|
coderay (1.1.3)
|
19
|
-
crack (0.4.
|
20
|
-
|
21
|
-
diff-lcs (1.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
faraday (
|
19
|
+
crack (0.4.5)
|
20
|
+
rexml
|
21
|
+
diff-lcs (1.5.0)
|
22
|
+
dotenv (2.8.1)
|
23
|
+
faraday (1.10.3)
|
24
|
+
faraday-em_http (~> 1.0)
|
25
|
+
faraday-em_synchrony (~> 1.0)
|
26
|
+
faraday-excon (~> 1.1)
|
27
|
+
faraday-httpclient (~> 1.0)
|
28
|
+
faraday-multipart (~> 1.0)
|
29
|
+
faraday-net_http (~> 1.0)
|
30
|
+
faraday-net_http_persistent (~> 1.0)
|
31
|
+
faraday-patron (~> 1.0)
|
32
|
+
faraday-rack (~> 1.0)
|
33
|
+
faraday-retry (~> 1.0)
|
34
|
+
ruby2_keywords (>= 0.0.4)
|
35
|
+
faraday-em_http (1.0.0)
|
36
|
+
faraday-em_synchrony (1.0.0)
|
37
|
+
faraday-excon (1.1.0)
|
38
|
+
faraday-httpclient (1.0.1)
|
39
|
+
faraday-multipart (1.0.4)
|
40
|
+
multipart-post (~> 2)
|
41
|
+
faraday-net_http (1.0.1)
|
42
|
+
faraday-net_http_persistent (1.2.0)
|
43
|
+
faraday-patron (1.0.0)
|
44
|
+
faraday-rack (1.0.0)
|
45
|
+
faraday-retry (1.0.3)
|
46
|
+
faraday_middleware (1.2.0)
|
47
|
+
faraday (~> 1.0)
|
26
48
|
faraday_middleware-multi_json (0.0.6)
|
27
49
|
faraday_middleware
|
28
50
|
multi_json
|
29
51
|
hashdiff (1.0.1)
|
52
|
+
json (2.6.3)
|
30
53
|
method_source (1.0.0)
|
31
54
|
multi_json (1.15.0)
|
32
|
-
multipart-post (2.
|
33
|
-
parallel (1.
|
34
|
-
parser (2.
|
55
|
+
multipart-post (2.2.3)
|
56
|
+
parallel (1.22.1)
|
57
|
+
parser (3.2.0.0)
|
35
58
|
ast (~> 2.4.1)
|
36
|
-
pry (0.
|
59
|
+
pry (0.14.2)
|
37
60
|
coderay (~> 1.1)
|
38
61
|
method_source (~> 1.0)
|
39
|
-
pry-byebug (3.
|
62
|
+
pry-byebug (3.10.1)
|
40
63
|
byebug (~> 11.0)
|
41
|
-
pry (
|
42
|
-
public_suffix (
|
43
|
-
rainbow (3.
|
44
|
-
rake (
|
45
|
-
regexp_parser (
|
46
|
-
rexml (3.2.
|
47
|
-
rspec (3.
|
48
|
-
rspec-core (~> 3.
|
49
|
-
rspec-expectations (~> 3.
|
50
|
-
rspec-mocks (~> 3.
|
51
|
-
rspec-core (3.
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-expectations (3.
|
64
|
+
pry (>= 0.13, < 0.15)
|
65
|
+
public_suffix (5.0.1)
|
66
|
+
rainbow (3.1.1)
|
67
|
+
rake (13.0.6)
|
68
|
+
regexp_parser (2.6.2)
|
69
|
+
rexml (3.2.5)
|
70
|
+
rspec (3.12.0)
|
71
|
+
rspec-core (~> 3.12.0)
|
72
|
+
rspec-expectations (~> 3.12.0)
|
73
|
+
rspec-mocks (~> 3.12.0)
|
74
|
+
rspec-core (3.12.0)
|
75
|
+
rspec-support (~> 3.12.0)
|
76
|
+
rspec-expectations (3.12.2)
|
54
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-mocks (3.
|
78
|
+
rspec-support (~> 3.12.0)
|
79
|
+
rspec-mocks (3.12.3)
|
57
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.
|
59
|
-
rspec-support (3.
|
60
|
-
rubocop (
|
81
|
+
rspec-support (~> 3.12.0)
|
82
|
+
rspec-support (3.12.0)
|
83
|
+
rubocop (1.43.0)
|
84
|
+
json (~> 2.3)
|
61
85
|
parallel (~> 1.10)
|
62
|
-
parser (>= 2.
|
86
|
+
parser (>= 3.2.0.0)
|
63
87
|
rainbow (>= 2.2.2, < 4.0)
|
64
|
-
regexp_parser (>= 1.
|
65
|
-
rexml
|
66
|
-
rubocop-ast (>=
|
88
|
+
regexp_parser (>= 1.8, < 3.0)
|
89
|
+
rexml (>= 3.2.5, < 4.0)
|
90
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
67
91
|
ruby-progressbar (~> 1.7)
|
68
|
-
unicode-display_width (>=
|
69
|
-
rubocop-ast (
|
70
|
-
parser (>=
|
71
|
-
rubocop-
|
72
|
-
rubocop (
|
73
|
-
|
74
|
-
|
75
|
-
|
92
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
93
|
+
rubocop-ast (1.24.1)
|
94
|
+
parser (>= 3.1.1.0)
|
95
|
+
rubocop-capybara (2.17.0)
|
96
|
+
rubocop (~> 1.41)
|
97
|
+
rubocop-rspec (2.18.1)
|
98
|
+
rubocop (~> 1.33)
|
99
|
+
rubocop-capybara (~> 2.17)
|
100
|
+
ruby-progressbar (1.11.0)
|
101
|
+
ruby2_keywords (0.0.5)
|
102
|
+
unicode-display_width (2.4.2)
|
76
103
|
vcr (4.0.0)
|
77
104
|
webmock (3.7.6)
|
78
105
|
addressable (>= 2.3.6)
|
@@ -80,17 +107,18 @@ GEM
|
|
80
107
|
hashdiff (>= 0.4.0, < 2.0.0)
|
81
108
|
|
82
109
|
PLATFORMS
|
83
|
-
|
110
|
+
arm64-darwin-21
|
84
111
|
|
85
112
|
DEPENDENCIES
|
86
113
|
creditsafe_connect!
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
rubocop
|
114
|
+
dotenv (~> 2.8)
|
115
|
+
pry-byebug (~> 3.10)
|
116
|
+
rake (~> 13.0)
|
117
|
+
rspec (~> 3.12)
|
118
|
+
rubocop (~> 1.43)
|
119
|
+
rubocop-rspec
|
92
120
|
vcr (~> 4.0.0)
|
93
|
-
webmock (~> 3.7.
|
121
|
+
webmock (~> 3.7.6)
|
94
122
|
|
95
123
|
BUNDLED WITH
|
96
|
-
2.1
|
124
|
+
2.4.1
|
data/bin/console
CHANGED
@@ -5,9 +5,14 @@ require 'bundler/setup'
|
|
5
5
|
require 'creditsafe'
|
6
6
|
require 'json'
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
require 'dotenv'
|
9
|
+
Dotenv.load
|
10
|
+
|
11
|
+
Creditsafe.configure do |config|
|
12
|
+
config.username = ENV.fetch('CREDITSAFE_USERNAME')
|
13
|
+
config.password = ENV.fetch('CREDITSAFE_PASSWORD')
|
14
|
+
config.debug = true
|
15
|
+
end
|
10
16
|
|
11
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
12
17
|
require 'pry'
|
13
18
|
Pry.start
|
data/creditsafe_connect.gemspec
CHANGED
@@ -3,19 +3,16 @@
|
|
3
3
|
require_relative 'lib/creditsafe/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
7
|
+
|
6
8
|
spec.name = 'creditsafe_connect'
|
7
9
|
spec.version = Creditsafe::VERSION
|
8
10
|
spec.authors = ['Nenad Petronijevic']
|
9
11
|
spec.email = ['nenad@finpoint.co.uk']
|
10
|
-
|
11
12
|
spec.summary = 'Creditsafe Connect API Wrapper'
|
12
13
|
spec.description = spec.summary
|
13
14
|
spec.homepage = 'https://gitlab.com/finpoint/creditsafe_connect'
|
14
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
15
15
|
spec.license = 'MIT'
|
16
|
-
|
17
|
-
# Specify which files should be added to the gem when it is released.
|
18
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
19
16
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
17
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
18
|
end
|
@@ -23,16 +20,17 @@ Gem::Specification.new do |spec|
|
|
23
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
21
|
spec.require_paths = ['lib']
|
25
22
|
|
26
|
-
spec.add_dependency 'faraday', '~>
|
27
|
-
spec.add_dependency 'faraday_middleware', '~>
|
23
|
+
spec.add_dependency 'faraday', '~> 1.10'
|
24
|
+
spec.add_dependency 'faraday_middleware', '~> 1.2'
|
28
25
|
spec.add_dependency 'faraday_middleware-multi_json', '~> 0.0.6'
|
29
|
-
spec.add_dependency 'multi_json', '~> 1.
|
30
|
-
spec.add_dependency 'rainbow', '~> 3.
|
26
|
+
spec.add_dependency 'multi_json', '~> 1.15'
|
27
|
+
spec.add_dependency 'rainbow', '~> 3.1'
|
31
28
|
|
32
|
-
spec.add_development_dependency '
|
33
|
-
spec.add_development_dependency '
|
34
|
-
spec.add_development_dependency '
|
35
|
-
spec.add_development_dependency 'rubocop
|
29
|
+
spec.add_development_dependency 'dotenv', '~> 2.8'
|
30
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.10'
|
31
|
+
spec.add_development_dependency 'rspec', '~> 3.12'
|
32
|
+
spec.add_development_dependency 'rubocop', '~> 1.43'
|
33
|
+
spec.add_development_dependency 'rubocop-rspec'
|
36
34
|
spec.add_development_dependency 'vcr', '~> 4.0.0'
|
37
|
-
spec.add_development_dependency 'webmock', '~> 3.7.
|
35
|
+
spec.add_development_dependency 'webmock', '~> 3.7.6'
|
38
36
|
end
|
@@ -7,7 +7,7 @@ require 'creditsafe/version'
|
|
7
7
|
module Creditsafe
|
8
8
|
class Authenticate
|
9
9
|
def call(username, password)
|
10
|
-
response = post('authenticate', username
|
10
|
+
response = post('authenticate', username:, password:)
|
11
11
|
|
12
12
|
if response.success?
|
13
13
|
response.body[:token]
|
@@ -56,8 +56,8 @@ module Creditsafe
|
|
56
56
|
CamelizerLower
|
57
57
|
end
|
58
58
|
|
59
|
-
# Sets all the instance variables by reading the JSON from Creditsafe and converting the keys
|
60
|
-
# camelCase to snake_case, as it's the standard in Ruby.
|
59
|
+
# Sets all the instance variables by reading the JSON from Creditsafe and converting the keys
|
60
|
+
# from camelCase to snake_case, as it's the standard in Ruby.
|
61
61
|
def build(json: {}, key_transformer: self.key_transformer)
|
62
62
|
new.tap do |record|
|
63
63
|
attributes.each do |attr|
|
data/lib/creditsafe/client.rb
CHANGED
@@ -29,8 +29,11 @@ module Creditsafe
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def connection
|
32
|
+
username = Creditsafe.configuration.username
|
33
|
+
passwd = Creditsafe.configuration.password
|
34
|
+
|
32
35
|
@connection ||= Faraday.new(url: api_url) do |conn|
|
33
|
-
conn.request :creditsafe_auth,
|
36
|
+
conn.request :creditsafe_auth, username, passwd
|
34
37
|
conn.response :multi_json, symbolize_keys: true
|
35
38
|
conn.response :logger if Creditsafe.configuration.debug
|
36
39
|
conn.adapter Faraday.default_adapter
|
@@ -38,7 +41,7 @@ module Creditsafe
|
|
38
41
|
end
|
39
42
|
|
40
43
|
def api_url
|
41
|
-
BASE_URLS
|
44
|
+
BASE_URLS[Creditsafe.configuration.environment.to_sym]
|
42
45
|
end
|
43
46
|
|
44
47
|
def handle_response(response)
|
@@ -28,20 +28,16 @@ module Creditsafe
|
|
28
28
|
# after failure env[:body] is set to the response body
|
29
29
|
env[:body] = request_body
|
30
30
|
@app.call(env).tap do |resp|
|
31
|
-
if resp.status == 401
|
32
|
-
raise Creditsafe::UnauthorizedError, resp.body
|
33
|
-
end
|
31
|
+
raise Creditsafe::UnauthorizedError, resp.body if resp.status == 401
|
34
32
|
end
|
35
33
|
rescue Creditsafe::UnauthorizedError => e
|
36
34
|
retry_count += 1
|
37
35
|
|
38
|
-
if
|
39
|
-
authenticate!
|
36
|
+
raise e if retru_count > 1
|
40
37
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
end
|
38
|
+
authenticate!
|
39
|
+
|
40
|
+
retry
|
45
41
|
end
|
46
42
|
end
|
47
43
|
|
@@ -8,9 +8,11 @@ module Creditsafe
|
|
8
8
|
attributes :type, :simple_value, :street, :house_number,
|
9
9
|
:city, :postal_code, :province, :telephone, :direct_marketing_opt_out
|
10
10
|
|
11
|
+
# rubocop:disable Naming/VariableNumber
|
11
12
|
def line_1
|
12
13
|
[street, house_number].compact.join(' ')
|
13
14
|
end
|
15
|
+
# rubocop:enable Naming/VariableNumber
|
14
16
|
end
|
15
17
|
end
|
16
18
|
end
|
@@ -13,7 +13,7 @@ module Creditsafe
|
|
13
13
|
super.tap do |record|
|
14
14
|
record.basic_information = BasicInformation.build(json: json.fetch(:basicInformation, {}))
|
15
15
|
record.activity_classifications = json.fetch(:activityClassifications, [])
|
16
|
-
|
16
|
+
.map { |ac| ActivityClassification.build(json: ac) }
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -12,9 +12,12 @@ module Creditsafe
|
|
12
12
|
|
13
13
|
def self.build(json:)
|
14
14
|
super.tap do |record|
|
15
|
-
record.current_credit_rating =
|
16
|
-
|
17
|
-
record.
|
15
|
+
record.current_credit_rating =
|
16
|
+
CreditRating.build(json: json.fetch(:currentCreditRating, {}))
|
17
|
+
record.current_contract_limit =
|
18
|
+
CurrencyValue.build(json: json.fetch(:currentContractLimit, {}))
|
19
|
+
record.previous_credit_rating =
|
20
|
+
CreditRating.build(json: json.fetch(:previousCreditRating, {}))
|
18
21
|
end
|
19
22
|
end
|
20
23
|
end
|
@@ -25,7 +25,9 @@ module Creditsafe
|
|
25
25
|
json: json.fetch(:companyIdentification, {})
|
26
26
|
)
|
27
27
|
record.credit_score = CreditScore.build(json: json.fetch(:creditScore, {}))
|
28
|
-
record.contact_information = ContactInformation.build(
|
28
|
+
record.contact_information = ContactInformation.build(
|
29
|
+
json: json.fetch(:contactInformation, {})
|
30
|
+
)
|
29
31
|
end
|
30
32
|
end
|
31
33
|
end
|
data/lib/creditsafe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: creditsafe_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nenad Petronijevic
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.10'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday_middleware
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.2'
|
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: '
|
40
|
+
version: '1.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: faraday_middleware-multi_json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,84 +58,98 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.15'
|
62
62
|
type: :runtime
|
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.
|
68
|
+
version: '1.15'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rainbow
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.1'
|
76
76
|
type: :runtime
|
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: '3.
|
82
|
+
version: '3.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: dotenv
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.8'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.8'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: pry-byebug
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
103
|
+
version: '3.10'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
110
|
+
version: '3.10'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '3.
|
117
|
+
version: '3.12'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '3.
|
124
|
+
version: '3.12'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rubocop
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
131
|
+
version: '1.43'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
138
|
+
version: '1.43'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rubocop-rspec
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- - "
|
143
|
+
- - ">="
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
145
|
+
version: '0'
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- - "
|
150
|
+
- - ">="
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
152
|
+
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: vcr
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +170,14 @@ dependencies:
|
|
156
170
|
requirements:
|
157
171
|
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: 3.7.
|
173
|
+
version: 3.7.6
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
178
|
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: 3.7.
|
180
|
+
version: 3.7.6
|
167
181
|
description: Creditsafe Connect API Wrapper
|
168
182
|
email:
|
169
183
|
- nenad@finpoint.co.uk
|
@@ -230,8 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
244
|
- !ruby/object:Gem::Version
|
231
245
|
version: '0'
|
232
246
|
requirements: []
|
233
|
-
|
234
|
-
rubygems_version: 2.7.6
|
247
|
+
rubygems_version: 3.4.1
|
235
248
|
signing_key:
|
236
249
|
specification_version: 4
|
237
250
|
summary: Creditsafe Connect API Wrapper
|