quandl_operation 0.3.1 → 0.3.2

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: 93c559d7ed18c8dddde1f5352550130757528fdc
4
- data.tar.gz: 0429a2d1a38572303d6a467c0aa6a0d5d5da2136
3
+ metadata.gz: b7edf6372ccd3c854438e9b2b52dd62a54df8f2a
4
+ data.tar.gz: 4edecc243eb516a58e6e8021449ba077a810f559
5
5
  SHA512:
6
- metadata.gz: d9b53980012b941a69dd214d8c2ec136b263d53d26a5cfadf96be3dc89619c035a508040f34225eb323bf55ca86418b7416dbc16374a4acba87e07d647a625a2
7
- data.tar.gz: eebbdb3d554170e4951b53ce5a10e287385bac53a002302fa4b1137c154a9f9be28ec0a3faa1519b261fa819b79ceabf58b96718353d024a59ce1b749d02d1ef
6
+ metadata.gz: 80fb10e89d71ebb36f9fb6e8bbed910962bcde22241110188fb7b72529aa302000ef11c1ed73004da09320711a6f2581d5b0a910f310c7f924bab5cdac52cf7b
7
+ data.tar.gz: e2957fa9d28f11002aa15aa298f7aa34e9ef131f8be4e1570f505d17e4297e90cdc33048328b66d77c9cbefcff1cfceab767154097011ae028a9183590785f54
@@ -9,7 +9,7 @@ class Value
9
9
  data.each do |row|
10
10
  new_row = [row[0]]
11
11
  row[1..-1].each do |v|
12
- new_row << (v.nil? ? v : Float("%.#{prec}g" % v))
12
+ new_row << (( v.nil? || v == Float::INFINITY ) ? v : Float("%.#{prec}g" % v))
13
13
  end
14
14
  r << new_row
15
15
  end
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Operation
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-08 00:00:00.000000000 Z
11
+ date: 2013-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: quandl_logger