merge_strings 0.0.2 → 0.0.3
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 +4 -4
- data/bin/merge_strings.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0cd6490e36c3e496af23934de7cee63c56531d70
|
|
4
|
+
data.tar.gz: 0aac4d368e993f1a99f9164e7da1677196aaad52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e22e664b6ffb6140f6549e06935088a3158e52c79a6aa6f43b46f149a01a77796dddf370f7b4310c5254577d759cceef7194037bf7691c3ed86955d9b8d5326
|
|
7
|
+
data.tar.gz: dbd0fd37a0cf690b975297fad9c6555de1cf4dbe06430012038ed55f28e3215f0d7db014e29edef82cd8a71f34e5929c83df1f8c908e750c9f21261358a2c53b
|
data/bin/merge_strings.rb
CHANGED
|
@@ -33,7 +33,7 @@ File.read(other_strings_path).each_line do |line|
|
|
|
33
33
|
if match = line.match(/"([^"]*)"\s*=\s*"([^"]*)"\s*;(.*)$/)
|
|
34
34
|
key, val, comments = $1, $2, extract_comments($3)
|
|
35
35
|
# puts "#{key} = #{val}"
|
|
36
|
-
other_strings[key] = {val
|
|
36
|
+
other_strings[key] = {:val => val, :comments => comments}
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
# Copy base strings file then replace values with other_strings
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: merge_strings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroshi Saito
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A scirpt to help maintaining Localizable.strings.
|
|
14
14
|
email: hiroshi3110@gmail.com
|