danger-l10nlint 0.0.5 → 0.0.7
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/Gemfile.lock +1 -1
- data/danger-l10nlint.gemspec +3 -3
- data/lib/danger_plugin.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9142a128b36dbe7407575b67434effc13be1068cb61b2c84844ccba1b14cc0e0
|
4
|
+
data.tar.gz: 0d81b32a7419607b41b6e3047727245d317d565104049d5f9e6cf3945f2125eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb80eb32cd908e39be175b88e9d58017809dbe720bf5c514cdc7ebecd00f25f894b1e40ad5590c8257748af90225b23da4c8e8002d459fe005114887cc2b4228
|
7
|
+
data.tar.gz: b5462b11890746f4a5217ce015a88ce75da89267964eab27d00c7ab4c3293384f2fef70ddacbfad255394692f6d735ec056fb05658d279bb49b9fb6307a45023
|
data/Gemfile.lock
CHANGED
data/danger-l10nlint.gemspec
CHANGED
@@ -9,9 +9,9 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.version = DangerL10nLint::VERSION
|
10
10
|
spec.authors = ["Kazumasa Shimomura"]
|
11
11
|
spec.email = ["kazu.devapp@gmail.com"]
|
12
|
-
spec.description = "A
|
13
|
-
spec.summary = "
|
14
|
-
spec.homepage = "https://github.com/s2mr/danger-l10nlint"
|
12
|
+
spec.description = "A Danger plugin for linting Localizable.strings with L10nLint. "
|
13
|
+
spec.summary = ""
|
14
|
+
spec.homepage = "https://github.com/s2mr/danger-ruby-l10nlint"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files`.split($/)
|
data/lib/danger_plugin.rb
CHANGED
@@ -161,7 +161,7 @@ module Danger
|
|
161
161
|
message = "#{r['reason']}".dup
|
162
162
|
|
163
163
|
# extended content here
|
164
|
-
filename = r['location']['file'].split('/').last
|
164
|
+
filename = r['location']['file'].split('/').last(2).join("/")
|
165
165
|
message << "\n"
|
166
166
|
message << "`#{r['ruleIdentifier']}`"
|
167
167
|
message << " `#{filename}:#{r['location']['line']}`" # file:line for pasting into Xcode Quick Open
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-l10nlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazumasa Shimomura
|
@@ -150,7 +150,7 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
description: A
|
153
|
+
description: 'A Danger plugin for linting Localizable.strings with L10nLint. '
|
154
154
|
email:
|
155
155
|
- kazu.devapp@gmail.com
|
156
156
|
executables:
|
@@ -178,7 +178,7 @@ files:
|
|
178
178
|
- spec/l10nlint_spec.rb
|
179
179
|
- spec/spec_helper.rb
|
180
180
|
- spec/support/fixtures/github_pr.json
|
181
|
-
homepage: https://github.com/s2mr/danger-l10nlint
|
181
|
+
homepage: https://github.com/s2mr/danger-ruby-l10nlint
|
182
182
|
licenses:
|
183
183
|
- MIT
|
184
184
|
metadata: {}
|
@@ -200,7 +200,7 @@ requirements: []
|
|
200
200
|
rubygems_version: 3.1.6
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
|
-
summary:
|
203
|
+
summary: ''
|
204
204
|
test_files:
|
205
205
|
- spec/l10nlint_spec.rb
|
206
206
|
- spec/spec_helper.rb
|