encoding_estimator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/encoding_estimator.gemspec +3 -1
- data/lib/encoding_estimator/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7f634b0782a9af32125f63e63b5fc173d616ea7
|
4
|
+
data.tar.gz: 6c289cf73d3bc284668b035cfef488872dd86fd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1ab12f55ece70ed8aae72d402ca73dea37afb7a42f4a9bccf1a99196faf8846ef9a95b4f510789d509dd6bdc3caf2144e51ed8060186eb3081338215150e720
|
7
|
+
data.tar.gz: d13fea9bf278439f711a592e9b51f8acbbeb4a75fc1c519a6c3952ab84d3adcd14568a0baa0caa76752cbd7425c37f627a91973824bc6bdd31360ebf4a8c24ed
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# EncodingEstimator: Detect encoding of strings
|
2
2
|
|
3
|
-
This gem allows you to detect the encoding of
|
3
|
+
This gem allows you to detect the encoding of strings/files based on their content. This can be useful if you need to load data from sources with unknown encodings. The gem uses character distribution statistics to check which encoding is the one that gives you the best results.
|
4
4
|
|
5
5
|
## Usage in Ruby Code
|
6
6
|
|
data/encoding_estimator.gemspec
CHANGED
@@ -10,10 +10,12 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['kirmis@st.ovgu.de']
|
11
11
|
|
12
12
|
spec.summary = %q{Detect encoding of an input string using character count statistics.}
|
13
|
-
spec.description = %q{This gem allows you to detect the encoding of
|
13
|
+
spec.description = %q{This gem allows you to detect the encoding of strings/files based on their content. This can be useful if you need to load data from sources with unknown encodings. The gem uses character distribution statistics to check which encoding is the one that gives you the best results.}
|
14
14
|
spec.homepage = 'https://git.iftrue.de/okirmis/encoding_estimator'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
|
+
spec.required_ruby_version = '>= 1.9.3'
|
18
|
+
|
17
19
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
20
|
f.match(%r{^(test|spec|features)/})
|
19
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: encoding_estimator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oskar Kirmis
|
@@ -80,9 +80,10 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '4.4'
|
83
|
-
description: This gem allows you to detect the encoding of
|
84
|
-
content.
|
85
|
-
|
83
|
+
description: This gem allows you to detect the encoding of strings/files based on
|
84
|
+
their content. This can be useful if you need to load data from sources with unknown
|
85
|
+
encodings. The gem uses character distribution statistics to check which encoding
|
86
|
+
is the one that gives you the best results.
|
86
87
|
email:
|
87
88
|
- kirmis@st.ovgu.de
|
88
89
|
executables:
|
@@ -127,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
128
|
requirements:
|
128
129
|
- - ">="
|
129
130
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
131
|
+
version: 1.9.3
|
131
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
133
|
requirements:
|
133
134
|
- - ">="
|
@@ -135,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
136
|
version: '0'
|
136
137
|
requirements: []
|
137
138
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.5.1
|
139
140
|
signing_key:
|
140
141
|
specification_version: 4
|
141
142
|
summary: Detect encoding of an input string using character count statistics.
|