cryptum 0.0.297 → 0.0.298

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: 69d06a9abd94dc426eaabdddc720bbde8342c4ec6a88a8da70a5b7234b436bbd
4
+ data.tar.gz: 3cba0ca35d6ef1cf0b68310d0785498a2bb9c8eaf6561c207cd5950ef8d72125
5
5
  SHA512:
6
- metadata.gz: 225543e25f6e4cbd59bba1bddc1f3e83f431615d0fefffd48d30c3fd3a50b990c2f75fafdc124758fb198b3d7fa36aded12b5ba4b0804b36c5ee0350129e8ec5
7
- data.tar.gz: 4900f66dc40bae7872776177afd2876e72293f99bc57bb1f54e1cce082287fad9ed2091f078c8443e036b4004fa5fb7e513f739824b4ac2fe0f0b5c3cec99ec8
6
+ metadata.gz: c8d446c8b67ad4dded344e2c5935afd9333f2265b94203a56a396ffd90c5bfb6d874f8dcedd35d6f1c4d930c8729ffd0baadba9e7e2ba220958ee1c36ad8c576
7
+ data.tar.gz: 214f94202661ca2f5b77153b8c572b42b0c444ce3755b16a9262e2c8d6f74b9d03508d6e1c23f66b779c9988c8eafcca11cf04a40f5a7dcdf456237fbade97f8
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.298'
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.298
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.