red-arrow 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +3 -0
- data/doc/text/news.md +7 -0
- data/lib/arrow/loader.rb +15 -0
- data/lib/arrow/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: 146a831238ac8ad6396abf3f677cf1c3660e26d6
|
4
|
+
data.tar.gz: c2b6d01ebf36c113c34f0402f4b0417c288afe02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1e161b7d02ac8fa93e159cadde2305e8adbb382048a3ce8a086f09c27bea2ea12d45b98947b00943e67ede43a159ef8823a56f3df4bbc4bd25908506e1d2e86
|
7
|
+
data.tar.gz: 57bf463aee06ef2e0853818d17af004336a83faad818b6230fc069ab3c4539295a5f58e114b92f41a23ac767ddccf2838905d8bafc72bfc0832fd2c6784f24ab
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ gobject-introspection gem is a Ruby bindings of GObject Introspection. Red Arrow
|
|
20
20
|
|
21
21
|
## Install
|
22
22
|
|
23
|
-
Install Arrow GLib before install Red Arrow. Use [Apache Arrow packages](https://github.com/
|
23
|
+
Install Arrow GLib before install Red Arrow. Use [Apache Arrow packages](https://github.com/red-data-tools/arrow-packages) for installing Arrow GLib.
|
24
24
|
|
25
25
|
Install Red Arrow after you install Arrow GLib:
|
26
26
|
|
data/Rakefile
CHANGED
data/doc/text/news.md
CHANGED
data/lib/arrow/loader.rb
CHANGED
@@ -52,6 +52,21 @@ module Arrow
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
def load_method_info(info, klass, method_name)
|
56
|
+
case klass.name
|
57
|
+
when "Arrow::StringArray"
|
58
|
+
case method_name
|
59
|
+
when "[]"
|
60
|
+
method_name = "get_value"
|
61
|
+
when "get_string"
|
62
|
+
method_name = "[]"
|
63
|
+
end
|
64
|
+
super(info, klass, method_name)
|
65
|
+
else
|
66
|
+
super
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
55
70
|
def rubyish_method_name(function_info, options={})
|
56
71
|
if function_info.n_in_args == 1 and function_info.name == "get_value"
|
57
72
|
"[]"
|
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.
|
4
|
+
version: 0.4.0
|
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-05-
|
11
|
+
date: 2017-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|