fast_gettext 1.5.0 → 1.5.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: 00720893487b6496102574c6302dc74e831aaad3
4
- data.tar.gz: ea6917530ee8faed80e2fa49137eaeadfbf0022b
3
+ metadata.gz: f9f8ffaa33ff1f8c9bc7d01dd8850b644d4b3be0
4
+ data.tar.gz: 7ac2755ca2b22e7161fd8e470d6ca9f360f9c48b
5
5
  SHA512:
6
- metadata.gz: 23249a3be0a308050d90db7bb2e0779aae1e4f9672af4f8dc3f14271c84fcab06efce803042ca492d46e0e8538db6a3c102443a534d6ec291fe8aa21dba2459f
7
- data.tar.gz: 6bc2e948a165600cc6296715940508175a7479f413d739cefb3039b06f999fd63154dd48c93acb59706696248442d3d1b8b93b00ef4f8925c48e5aec7bc45364
6
+ metadata.gz: 4fcd1ff81ccacf97d2393d534eb02689ffcb163762016c11dcb7485165e3f58a25adea71b62cff36886b108ee0c5cd76e12d0d811f5388747305c6f832b07085
7
+ data.tar.gz: c43859bead37ff566561413cbed1d9c358ed56ac1f2cc655b6f42b0a84a8b9c4c8706b3bfe172e09ab770d0b533bd74d549a320f2bb6d40d8c21098f8864f47e
@@ -139,7 +139,7 @@ module GetText
139
139
 
140
140
  def detect_file_encoding(po_file)
141
141
  open(po_file, :encoding => 'ASCII-8BIT') do |input|
142
- input.lines.each do |line|
142
+ input.each_line do |line|
143
143
  return Encoding.find($1) if %r["Content-Type:.*\scharset=(.*)\\n"] =~ line
144
144
  end
145
145
  end
@@ -1,3 +1,3 @@
1
1
  module FastGettext
2
- VERSION = Version = '1.5.0'
2
+ VERSION = Version = '1.5.1'
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.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-14 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake