red-datasets-arrow 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/doc/text/news.md +6 -0
- data/lib/datasets-arrow/arrowable.rb +1 -8
- data/lib/datasets-arrow/version.rb +1 -1
- data/red-datasets-arrow.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ca91b18a3c0cccfdadaf81630a5d594d77b9d6283725d1975c75a882de91bd53
|
4
|
+
data.tar.gz: c3d965ca2a62f1a71c4aa0fb1f0c0baecb69e491bbca5bc36d2fc467b69fdee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b46c2cf657a7933bacac1d09fb01c016605c1cdabf5751d9fd633df2895661f5b8c0716eb76127bd21261233a8f17fbc8b4323d26dd3f31bacbe5e9a83fbe54
|
7
|
+
data.tar.gz: 5084816d34f194c4f0da00e976eecf39328139caf756892fbac46c2e059260f5ff0a3480487c1e9fe692a1aa6c14ee1294c638bd00d77ce55ecafc2f90e5cc31
|
data/doc/text/news.md
CHANGED
@@ -7,15 +7,8 @@ module DatasetsArrow
|
|
7
7
|
if data_path.exist?
|
8
8
|
Arrow::Table.load(data_path)
|
9
9
|
else
|
10
|
-
columns = {}
|
11
|
-
each do |record|
|
12
|
-
record.to_h.each do |name, value|
|
13
|
-
values = (columns[name] ||= [])
|
14
|
-
values << value
|
15
|
-
end
|
16
|
-
end
|
17
10
|
raw_table = {}
|
18
|
-
|
11
|
+
to_table.to_h.each do |name, values|
|
19
12
|
raw_table[name] = Arrow::ArrayBuilder.build(values)
|
20
13
|
end
|
21
14
|
table = Arrow::Table.new(raw_table)
|
data/red-datasets-arrow.gemspec
CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.test_files += Dir.glob("test/**/*")
|
36
36
|
|
37
37
|
spec.add_runtime_dependency("red-arrow")
|
38
|
-
spec.add_runtime_dependency("red-datasets")
|
38
|
+
spec.add_runtime_dependency("red-datasets", ">= 0.0.3")
|
39
39
|
|
40
40
|
spec.add_development_dependency("bundler")
|
41
41
|
spec.add_development_dependency("rake")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-datasets-arrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: red-arrow
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.0.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.0.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.7.6
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Red Datasets Arrow adds [Apache Arrow](http://arrow.apache.org/) object export
|