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 +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 = 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);
|
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: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 6
|
|
9
|
-
-
|
|
10
|
-
version: 0.6.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.6.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Brian Lopez
|