poeditor-cli 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1e94ab1bbde4b5939430b32d2c5cbd537dba392
4
- data.tar.gz: 650ca885078ab7e074ffa4573d10e20c624cc856
3
+ metadata.gz: 966a7b87aa40427ad60df93c25b1709ded10c8d3
4
+ data.tar.gz: ac26d439e77f59ec4cb6552d576a9df5732c62cc
5
5
  SHA512:
6
- metadata.gz: f5c64af04bd704eb94f65f24e58fa477475b7c387c950d539b476692e600e209a37e77ae161ad8a874a96ef23c34c9ff6a5dccdda26251f023feeace86c23134
7
- data.tar.gz: ea9df75df5d5f10fa3b7964864e2c1d77e3a2e94ac591c033c0ef5456334d2a443f1d722e2ee24065acf878bae9fb498d6a97115cc1249d108efe2aaca2cc870
6
+ metadata.gz: 823c43801dfdfb04a8903165fe01c403586f333411deca87b5cb3cf7ad8c8f3b52efe6bd446804791f42c80094419383b005dd5e089f6c57ffe8c7ff7f2bd800
7
+ data.tar.gz: b31f9ba86d738b869af01c14c5d22955c1257500732d35c5d61f627429607f2fd708c8148c76b43729d17b2f09a7d5571e22bd7839cbdb035cf28f8cad6d68c7
@@ -85,6 +85,9 @@ module POEditor
85
85
  content.gsub!(/(%(\d+\$)?)@/, '\1s') # %@ -> %s
86
86
  end
87
87
 
88
+ unless content.end_with? "\n"
89
+ content += "\n"
90
+ end
88
91
  return content
89
92
  end
90
93
 
@@ -1,3 +1,3 @@
1
1
  module POEditor
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poeditor-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suyeol Jeon