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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77e27ff86072c96cce811ad70a0657630899f7c9
4
- data.tar.gz: 33fe984ad9e639d3fb98e9733da997c39da6bf65
3
+ metadata.gz: 146a831238ac8ad6396abf3f677cf1c3660e26d6
4
+ data.tar.gz: c2b6d01ebf36c113c34f0402f4b0417c288afe02
5
5
  SHA512:
6
- metadata.gz: 4c2a4829076698810d9ce2837e238d0ad673d70ed1487fd116ce836713a99278aab0136a08b2824f1d6bc7e652c94b972d7a97ccfc5d22821ad61d8d5ae45332
7
- data.tar.gz: c374346921b53f397c58c03eb0f025aba425529f9ff6422eb397ea97170aeddd3b45692e9b16e9ec0df1ea211c98b9fa54119e207e9a5a099c7a0f7d787d4af9
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/kou/arrow-packages) for installing Arrow GLib.
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
@@ -38,6 +38,9 @@ end
38
38
 
39
39
  desc "Run tests"
40
40
  task :test do
41
+ cd("dependency-check") do
42
+ ruby("-S", "rake")
43
+ end
41
44
  ruby("test/run-test.rb")
42
45
  end
43
46
 
@@ -1,5 +1,12 @@
1
1
  # News
2
2
 
3
+ ## 0.4.0 - 2017-05-18
4
+
5
+ ### Improvements
6
+
7
+ * `Arrow::StringArray#[]`: Changed to return `String` instead of
8
+ `GLib::Bytes`.
9
+
3
10
  ## 0.3.1 - 2017-05-17
4
11
 
5
12
  ### Improvements
@@ -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
  "[]"
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module Arrow
16
- VERSION = "0.3.1"
16
+ VERSION = "0.4.0"
17
17
  end
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.3.1
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-17 00:00:00.000000000 Z
11
+ date: 2017-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gobject-introspection