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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd5bf64555ba5905b81c9c1e1891d65f4b68d7bb
4
- data.tar.gz: 1b6b7088f0ae9e324d09e89c1df72860f2904dc1
3
+ metadata.gz: dc20a70c5d52356d0c401d7b3806b3d432721a31
4
+ data.tar.gz: 49c18eab5bcd15abc95655eeee1b1ba570ca4f3d
5
5
  SHA512:
6
- metadata.gz: 59b2ffd7d70c097ddfb6625430c861fc5d7ace1372105d72a9f9b4d7083b4cc3e13e87e8cc98826a1c4d089da91182971a6745da90117e7d82a6bcdd4b4f1b37
7
- data.tar.gz: 05404844aec923f5ebabe93a647d47464d0e42620ccf96cc82745661d3cd9b0cd6cf043fb11e4214048dfa155f276779eda7a5bf9070e2f289502800bfd3e2b2
6
+ metadata.gz: 84b1d8887b9ec28f21bfea9253a635fefe23440a80426e99cfd048c34f06e9f7684c4f2c91b440bbe24f67b229dc5cbbeff14838f19000c372a7ba1e24f938ed
7
+ data.tar.gz: 0db8c7da28e2e6283d8f5f547437bed4179f9b6f7b175a20edc56df3f3b4481d3e9a1b381add23b291870aceaa6f2b070350de6866661e33928a40976eb12b88
@@ -1,3 +1,3 @@
1
1
  module LocalizeStringFilter
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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.0
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: 2016-09-18 00:00:00.000000000 Z
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.6.6
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.