ninjudd-tuple 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/ext/tuple.c +0 -5
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 0
4
+ :patch: 1
data/ext/tuple.c CHANGED
@@ -223,10 +223,6 @@ static VALUE tuple_load(VALUE self, VALUE data) {
223
223
  return tuple_parse(&ptr, RSTRING_LEN(data));
224
224
  }
225
225
 
226
- static VALUE array_compare(VALUE self, VALUE other) {
227
- return rb_funcall(tuple_dump(mTuple, self), rb_intern("<=>"), 1, tuple_dump(mTuple, other));
228
- }
229
-
230
226
  VALUE mTuple;
231
227
  void Init_tuple() {
232
228
  rb_require("time");
@@ -236,5 +232,4 @@ void Init_tuple() {
236
232
  mTuple = rb_define_module("Tuple");
237
233
  rb_define_module_function(mTuple, "dump", tuple_dump, 1);
238
234
  rb_define_module_function(mTuple, "load", tuple_load, 1);
239
- rb_define_method(rb_cArray, "<=>", array_compare, 1);
240
235
  }
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Balthrop