poeditor-pull 1.0.5 → 1.0.6
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 +5 -5
- data/CHANGELOG +2 -1
- data/bin/poeditor-pull +0 -0
- data/lib/Core.rb +2 -0
- data/lib/Version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 541147dfd209df96724b219ddaad87e709f72761c4f22810e3fb3e6d8d2dc3c2
|
4
|
+
data.tar.gz: 8d6373131f7af400e7775f6cbdd03bdb6eccc70a2cce64d416326bda51426573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34df5117bc1be2f7bbee7fc8341c4c3be5733c08211113455c35a16bdab9cd2dcb358354f7bf21f17bab6d1049bcb3d5da689e5352ffcc7da9af88c8a2e42bbb
|
7
|
+
data.tar.gz: db0ff9efba09e3f5273b319b1f9ea7118746e2264dd6d79baaa16a7609bc5f647a6d100e60bf8ca4ceadb4c45b9ec35db68bd5067e06a66e17cf545d18da214f
|
data/CHANGELOG
CHANGED
@@ -8,4 +8,5 @@ List of changes introduced to source codebase:
|
|
8
8
|
4. Added: support for project main dir definition and relative translations paths in config
|
9
9
|
5. Added: formatting paths with target/flavor name based on {TARGET_NAME} as parameter.
|
10
10
|
6. Implemented language-region combination support [Android] and Chinese language coding support
|
11
|
-
7. Implemented additional `path_copy` (next to default `path_replace`) strategy to support having both Base and source-base language `.strings` files project simultaneously [since 1.0.4, iOS specific].
|
11
|
+
7. Implemented additional `path_copy` (next to default `path_replace`) strategy to support having both Base and source-base language `.strings` files project simultaneously [since 1.0.4, iOS specific].
|
12
|
+
8. Change '...' into elipsis symbol '…' to conform with Android Lint.
|
data/bin/poeditor-pull
CHANGED
File without changes
|
data/lib/Core.rb
CHANGED
@@ -85,6 +85,7 @@ module POEditor
|
|
85
85
|
|
86
86
|
download_uri = URI(data["result"]["url"])
|
87
87
|
content = Net::HTTP.get(download_uri)
|
88
|
+
content = content.force_encoding 'UTF-8'
|
88
89
|
|
89
90
|
case type
|
90
91
|
when "apple_strings"
|
@@ -93,6 +94,7 @@ module POEditor
|
|
93
94
|
when "android_strings"
|
94
95
|
content = content.gsub(/<resources>/, "<!-- #{DO_NOT_CHANGE_MANUALLY_MESSAGE} -->\n\\0")
|
95
96
|
content.gsub!(/(%(\d+\$)?)@/, '\1s') # %@ -> %s
|
97
|
+
content.gsub!(/\.\.\./, '…') # ... -> … (three dots -> single character for elipsis)
|
96
98
|
end
|
97
99
|
|
98
100
|
unless content.end_with? "\n"
|
data/lib/Version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poeditor-pull
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suyeol Jeon
|
8
8
|
- Konrad Stanik - Viacom
|
9
|
+
- Paweł Rutkowski - Viacom
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2019-
|
13
|
+
date: 2019-09-23 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: colorize
|
@@ -61,8 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
62
|
- !ruby/object:Gem::Version
|
62
63
|
version: '0'
|
63
64
|
requirements: []
|
64
|
-
|
65
|
-
rubygems_version: 2.5.2.3
|
65
|
+
rubygems_version: 3.0.3
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: POEditor Pull CLI
|