remi 0.2.9 → 0.2.10

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: 74284b8dbd13001a3a158fb160207fc118b23083
4
- data.tar.gz: 7e0013ea471d6f4bcfba780398f23baea50b33ef
3
+ metadata.gz: ee3fade69bc6d0e19b3e15d6667f3e355bea9a81
4
+ data.tar.gz: 6005fb28ce040f77e324d43489ef9c4d687ce4a9
5
5
  SHA512:
6
- metadata.gz: 0412c7448fb204629cea090c0f3f7bfbc8c6f105ced56374133319b4df743e9f4f96e4413e15d75828cc565d96e65e773a65bb2570c7f2e37fed66525a318265
7
- data.tar.gz: 48e412c7094cbd6b42a71a3e82663cf65628249d46fe51141b482a3b562dcde758e7e019e2532fc8633baaa0e5c5f78ef32c42dac62815b97f61046c1ff2ddab
6
+ metadata.gz: 1149ff8eeb96078bda4a9ef63d1925bfc2191693e548aeef44eccec690f60df6ee619a52c91b0d91dcc1beec6cd951fb25382d4588337672811f8116fb09f730
7
+ data.tar.gz: 9b2f2cd6f4afd9d19096a5bb7db2408072fd140cdb23473f3540308678a944046d8e898c8c0ea1268b941c98d4a235f08331dc59569a88efc1cd021c1c81e1dc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- remi (0.2.9)
4
+ remi (0.2.10)
5
5
  activesupport (~> 4.2)
6
6
  bond (~> 0.5)
7
7
  cucumber (~> 2.1)
@@ -63,5 +63,9 @@ module Remi
63
63
  class DataFrame
64
64
  include DataStub
65
65
  end
66
+
67
+ class Postgres
68
+ include DataStub
69
+ end
66
70
  end
67
71
  end
@@ -13,6 +13,17 @@ module Remi
13
13
  dupdf
14
14
  end
15
15
 
16
+ # Public: Fixes a bug where the dataframe on the left side of the
17
+ # concatenation is accidentally modified.
18
+ def concat other_df
19
+ vectors = []
20
+ @vectors.each do |v|
21
+ vectors << self[v].dup.to_a.concat(other_df[v].to_a)
22
+ end
23
+
24
+ ::Daru::DataFrame.new(vectors, order: @vectors)
25
+ end
26
+
16
27
  # Public: Saves a Dataframe to a file.
17
28
  def hash_dump(filename)
18
29
  File.binwrite(filename, Marshal.dump(self.to_hash))
data/lib/remi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Remi
2
- VERSION = '0.2.9'
2
+ VERSION = '0.2.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sterling Paramore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daru