watchcow 0.0.3 → 0.0.4

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: cda7d68cc1cb1ba53871ca1e4b2f1cdb3884daff8abfa148363395b44a18213d
4
- data.tar.gz: 975be9a7765e07031eb6ca6d6acb7a287c53bbf22793c7b41fae0f1ed3c0e5a0
3
+ metadata.gz: 05b9a33fd36329da19cd035e61cedb67d0a8c9a63ce9a8e998a30bdcea23c9c9
4
+ data.tar.gz: 516806f9ca4e6126af51d61b4a840e9dfebe8db6b1e0a44cd6aec0c05730ed3f
5
5
  SHA512:
6
- metadata.gz: 920372c2c7e02c94e15018a7b71baf1a607b81c249ad4ae79bd4fd77f9e470d4262ec0861f701922cf2d1ba62fd00e220503323e508ef62b6f867be43dbb3416
7
- data.tar.gz: 3a9b4a02242835cd1afc3e9cf0c216c28bde4ba066a3434e32d352d69937a0b04815ef7cc4ee5bd8b601bb6fb39b88bbd399e87a3ec5f3215575dbc241107d5d
6
+ metadata.gz: 57a3f624f1a633f42800cb2213250263e90fe3baf8f8a6a44cd1dd3da0969e78af2d7caa6248fbb543ec898baa4b4c5e22dfc0fcd27f002af51525a379e6b919
7
+ data.tar.gz: 56955671e47731937449fb358616c0742ffae81ca3b6b81ee468731be7a02194290973a35e44de818834a556b051e0b58263a41b79420ae619fe98820c5c57c0
@@ -24,7 +24,7 @@ module Watchcow
24
24
  real_margin = "landed margin: #{best_cq.dig(:real_margin_expected)}%"
25
25
  puts "---"
26
26
  puts "CQ"
27
- cq_string = "#{coin}, #{best_margin}, #{days_remained}, #{expected_margin}, #{real_margin}"
27
+ cq_string = "<p style='font-size: 46px;'>#{coin}</p><p style='font-size: 46px;'>#{best_margin}</p><p style='font-size: 46px;'>#{days_remained}</p><p style='font-size: 46px;'>#{expected_margin}</p><p style='font-size: 46px;'>#{real_margin}</p>"
28
28
  puts cq_string
29
29
  # NQ
30
30
  coin = best_nq.dig(:coin)
@@ -33,10 +33,10 @@ module Watchcow
33
33
  expected_margin = "expected margin: #{best_nq.dig(:expected_margin)}%"
34
34
  real_margin = "landed margin: #{best_nq.dig(:real_margin_expected)}%"
35
35
  puts "NQ"
36
- nq_string = "#{coin}, #{best_margin}, #{days_remained}, #{expected_margin}, #{real_margin}"
36
+ nq_string = "<p style='font-size: 46px;'>#{coin}</p><p style='font-size: 46px;'>#{best_margin}</p><p style='font-size: 46px;'>#{days_remained}</p><p style='font-size: 46px;'>#{expected_margin}</p><p style='font-size: 46px;'>#{real_margin}</p>"
37
37
  puts nq_string
38
38
  puts "---"
39
- Watchcow::Output.call("<p>#{cq_string}</p><p>#{nq_string}</p>")
39
+ Watchcow::Output.call("#{cq_string}---<br>---#{nq_string}")
40
40
  sleep(30)
41
41
  end
42
42
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Watchcow
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
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.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DrinE Liu