brm_finance 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/brm_finance-1.0.4.gem +0 -0
- data/lib/brm_finance/stock.rb +2 -2
- data/lib/brm_finance/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a69db1da6d197fa1e68127442aba903cfb39bd
|
4
|
+
data.tar.gz: ca1f724de08f48f5272e130f6428c948de44ec29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9308275ffafcda6008786d927dba58613b34628fba00d98d01ff42fea87538ef78277423c1e4554d0fd54cbd381b1a48404ff3933ab3d50530245ec52dda8260
|
7
|
+
data.tar.gz: befb5ec0baefcf1997e5d721eb892a70def36662028a707d330cb90154acc3ea98ffa02750aa7d380a822b3bb457759e54b57ee10e4970b0b6940355dabbf71a
|
Binary file
|
data/lib/brm_finance/stock.rb
CHANGED
@@ -139,10 +139,10 @@ module BrmFinance
|
|
139
139
|
series = []
|
140
140
|
(start_date.to_date..end_date.to_date+1.year).step(365) do |date|
|
141
141
|
break if date > Date.today
|
142
|
-
series += self.quote(
|
142
|
+
series += self.quote(sym, (date).strftime('%Y-%m-%d'), (date + 1.year - 1.day).strftime('%Y-%m-%d'))
|
143
143
|
end
|
144
144
|
|
145
|
-
{'Symbol' =>
|
145
|
+
{'Symbol' => sym, 'Series' => series.uniq}
|
146
146
|
end
|
147
147
|
|
148
148
|
results
|
data/lib/brm_finance/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brm_finance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Adamson, Ty Rauber
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- brm_finance-1.0.1.gem
|
112
112
|
- brm_finance-1.0.2.gem
|
113
113
|
- brm_finance-1.0.3.gem
|
114
|
+
- brm_finance-1.0.4.gem
|
114
115
|
- brm_finance.gemspec
|
115
116
|
- lib/.DS_Store
|
116
117
|
homepage: https://github.com/aadamson/brm_finance
|