charlock_holmes 0.6.4 → 0.6.5

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- charlock_holmes (0.6.4)
4
+ charlock_holmes (0.6.5)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -270,7 +270,7 @@ static VALUE rb_encdec__alloc(VALUE klass)
270
270
  UErrorCode status = U_ZERO_ERROR;
271
271
  VALUE obj;
272
272
 
273
- detector = malloc(sizeof(charlock_detector_t*));
273
+ detector = malloc(sizeof(charlock_detector_t));
274
274
  obj = Data_Wrap_Struct(klass, NULL, rb_encdec__free, (void *)detector);
275
275
 
276
276
  detector->csd = ucsdet_open(&status);
@@ -1,3 +1,3 @@
1
1
  module CharlockHolmes
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: charlock_holmes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 4
10
- version: 0.6.4
9
+ - 5
10
+ version: 0.6.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Lopez