charlock_holmes 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- charlock_holmes (0.6.5)
4
+ charlock_holmes (0.6.6)
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 = calloc(1, 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.5"
2
+ VERSION = "0.6.6"
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: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 5
10
- version: 0.6.5
9
+ - 6
10
+ version: 0.6.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Lopez