danger-l10nlint 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/Makefile +3 -0
- data/lib/danger_plugin.rb +3 -2
- data/lib/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a2e571c132ce2d510728cd6d124d77fc9a1e7adfeacdc4cba72a6e8dd79fe15
|
4
|
+
data.tar.gz: 37dcb9eb3104b27c02a47114c86fcfbd320e2ab593522345cbc831a87ac3dc8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a707a4c598d861019d9f3f1749ed7fa79e8f4c5adb5dde18d2a81feca4dad860679699cd2e0d722cb474d17add7e363f90e634c45144bdc5a0ed0f4a4b78f018
|
7
|
+
data.tar.gz: aa14c486a956bbec5a21bc1233f5dbca89612479db4c44666f7192edae2ede7d8d05b3df87a1bdd907b0649d7a3ea965271c354db3b62b59240cf82eb3a6d57c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danger-l10nlint (0.0.
|
4
|
+
danger-l10nlint (0.0.10)
|
5
5
|
danger-plugin-api (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -43,7 +43,7 @@ GEM
|
|
43
43
|
faraday-net_http (3.0.2)
|
44
44
|
ffi (1.15.5)
|
45
45
|
formatador (1.1.0)
|
46
|
-
git (1.
|
46
|
+
git (1.13.2)
|
47
47
|
addressable (~> 2.8)
|
48
48
|
rchardet (~> 1.8)
|
49
49
|
guard (2.18.0)
|
data/Makefile
ADDED
data/lib/danger_plugin.rb
CHANGED
@@ -61,7 +61,7 @@ module Danger
|
|
61
61
|
# Lints Localizable.strings
|
62
62
|
# @return [void]
|
63
63
|
#
|
64
|
-
def lint_files(inline_mode: false, fail_on_error: false, additional_l10nlint_args: '')
|
64
|
+
def lint_files(inline_mode: false, fail_on_error: false, additional_l10nlint_args: '', subtitle: '')
|
65
65
|
raise 'l10nlint is not installed' unless l10nlint.installed?
|
66
66
|
|
67
67
|
config_file_path = config_file
|
@@ -119,7 +119,8 @@ module Danger
|
|
119
119
|
|
120
120
|
elsif warnings.count > 0 || errors.count > 0
|
121
121
|
# Report if any warning or error
|
122
|
-
|
122
|
+
subtitle_in_title = subtitle.empty? '' : "(#{subtitle})"
|
123
|
+
message = "### L10nLint found issues #{subtitle_in_title}\n\n".dup
|
123
124
|
message << markdown_issues(warnings, 'Warnings') unless warnings.empty?
|
124
125
|
message << markdown_issues(errors, 'Errors') unless errors.empty?
|
125
126
|
message << "\n#{other_issues_message(other_issues_count)}" if other_issues_count > 0
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazumasa Shimomura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|
@@ -168,6 +168,7 @@ files:
|
|
168
168
|
- Gemfile.lock
|
169
169
|
- Guardfile
|
170
170
|
- LICENSE.txt
|
171
|
+
- Makefile
|
171
172
|
- README.md
|
172
173
|
- Rakefile
|
173
174
|
- bin/danger-l10nlint
|