localize_string_filter 0.1.0 → 0.1.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 +4 -4
- data/lib/localize_string_filter/version.rb +1 -1
- data/lib/localize_string_filter.rb +2 -2
- data/localize_string_filter.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc20a70c5d52356d0c401d7b3806b3d432721a31
|
4
|
+
data.tar.gz: 49c18eab5bcd15abc95655eeee1b1ba570ca4f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84b1d8887b9ec28f21bfea9253a635fefe23440a80426e99cfd048c34f06e9f7684c4f2c91b440bbe24f67b229dc5cbbeff14838f19000c372a7ba1e24f938ed
|
7
|
+
data.tar.gz: 0db8c7da28e2e6283d8f5f547437bed4179f9b6f7b175a20edc56df3f3b4481d3e9a1b381add23b291870aceaa6f2b070350de6866661e33928a40976eb12b88
|
@@ -91,14 +91,14 @@ module LocalizeStringFilter
|
|
91
91
|
def self.run()
|
92
92
|
|
93
93
|
puts "input project path: "
|
94
|
-
project_path = gets.chomp
|
94
|
+
project_path = gets.chomp.strip
|
95
95
|
if project_path.empty?
|
96
96
|
puts "error: invalid project_path"
|
97
97
|
return
|
98
98
|
end
|
99
99
|
|
100
100
|
puts "input .strings file path: "
|
101
|
-
strings_path = gets.chomp
|
101
|
+
strings_path = gets.chomp.strip
|
102
102
|
if strings_path.empty?
|
103
103
|
puts "error: invalid strings_path"
|
104
104
|
return
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Remove keys which never referenced by project in Localizable.strings.}
|
13
13
|
spec.description = %q{Remove keys which never referenced by project in Localizable.strings.}
|
14
|
-
spec.homepage = "https://github.com/HongliYu/localize_string_filter
|
14
|
+
spec.homepage = "https://github.com/HongliYu/localize_string_filter"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: localize_string_filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HongliYu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,7 +58,7 @@ files:
|
|
58
58
|
- lib/localize_string_filter.rb
|
59
59
|
- lib/localize_string_filter/version.rb
|
60
60
|
- localize_string_filter.gemspec
|
61
|
-
homepage: https://github.com/HongliYu/localize_string_filter
|
61
|
+
homepage: https://github.com/HongliYu/localize_string_filter
|
62
62
|
licenses:
|
63
63
|
- MIT
|
64
64
|
metadata: {}
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.
|
81
|
+
rubygems_version: 2.5.2
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: Remove keys which never referenced by project in Localizable.strings.
|