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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d651a0ca3efe974092a296cd303aab2f3fb330aae312211f8b67ee635cf5d72
4
- data.tar.gz: 88b317dfbc646326c5837cb2e8e67c04b53b7e407bbc873bdcf2789a46fc7c5a
3
+ metadata.gz: 31bb1be404e033b5f8dc0a6328b87a0886391dbece2f0a45de1dcb99a008a8d6
4
+ data.tar.gz: 7c29c160444a175d19d765266b2bd3413aa8c50b6d9d81585dded46a3c0db23b
5
5
  SHA512:
6
- metadata.gz: 225543e25f6e4cbd59bba1bddc1f3e83f431615d0fefffd48d30c3fd3a50b990c2f75fafdc124758fb198b3d7fa36aded12b5ba4b0804b36c5ee0350129e8ec5
7
- data.tar.gz: 4900f66dc40bae7872776177afd2876e72293f99bc57bb1f54e1cce082287fad9ed2091f078c8443e036b4004fa5fb7e513f739824b4ac2fe0f0b5c3cec99ec8
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:21:57 UTC using RuboCop version 1.40.0.
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: 419
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: 538
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: 27
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.open(fiat_portfolio_file, 'w') do |f|
564
- f.puts fiat_portfolio.to_json
565
- end
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.297'
4
+ VERSION = '0.0.299'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.297
4
+ version: 0.0.299
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.