rchardet 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rchardet.rb +1 -1
- data/lib/rchardet/universaldetector.rb +2 -2
- data/lib/rchardet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e0a3b0bb7881776633855ef0a6790cfbdedf193
|
4
|
+
data.tar.gz: 9b9cee498bfec199536fb893dc54fef5c243fa0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4390fbcd959d87f9980042fed4dd428e1824e624fbb6e52c1f95dccdba62bbc82a57eccb931db9ed36decc05391ba4cedb79a76de976b929f7a124fe90480a32
|
7
|
+
data.tar.gz: 53855b2e3388241884a338068c556f7ccd5260d01406a3f76b3295bb7f5f0450fddedd2ebec4c1fd52e7f4d5835578ae346b48712547a254339baeca0089499d
|
data/lib/rchardet.rb
CHANGED
@@ -38,8 +38,8 @@ module CharDet
|
|
38
38
|
attr_reader :done, :result
|
39
39
|
|
40
40
|
def initialize
|
41
|
-
@highBitDetector = /[\x80-\xFF]/
|
42
|
-
@escDetector = /(\033|\~\{)/
|
41
|
+
@highBitDetector = /[\x80-\xFF]/n
|
42
|
+
@escDetector = /(\033|\~\{)/n
|
43
43
|
@escCharSetProber = nil
|
44
44
|
@charSetProbers = []
|
45
45
|
reset()
|
data/lib/rchardet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rchardet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email:
|