varint 0.0.1 → 0.1.0

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.
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  *.rbc
3
3
  .bundle
4
4
  .config
5
+ .rvmrc
5
6
  .yardoc
6
7
  Gemfile.lock
7
8
  InstalledFiles
@@ -47,6 +47,6 @@ void Init_varint()
47
47
  getbyte = rb_intern("getbyte");
48
48
  putbyte = rb_intern("putc");
49
49
 
50
- rb_define_module_function(Varint, "encode", varint_encode, 2);
51
- rb_define_module_function(Varint, "decode", varint_decode, 1);
50
+ rb_define_method(Varint, "encode", varint_encode, 2);
51
+ rb_define_method(Varint, "decode", varint_decode, 1);
52
52
  }
@@ -1,3 +1,3 @@
1
1
  module Varint
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: varint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,4 +73,3 @@ signing_key:
73
73
  specification_version: 3
74
74
  summary: varint C extension
75
75
  test_files: []
76
- has_rdoc: