capwatch 0.2.0 → 0.2.3

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
  SHA1:
3
- metadata.gz: 5db899bf97a10c058d9b81f91795a1f2500cdd63
4
- data.tar.gz: 7d5848e31de157b5d24b49ea9d51131e71167e18
3
+ metadata.gz: 000f32a565b6dafa5501081aa9a2a3313b0f175c
4
+ data.tar.gz: 80db47e61d7cbc641bb3df642ba5d65cbaffbf45
5
5
  SHA512:
6
- metadata.gz: e83306472382128dd16317851affd3aa981f9e62d29b8992aa0cd36d378a4a6b2801d9c0346f8199fd5b37dd50c0b1f7018d1f218e076220ab9cea328bd20e88
7
- data.tar.gz: f10ea26c4fbd3e7ef0703c5ed23fbae7c887004f8a256370d8702d0dc845ca2916e9046cf08e60d3a692fbabee0b4552f3e0ee970eb73395eaf7c311a9e186a4
6
+ metadata.gz: 06eab9913ef29c60ba435044ab592eafd74b6cacf9efddd44b1b6cd0c3e06930adb3e6ac37cb2fe19b275bb12f9a9d6a260d9c587eacac8981789c9556bfbc61
7
+ data.tar.gz: 4750372c817c113075a02feb582c57f5dc9db79b1aa07c6521f5b696b88daaef794f0a26cb65f66c9523992616ffb9b6b722278f94aee0cba568172c1fa5f0a4
data/Gemfile CHANGED
@@ -7,5 +7,4 @@ gemspec
7
7
 
8
8
  group :test do
9
9
  gem "coveralls", require: false
10
- gem "webmock"
11
10
  end
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Watch your cryptoportfolio in a console
8
8
 
9
- ![Demo](http://i.imgur.com/ZkrFDtL.png)
9
+ ![Demo](http://i.imgur.com/wPZ9Rfe.png)
10
10
 
11
11
  ## Installation
12
12
 
@@ -53,7 +53,7 @@ module Capwatch
53
53
  end
54
54
 
55
55
  def demo_fund
56
- file_path = File.join(__dir__, "..", "..", "spec", "fixtures", "funds", "basic.json")
56
+ file_path = File.join(__dir__, "..", "..", "lib", "funds", "basic.json")
57
57
  demo_fund = File.expand_path(file_path)
58
58
  File.open(demo_fund).read
59
59
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Capwatch
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.3"
5
5
  end
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "Basic Fund",
3
+ "symbols": {
4
+ "MAID": 25452.47,
5
+ "GAME": 22253.51,
6
+ "NEO": 3826.53,
7
+ "FCT": 525.67875,
8
+ "SC": 4152770,
9
+ "DCR": 453.22,
10
+ "BTC": 8.219,
11
+ "ETH": 166.198,
12
+ "KMD": 19056.20,
13
+ "LSK": 5071.42
14
+ }
15
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "Dynamic Fund",
3
+ "symbols": {
4
+ "NEO": 5102.04,
5
+ "GAME": 41952.55,
6
+ "SC": 10341309,
7
+ "DCR": 791.489,
8
+ "ETH": 128.57,
9
+ "BTC": 22.876
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "Extreme Fund",
3
+ "symbols": {
4
+ "FLO": 2140.96,
5
+ "DAR": 141.93,
6
+ "UBQ": 141.54,
7
+ "BTC": 0.09,
8
+ "WAVES": 218.18,
9
+ "GUP": 487.56,
10
+ "WINGS": 508.67
11
+ }
12
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Bugaiov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-14 00:00:00.000000000 Z
11
+ date: 2017-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: terminal-table
@@ -139,6 +139,9 @@ files:
139
139
  - lib/capwatch/providers/coin_market_cap.rb
140
140
  - lib/capwatch/telegram.rb
141
141
  - lib/capwatch/version.rb
142
+ - lib/funds/basic.json
143
+ - lib/funds/dynamic.json
144
+ - lib/funds/extreme.json
142
145
  - lib/templates/cap.erb
143
146
  - lib/templates/watch.erb
144
147
  homepage: https://cryptowatch.one