cryptum 0.0.297 → 0.0.299
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +4 -4
- data/lib/cryptum/api.rb +4 -3
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31bb1be404e033b5f8dc0a6328b87a0886391dbece2f0a45de1dcb99a008a8d6
|
4
|
+
data.tar.gz: 7c29c160444a175d19d765266b2bd3413aa8c50b6d9d81585dded46a3c0db23b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9c4360cd1ecc19beceb4401d5d14eadc755d5565e74a37d5c4e09397b091e851cdb92e5d18009700184cc2f902d86dd7ac8e18ac7180e290361a682ea50261
|
7
|
+
data.tar.gz: d35c2cfbaec55bfc7055b6a8528b7d9021e8a56652f2418da824eda700b089e1d47644f122262bcb7b45b7f4177853af747ead21aa244f0a830b371d4f18e28a
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2022-12-08 22:
|
3
|
+
# on 2022-12-08 22:50:47 UTC using RuboCop version 1.40.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -100,7 +100,7 @@ Lint/UselessAssignment:
|
|
100
100
|
# Offense count: 47
|
101
101
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
|
102
102
|
Metrics/AbcSize:
|
103
|
-
Max:
|
103
|
+
Max: 418
|
104
104
|
|
105
105
|
# Offense count: 7
|
106
106
|
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
|
@@ -126,7 +126,7 @@ Metrics/MethodLength:
|
|
126
126
|
# Offense count: 17
|
127
127
|
# Configuration parameters: CountComments, CountAsOne.
|
128
128
|
Metrics/ModuleLength:
|
129
|
-
Max:
|
129
|
+
Max: 539
|
130
130
|
|
131
131
|
# Offense count: 20
|
132
132
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
@@ -224,7 +224,7 @@ Style/TrailingCommaInArrayLiteral:
|
|
224
224
|
Exclude:
|
225
225
|
- 'lib/cryptum/matrix.rb'
|
226
226
|
|
227
|
-
# Offense count:
|
227
|
+
# Offense count: 26
|
228
228
|
# This cop supports safe autocorrection (--autocorrect).
|
229
229
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
|
230
230
|
# URISchemes: http, https
|
data/lib/cryptum/api.rb
CHANGED
@@ -560,9 +560,10 @@ module Cryptum
|
|
560
560
|
total_holdings
|
561
561
|
)
|
562
562
|
|
563
|
-
File.
|
564
|
-
|
565
|
-
|
563
|
+
File.write(
|
564
|
+
fiat_portfolio_file,
|
565
|
+
JSON.pretty_generate(fiat_portfolio)
|
566
|
+
)
|
566
567
|
|
567
568
|
crypto_portfolio
|
568
569
|
rescue StandardError => e
|
data/lib/cryptum/version.rb
CHANGED