watchcow 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4ab5d0732e75c883a3d49c49f3df8135ddebe108def030247efadd9dfcadae5
4
- data.tar.gz: 527d958620db506d46f9673f6ab88cd99153211384399aea1eb284836135c343
3
+ metadata.gz: c1b15c9de20d884e068ef230f92b09657a1cf93af7f1373d003ec1e8478b630c
4
+ data.tar.gz: 91899f1fe1756b5dbd28f5adb7c76335660491c7151114b0d850e64745fc9af9
5
5
  SHA512:
6
- metadata.gz: 85275053ba4d1d752fe63748de876c4e427d832b371f3db86982dacbb194b66fdba925cdbf8bacc8d43c0cc1f02bafffb65543c03751a017a9e07624d02d4efd
7
- data.tar.gz: 55664d43e1eea63184a6231f45df738692bf218511a669843dc27a909986c7b1c8c22be1a9b78e0ea5a31abdb28dfe648cd0c56fd4d4c35833d5f57243f35fdd
6
+ metadata.gz: 98a8e7ec181598f1e06b1d6716759e002e4cb7c435e31d01c385726e0fa0a3d130ec0a566a6f7056fd17afea6f66e3fdb589c95ea2f59e9260adc0e3819050d0
7
+ data.tar.gz: 07f6533ef510386861017afd3bb116f9134237256e83eddd721d7dea2b7e2a60db2ed619b546f561887c625ce5d5bfe778f53557fe8743e2be85ee169a6a951c
@@ -38,17 +38,13 @@ module Watchcow
38
38
  best_cw = cw.first
39
39
  best_nw = nw.first
40
40
  text = [best_nq, best_cq, best_nw, best_cw].each do |x|
41
- t =
42
- <<-CONTENT
43
- #{x.dig('coin')}
44
- remained: #{x.dig('days')}
45
- annual margin: #{x.dig('margin')}%
46
- expected margin: #{x.dig('expected_margin')}%
47
- landed margin: #{x.dig('real_margin_expected')}%
48
- first dm bid: #{x.dig('dm_first_bid')}
49
- first spot bid: #{x.dig('spot_first_bid')}
50
-
51
- CONTENT
41
+ t =
42
+ <<-CONTENT
43
+ #{x.dig('coin')}, #{x.dig('days')} days left
44
+ annual margin: #{x.dig('margin')}%
45
+ landed margin: #{x.dig('real_margin_expected')}%
46
+ dm bid: #{x.dig('dm_first_bid')}, spot bid: #{x.dig('spot_first_bid')}
47
+ CONTENT
52
48
  puts t
53
49
  end
54
50
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Watchcow
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchcow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - DrinE Liu