brm_finance 1.0.6 → 1.0.7

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: 38e8bdc9ada73c865330af5a3316d070a5cf69ae
4
- data.tar.gz: 956e7e370ca651ce600d66a02bf038978e2cd5f7
3
+ metadata.gz: ac7b1e200722d4e1e48c75c332cfe845b341deda
4
+ data.tar.gz: 52e8290d8b50bd55bf90ed766afc58644fccc7be
5
5
  SHA512:
6
- metadata.gz: 08b65bbc961c2dfc9e429f0a87e119458b13753b0ffc5c80e76d580e185b6e5a23fffe882d1b703f1e42022d65e81cf6bf3bf4c0553f5ad718c246833e04391e
7
- data.tar.gz: 50a9df4590ad38e6ee44df3b5daf1d13f2b770f21b745a6395ffc3b285eafdba30eb13552f8338b96f931f0394502b71232cecdfa1207fb2d8ecb8dc8c5543cf
6
+ metadata.gz: b4df41e0719b028d790817b53892f0392903e5fa8feb0d4c7e5c5617a156fba62e252ad0142bd7a600fb3fe96feffc9fe6cc8f640529b7c4678a146a3a076a0e
7
+ data.tar.gz: e0b43e391930114fc1ce939dd20a11b403f083982e8553f386fa5d744c060111181892e5da257dc22ff08dcf5e8741e1687ab70d60701342ca8691df4acd3559
data/lib/.DS_Store CHANGED
Binary file
@@ -139,7 +139,9 @@ 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(sym, (date).strftime('%Y-%m-%d'), (date + 1.year - 1.day).strftime('%Y-%m-%d'))
142
+ new_series = self.quote(sym, (date).strftime('%Y-%m-%d'), (date + 1.year - 1.day).strftime('%Y-%m-%d'))
143
+
144
+ series += new_series if new_series.is_a?(Array)
143
145
  end
144
146
 
145
147
  {'Symbol' => sym, 'Series' => series.uniq}
@@ -1,3 +1,3 @@
1
1
  module BrmFinance
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brm_finance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Adamson, Ty Rauber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-16 00:00:00.000000000 Z
11
+ date: 2013-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec