brm_finance 1.0.8 → 1.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/brm_finance/stock.rb +2 -2
- data/lib/brm_finance/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: f75ff6c43b38f93fa22359b78c5545a780bd5797
|
4
|
+
data.tar.gz: 41cd78a006a6429c299e850c50f201e5c89e6b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7754119869391e2f978b913f370acb4e679029c7143a38305c9e94ab38fabfec0ad8411d7040d7db9b74314e2d7095f123856a9541dcca0e0f2143744c1e4fb
|
7
|
+
data.tar.gz: 2e8577d17f0ab4c42782eb0c998381ab363282eefccb516a83eeb692c93ba702c4c4b89e23c9d4cb74cc7fc4581e48381ea6ba43001896eb1ac36e490c082a05
|
data/lib/brm_finance/stock.rb
CHANGED
@@ -79,10 +79,10 @@ module BrmFinance
|
|
79
79
|
def self.dividends_splits(symbol, start_date=Date.today-1.year, end_date=Date.today)
|
80
80
|
symbol = [symbol] unless symbol.is_a?(Array)
|
81
81
|
|
82
|
-
start_date = start_date.strftime('%m-%d-%Y')split('-')
|
82
|
+
start_date = start_date.strftime('%m-%d-%Y').split('-')
|
83
83
|
start_date = "a=#{start_date[0]}&b=#{start_date[1]}&c=#{start_date[2]}"
|
84
84
|
|
85
|
-
end_date = end_date.strftime('%m-%d-%Y')split('-')
|
85
|
+
end_date = end_date.strftime('%m-%d-%Y').split('-')
|
86
86
|
end_date = end_date.split('-')
|
87
87
|
end_date = "d=#{end_date[0]}&e=#{end_date[1]}&f=#{end_date[2]}"
|
88
88
|
|
data/lib/brm_finance/version.rb
CHANGED