ledger_get_prices 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ledger_get_prices.rb +1 -1
- data/lib/ledger_get_prices/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35c380c2916ae26415cf6e5d10fe8d14257b860
|
4
|
+
data.tar.gz: 0216877ddd96402cd8ebc1a8877cbf6ebef0cc70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8fae83e86491169acb445518288f4df78603f6902acf0c9b35fc7b8cd71bfec7f1d909f806f7872fb971899e086a8f9fd99cd813c284128e890994f6dade072
|
7
|
+
data.tar.gz: 9115d57e60095b181ab465ffb6a0a8c230097a657cfe2627a75ca4ade67565838809ee55e727607d7679b3bdbae770b0f7d82d0341de21db9f7aaa3de1ad2d8b
|
data/lib/ledger_get_prices.rb
CHANGED
@@ -32,7 +32,7 @@ module LedgerGetPrices
|
|
32
32
|
|
33
33
|
PRICE_DB_PATH = ENV['LEDGER_PRICE_DB'] || ENV['PRICE_HIST'] # PRICE_HIST is <v3
|
34
34
|
DATE_FORMAT = ENV['LEDGER_PRICE_DATE_FORMAT'] || "%Y/%m/%d"
|
35
|
-
PRICE_FORMAT = "P %{date} %{time} %{symbol} %{price}"
|
35
|
+
PRICE_FORMAT = ENV['LEDGER_PRICE_FORMAT'] || "P %{date} %{time} %{symbol} %{price}"
|
36
36
|
COMMODITY_BLACKLIST = (ENV['LEDGER_PRICE_COMMODITY_BLACKLIST'] || 'BTC').split(" ")
|
37
37
|
|
38
38
|
# With a bang because it does a file write.
|