danger-l10nlint 0.0.9 → 0.0.11

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: c73b30a3a4734a3ca775b1dc20ab455c400d54f1119a602f72509d0a06e26e79
4
+ data.tar.gz: f9bbcb2bf5feab3d465dc9e821b5d2bd2839ba13e3cf6a396985fb60dc90af96
5
5
  SHA512:
6
- metadata.gz: 232564cbe6508cc0328235dfd3cb6802f6d9c65d32b8663c729f8ae4d0a3e6ad83267c9ecd345e1edde7c42948b7654dc16a9911c4a81f266999bd1ddca7d380
7
- data.tar.gz: 71e1ea789467ea10f88a8979d9d990fcd4485ca109fb6c251b7a9041cd16ec531b0ca9d357f2fb7f501509fd4f95d1b71bdc310360af28c97798d4f4a4a8728a
6
+ metadata.gz: 8a9d2cab71d1569ba34ec7166e1dd3baa2328ac6bccde7459fb95f5f735523e9839bfd57d0137dd5a65a84c0752fab8acc03832c1b8750b93f68f1d3fb45604e
7
+ data.tar.gz: 0ae8fd435d4534f16c698090671f72a529cac1b60d65f76acf43eb5d44c9d185a4a1e5177a82174d54048e5c80af0130a3c4e58f527c6ff61aa9c9795b4b2269
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.11)
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.11'
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.11
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