fast_gettext 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fast_gettext/vendor/poparser.rb +1 -1
- data/lib/fast_gettext/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: 36f41bf872f76a6c0c9b26ba498a0fecc968c230
|
4
|
+
data.tar.gz: d5e0c0eaad54bb0b3d7853e23873bdaca80f9280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228f8ed4f8ef424374fd922b6788576471ab3912b0535a1614ca560dd38ce240d2dd65138202f68f1f5eec120477967f67d12d63f495cd51622a6ea9a9c8f42c
|
7
|
+
data.tar.gz: dfa66187d06d380817522c75ac0903ef9fb9141773d6414a0748dd4c56e7239759367f0483b344a7ed8c35fb99cf69ea98efe839ed85b5a80c65e84469c276cd
|
@@ -144,7 +144,7 @@ module GetText
|
|
144
144
|
|
145
145
|
def detect_file_encoding(po_file)
|
146
146
|
open(po_file, :encoding => 'ASCII-8BIT') do |input|
|
147
|
-
input.
|
147
|
+
input.each_line do |line|
|
148
148
|
return Encoding.find($1) if %r["Content-Type:.*\scharset=(.*)\\n"] =~ line
|
149
149
|
end
|
150
150
|
end
|
data/lib/fast_gettext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_gettext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|