jl4rb 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/jl4rb/jl4rb.c +3 -2
  3. data/jl4rb.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2e556eacfd629abcbddd8756e0ef040beac465a
4
- data.tar.gz: 3acd1b2d43241368d81c4a06ae5f9501b379b887
3
+ metadata.gz: f22d52581fd5c000248906cd62b98fb64fe625d0
4
+ data.tar.gz: 37ae387be14f0fb2ff6f5b1c055707795f76629d
5
5
  SHA512:
6
- metadata.gz: 99e1ab7677c957848d361191557d928b21cbdc46b011cf9ee70248d4a490f9814f1867f2b157a4c60038cbd81e61b0b504cc817a2751a12629639ac69186bc4c
7
- data.tar.gz: a7f1070f72ec507cf31cf0e0216af0dc5b2cea8c3058025ef4f7f8597cfac4d045f34c22acc33ee73e100a9dfbab1724886edb2d7a1a7f2cad615ba25c808de4
6
+ metadata.gz: 9ed9f210397451078f1026c3854c6675d8df20f8c698ae811ff333adad3c49fd6157990dcf4d2a4cf5a2cd30be08404b318a17bc6e938ad0831c64ab35e83954
7
+ data.tar.gz: 17b4b192faea86b6cddbc4789f81f24c94129d083bf9256152fd6088bde65d5ec5447eb5f9501911b1ddbf5f31ef7f4fc9e6f2812d6536a3d1856b7d540c8092
@@ -156,10 +156,11 @@ VALUE jl_value_to_VALUE(jl_value_t *res) {
156
156
  if(strcmp(jl_typeof_str(res),"Tuple")==0 )
157
157
  //if(jl_is_array(res))
158
158
  {
159
- d=jl_tuple_len(res);
159
+ d=jl_nfields(res); //Before O.3: d=jl_tuple_len(res);
160
160
  resRb = rb_ary_new2(d);
161
161
  for(i=0;i<d;i++) {
162
- rb_ary_store(resRb,i,jl_value_to_VALUE(jl_tupleref(res,i)));
162
+ //rb_ary_store(resRb,i,jl_value_to_VALUE(jl_tupleref(res,i)));
163
+ rb_ary_store(resRb,i,jl_value_to_VALUE(jl_fieldref(res,i)));
163
164
  }
164
165
  return resRb;
165
166
  }
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rubygems/package_task'
3
3
 
4
4
  PKG_NAME='jl4rb'
5
- PKG_VERSION='0.0.4'
5
+ PKG_VERSION='0.0.5'
6
6
  PKG_FILES=FileList[
7
7
  'Rakefile','jl4rb.gemspec',
8
8
  'ext/jl4rb/*.c',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jl4rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS