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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7543c02e0361c80f8c4183cbd26e551034c9f390
4
- data.tar.gz: e9cdba2887a861f9b60290c06267404c57f9f1b9
3
+ metadata.gz: 36f41bf872f76a6c0c9b26ba498a0fecc968c230
4
+ data.tar.gz: d5e0c0eaad54bb0b3d7853e23873bdaca80f9280
5
5
  SHA512:
6
- metadata.gz: '08ffcef07de38dc33ecc5269a0df3a27973e9c2b927ea26b53f7139a3a62660a021b95f298f0e3e95ca05ffa5dd8f696ce0f46e1a651a1a1a5cc3dbc5c95c98d'
7
- data.tar.gz: 6566bc45ee0075f66d31cbac59ca5b1e8a7416d446f82150bbf0f3d688bd47b120d18d5bd9050c6efadb673b7ad75da549d4abf234d7edf8d8baf93ef263c98e
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.lines.each do |line|
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
@@ -1,3 +1,3 @@
1
1
  module FastGettext
2
- VERSION = Version = '1.1.1'
2
+ VERSION = Version = '1.1.2'
3
3
  end
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.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-09 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake