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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 972c6ce86946856a582a1dd5c2bc907dcaf4f177b58ed8542641866067d5fabb
4
- data.tar.gz: 90ea8057794672accdc8a6f3c8e940757e03b0021ac1b84464d17c4cf0ccbae2
3
+ metadata.gz: 9a2e571c132ce2d510728cd6d124d77fc9a1e7adfeacdc4cba72a6e8dd79fe15
4
+ data.tar.gz: 37dcb9eb3104b27c02a47114c86fcfbd320e2ab593522345cbc831a87ac3dc8b
5
5
  SHA512:
6
- metadata.gz: 232564cbe6508cc0328235dfd3cb6802f6d9c65d32b8663c729f8ae4d0a3e6ad83267c9ecd345e1edde7c42948b7654dc16a9911c4a81f266999bd1ddca7d380
7
- data.tar.gz: 71e1ea789467ea10f88a8979d9d990fcd4485ca109fb6c251b7a9041cd16ec531b0ca9d357f2fb7f501509fd4f95d1b71bdc310360af28c97798d4f4a4a8728a
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.9)
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.18.0)
46
+ git (1.13.2)
47
47
  addressable (~> 2.8)
48
48
  rchardet (~> 1.8)
49
49
  guard (2.18.0)
data/Makefile ADDED
@@ -0,0 +1,3 @@
1
+ .PHONY: release
2
+ release:
3
+ bundle exec rake release
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
- message = "### L10nLint found issues\n\n".dup
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DangerL10nLint
4
- VERSION = '0.0.9'
4
+ VERSION = '0.0.10'
5
5
  L10NLINT_VERSION = '0.0.6'
6
6
  end
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.9
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-03-28 00:00:00.000000000 Z
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