daru 0.1.3 → 0.1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a72d4b2565e47c5c4112aac514a7191bd4f962c
4
- data.tar.gz: 2f68b0bb56e621f36d32f6bb9ecc541a61af7323
3
+ metadata.gz: 642c2417e86205ee8188be300da3740364e5a0b9
4
+ data.tar.gz: b1c4cea3ce18551587e30424210f9183fa83c97b
5
5
  SHA512:
6
- metadata.gz: 950a36a9956dd37ac334bd1b657cfb8a74994b1c771846b359d8c885d8ec3c62edb75df18a951086799c77a2fe7c3425c64c0f069fd85b50470095d13ba323c0
7
- data.tar.gz: 0b9d8815d90f947a7a2dcf5447dd46057dbe559ecd3959e88e4932afb945183a168c46fb131bdaca9c07682a28e408d3d19b2e716b57ddad0638b375371f6c3b
6
+ metadata.gz: 18857c15c6156ea817e9874b16b76a7c022f58ff3cca9e9255f4cda32d50db67a53cca60ab734daa086891d0991962f2c5afe15d966029a8ebc74e7781667626
7
+ data.tar.gz: ac0a49fd0776d6b21ac3a4b57f8c8cb0f06f75d1598afab152e07242c3f94f3fc22c32252e4aa8a6c1faffe204fbd110328b76526a5eef83c97a4cdac1b7c6e7
@@ -60,7 +60,7 @@ module Daru
60
60
  opts[:col_sep] ||= ','
61
61
  opts[:converters] ||= :numeric
62
62
 
63
- daru_options = opts.keys.each_with_object({}) do |hash, k|
63
+ daru_options = opts.keys.each_with_object({}) do |k, hash|
64
64
  if [:clone, :order, :index, :name].include?(k)
65
65
  hash[k] = opts[k]
66
66
  opts.delete k
@@ -1,3 +1,3 @@
1
1
  module Daru
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.3.1'.freeze
3
3
  end
@@ -22,7 +22,7 @@ describe Daru::IO do
22
22
  end
23
23
 
24
24
  it "accepts scientific notation as float" do
25
- ds = Daru::DataFrame.from_csv('spec/fixtures/scientific_notation.csv')
25
+ ds = Daru::DataFrame.from_csv('spec/fixtures/scientific_notation.csv', order: ['x', 'y'])
26
26
  expect(ds.vectors.to_a).to eq(['x', 'y'])
27
27
  y = [9.629587310436753e+127, 1.9341543147883677e+129, 3.88485279048245e+130]
28
28
  y.zip(ds['y']).each do |y_expected, y_ds|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Deshmukh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-10 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reportbuilder