ninjudd-tuple 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/ext/tuple.c +1 -1
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 0
3
- :patch: 5
3
+ :patch: 6
4
4
  :major: 0
data/ext/tuple.c CHANGED
@@ -29,7 +29,7 @@ static VALUE tuple_dump(VALUE self, VALUE tuple) {
29
29
  u_int32_t digit;
30
30
  BDIGIT *digits;
31
31
 
32
- if (TYPE(tuple) != T_ARRAY) tuple = rb_ary_new4(1, tuple);
32
+ if (TYPE(tuple) != T_ARRAY) tuple = rb_ary_new4(1, &tuple);
33
33
 
34
34
  for (i = 0; i < RARRAY(tuple)->len; i++) {
35
35
  item = RARRAY(tuple)->ptr[i];
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ninjudd-tuple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Balthrop