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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f22f57e18e9e57c37d777061d7b644f1b44acf71
4
- data.tar.gz: e27edfa36627f76644d9238c1177853f70a2d238
3
+ metadata.gz: b7f634b0782a9af32125f63e63b5fc173d616ea7
4
+ data.tar.gz: 6c289cf73d3bc284668b035cfef488872dd86fd9
5
5
  SHA512:
6
- metadata.gz: f4621f23022e68f1fa8298f56e3aba0ffac23bc086a71187b45e89ff0d19a0dbbb59c1f16c72f83b021a217c5120d1056c4a3c527005b1132df51d877187e3ec
7
- data.tar.gz: f2ef8383cb065d1b2402fd5418ee17305ba29aedc44aa8172d2fa1306e3144aa95e790aebb7d34f0ab2ba021789cb767cdb0fd03da92a6adc8c05e695ba21a1b
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 a string based on their content. It uses character distribution statistics to check which encoding is the one that gives you the best results.
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
 
@@ -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 a string based on their content. It uses character distribution statistics to check which encoding is the one that gives you the best results.}
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
@@ -1,3 +1,3 @@
1
1
  module EncodingEstimator
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  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.0
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 a string based on their
84
- content. It uses character distribution statistics to check which encoding is the
85
- one that gives you the best results.
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: '0'
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.6.8
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.