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 +1 -1
- data/ext/charlock_holmes/encoding_detector.c +1 -1
- data/lib/charlock_holmes/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -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 =
|
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);
|
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:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 6
|
10
|
+
version: 0.6.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Lopez
|