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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d68a9a3efda594ed8050fcfec0ee12ed733ebec8867c8a3ed7350d27afdb366b
4
- data.tar.gz: f52c7a6662c5316370afa32f1392575e109d4b88b31773d3965442ab2b9a7563
3
+ metadata.gz: 9142a128b36dbe7407575b67434effc13be1068cb61b2c84844ccba1b14cc0e0
4
+ data.tar.gz: 0d81b32a7419607b41b6e3047727245d317d565104049d5f9e6cf3945f2125eb
5
5
  SHA512:
6
- metadata.gz: c8db3437b12ed5b61e3c97f9ec44abb29fadce5ceff947b68ca698cc928ac6cd6a284134ee19ae5fbd24049f18fc415887264b3a18b96bf82fba1c109214573c
7
- data.tar.gz: 4ea82e1a07b6aff66389b5a92a1539daaf78193e478954e7dcbefb3c2624eea5922dd821ce1e9257f93d22eac60c9aa81cc76c64a5ab1cf0216465e70e28a073
6
+ metadata.gz: eb80eb32cd908e39be175b88e9d58017809dbe720bf5c514cdc7ebecd00f25f894b1e40ad5590c8257748af90225b23da4c8e8002d459fe005114887cc2b4228
7
+ data.tar.gz: b5462b11890746f4a5217ce015a88ce75da89267964eab27d00c7ab4c3293384f2fef70ddacbfad255394692f6d735ec056fb05658d279bb49b9fb6307a45023
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-l10nlint (0.0.5)
4
+ danger-l10nlint (0.0.7)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
@@ -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 short description of danger-l10nlint."
13
- spec.summary = "A longer description of danger-l10nlint."
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DangerL10nLint
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.7'
5
5
  L10NLINT_VERSION = '0.0.5'
6
6
  end
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.5
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 short description of danger-l10nlint.
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: A longer description of danger-l10nlint.
203
+ summary: ''
204
204
  test_files:
205
205
  - spec/l10nlint_spec.rb
206
206
  - spec/spec_helper.rb