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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/remi/cucumber/data_source.rb +4 -0
- data/lib/remi/refinements/daru.rb +11 -0
- data/lib/remi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee3fade69bc6d0e19b3e15d6667f3e355bea9a81
|
4
|
+
data.tar.gz: 6005fb28ce040f77e324d43489ef9c4d687ce4a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1149ff8eeb96078bda4a9ef63d1925bfc2191693e548aeef44eccec690f60df6ee619a52c91b0d91dcc1beec6cd951fb25382d4588337672811f8116fb09f730
|
7
|
+
data.tar.gz: 9b2f2cd6f4afd9d19096a5bb7db2408072fd140cdb23473f3540308678a944046d8e898c8c0ea1268b941c98d4a235f08331dc59569a88efc1cd021c1c81e1dc
|
data/Gemfile.lock
CHANGED
@@ -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
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.
|
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-
|
11
|
+
date: 2016-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daru
|