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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82002be160f52fc01564edb64715b8126b57dcef
4
- data.tar.gz: 266d9a38f944428cf3fcf84c3454cc3bdc75d91c
3
+ metadata.gz: b35c380c2916ae26415cf6e5d10fe8d14257b860
4
+ data.tar.gz: 0216877ddd96402cd8ebc1a8877cbf6ebef0cc70
5
5
  SHA512:
6
- metadata.gz: 93fc33cf7c01e3195b02ede4b468bfc66487ce6e0fff35dec66bc0b7927d52bab2b7a2048d8530562f096a8ccb7bb2a79230e005786dca9f308039393753992f
7
- data.tar.gz: b06564e0d3208a20b2a4124590eb5b4dd7062908e032e4cc806e98693d971a6edab65f71fccf3562249b8b1ac304e324afea7adbf4fe0e0c37d6469eeee5f4f3
6
+ metadata.gz: d8fae83e86491169acb445518288f4df78603f6902acf0c9b35fc7b8cd71bfec7f1d909f806f7872fb971899e086a8f9fd99cd813c284128e890994f6dade072
7
+ data.tar.gz: 9115d57e60095b181ab465ffb6a0a8c230097a657cfe2627a75ca4ade67565838809ee55e727607d7679b3bdbae770b0f7d82d0341de21db9f7aaa3de1ad2d8b
@@ -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.
@@ -1,3 +1,3 @@
1
1
  module LedgerGetPrices
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_get_prices
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kot