simple_po_parser 1.1.4 → 1.1.5

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
  SHA256:
3
- metadata.gz: d513adc568982ba47ab5a03c16a40584c04413d6c4532e4c7c1a971ac0eb50e9
4
- data.tar.gz: e43f80a14fd83c54eae891510785bf888741438e6b6f074e0d4ab4762f63f6e6
3
+ metadata.gz: 2256e646107eff9f32342d0f8f7eb244482ff085b3c20dabee7ecb2df56233a2
4
+ data.tar.gz: fffd4466d4932178ef820d780cdfc9ec05084a602b878787d0cd14058504d8ed
5
5
  SHA512:
6
- metadata.gz: 6a292ae5fcdf7479e17e684171c1b518e6a19f3ffdffc361a5f726155c7e4a98dab374ee077a09f438d230ec85923b675916a00994f08b4c82e5e80c4a939bfc
7
- data.tar.gz: 421252c15dae92b999bf77f4cb5308838e1b9c81bffe70e6131c39c995a51ce13085912400cd60a0aa581fa76ab0cfa23286f0c6893b41454cd1c63a1ac0fc5e
6
+ metadata.gz: 97d621fb94d213c18a08947cd772e301e57b0ee0390ef62a0538e98a265e5af881843681aa423ca4b384a5b278641623497fa691708c11e5403fdc626c2218cf
7
+ data.tar.gz: 1de5dea5bc4bb5a57cd9032e818669eef21a1c5666b1df9f336110774291291b3fd590384c96112301e8332942e5fe0052a8c986355d8a19b9257294e0466c99
@@ -13,6 +13,8 @@ module SimplePoParser
13
13
  # detected windows line ending
14
14
  file.close
15
15
  file = File.open(path, "rt")
16
+ else
17
+ file.rewind
16
18
  end
17
19
  file.each_line("\n\n") do |block|
18
20
  block.strip! # dont parse empty blocks
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module SimplePoParser
4
- VERSION = "1.1.4"
4
+ VERSION = "1.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_po_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis-Florian Herr