Skip to content

Commit

Permalink
fix small bug introduced with version 1.1.4 and inc version to 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dherr committed Jun 9, 2018
1 parent d552b71 commit b0ab9f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/simple_po_parser/tokenizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ def parse_file(path)
# detected windows line ending
file.close
file = File.open(path, "rt")
else
file.rewind
end
file.each_line("\n\n") do |block|
block.strip! # dont parse empty blocks
Expand Down
2 changes: 1 addition & 1 deletion lib/simple_po_parser/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# encoding: utf-8

module SimplePoParser
VERSION = "1.1.4"
VERSION = "1.1.5"
end

0 comments on commit b0ab9f7

Please sign in to comment.