red-arrow 0.2.0 → 0.2.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 +4 -4
- data/doc/text/news.md +10 -0
- data/lib/arrow/ipc/file-reader.rb +27 -0
- data/lib/arrow/ipc/loader.rb +1 -0
- data/lib/arrow/record.rb +1 -1
- data/lib/arrow/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1fbd43acae6f8bbb8688d76e64154f5fa6398d8
|
4
|
+
data.tar.gz: a4c89fcb98100f1853cbe33ee528edd83a233f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ba4889b6bd62a4c28528360343f834d67465623f9a7dbf7de6bd63534db73f91a536f700bb07c004d6aa314ca92443fe8e65f90224827c85a63366dfbf7b6ab
|
7
|
+
data.tar.gz: bd459dc051e5d564014ee8920241a863a1f82ba64062cc162413b33fb400ee6c6e13fb67db047a9b62eb7f28dda4d80798332627e38c123dc0b023cc757289b3
|
data/doc/text/news.md
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Copyright 2017 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Arrow
|
16
|
+
module IPC
|
17
|
+
class FileReader
|
18
|
+
include Enumerable
|
19
|
+
|
20
|
+
def each
|
21
|
+
n_record_batches.times do |i|
|
22
|
+
yield(get_record_batch(i))
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/arrow/ipc/loader.rb
CHANGED
data/lib/arrow/record.rb
CHANGED
data/lib/arrow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-arrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- lib/arrow/block-openable.rb
|
116
116
|
- lib/arrow/field.rb
|
117
117
|
- lib/arrow/io/loader.rb
|
118
|
+
- lib/arrow/ipc/file-reader.rb
|
118
119
|
- lib/arrow/ipc/loader.rb
|
119
120
|
- lib/arrow/ipc/stream-reader.rb
|
120
121
|
- lib/arrow/loader.rb
|