gitlab-dangerfiles 4.5.1 → 4.6.0

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: 3371fdf6ddb99f838b75a15726a1750b14f9b56537949c86caae8b9345b9569d
4
- data.tar.gz: 18eb20e9a7b43ab2b2556cd2a59ae344af3d11a5c003e76ca5fd4a5a5d819331
3
+ metadata.gz: 501394f58303715430e058da5fbc46a6c539136b8a888ed22521ab56da6595c3
4
+ data.tar.gz: 520c933eb21695e1cdc9e74cea42ec1e636b08455377d2b9dc3ebafe405977ac
5
5
  SHA512:
6
- metadata.gz: ba10efb103ab0c9355e102de004d512918fb558e6e3a486b1adcc609a9d4b083f714d33b5e595b3f2a210dec8be934bb4d0df3bb9f8d46c95c4557407f79f481
7
- data.tar.gz: c37a12218910f95359591f91509d99f61e230ecd3022d4886ff03635cddf8455c34bf045a15438e50bdf2688e7f5eafe206a8a2735a08adb13397d4a2eb8491d
6
+ metadata.gz: 5d68efa303d47210a6e1d126d9e7706f8872ae61a5a24dacce6b6a48242f8e9d0854f8067d35c64e6340602768e4ed65bd1fcfab71f7447798576172095497bc
7
+ data.tar.gz: 79b38327e2b8a133c58124952b2ff371cb551fde1d61aeb29b5f67d29ee212f93c1c423842121f0247304af52414efd5e690d3fa1c4e50083a9dfacdca7f4d33
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
40
40
  # we do not commit the bundle lockfile, so this temporary workaround needs to be
41
41
  # present until 2.21.3 or 2.22.x is released
42
42
  # See https://gitlab.com/gitlab-org/ruby/gems/gitlab-styles/-/issues/63
43
- spec.add_development_dependency "rubocop-rails", "!= 2.21.2"
43
+ spec.add_development_dependency "rubocop-rails", "< 2.21.2"
44
44
  spec.add_development_dependency "timecop"
45
45
  spec.add_development_dependency "webmock"
46
46
  spec.add_development_dependency "yard"
@@ -21,9 +21,8 @@ module Danger
21
21
  ux: "~UX",
22
22
  codeowners: '~"Code Owners"',
23
23
  test: "~test for `spec/features/*`",
24
- # Deprecated as of 2.3.0 in favor of tooling
25
- engineering_productivity: '~"Engineering Productivity" for CI, Danger',
26
- tooling: '~"maintenance::workflow" / ~"maintenance::pipelines" for CI, Danger',
24
+ tooling: '~"maintenance::workflow" for tooling, Danger, and RuboCop',
25
+ pipeline: '~"maintenance::pipelines" for CI',
27
26
  ci_template: '~"ci::templates"',
28
27
  analytics_instrumentation: '~"analytics instrumentation"',
29
28
  import_integrate_be: '~"group::import and integrate" (backend)',
@@ -91,7 +91,7 @@ module Danger
91
91
  # Fetch an already picked backend reviewer, or pick one otherwise
92
92
  spin.reviewer = backend_spin&.reviewer || spin_for_category(project, :backend).reviewer
93
93
  end
94
- when :tooling, :engineering_productivity # Deprecated as of 2.3.0 in favor of tooling
94
+ when :tooling
95
95
  if spin.maintainer.nil?
96
96
  # Fetch an already picked backend maintainer, or pick one otherwise
97
97
  spin.maintainer = backend_spin&.maintainer || spin_for_category(project, :backend).maintainer
@@ -9,7 +9,7 @@ def post_labels(labels)
9
9
  helper.mr_iid,
10
10
  add_labels: labels.join(","))
11
11
  rescue Gitlab::Error::Forbidden
12
- warn("This Merge Request needs to be labelled with #{helper.labels_list(labels)}. Please request a reviewer or maintainer to add them.")
12
+ warn("Labels missing: please ask a reviewer or maintainer to add #{helper.labels_list(labels)} to this merge request.")
13
13
  end
14
14
 
15
15
  post_labels(helper.labels_to_add) if helper.labels_to_add.any?
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module Dangerfiles
3
- VERSION = "4.5.1"
3
+ VERSION = "4.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-dangerfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-23 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -140,14 +140,14 @@ dependencies:
140
140
  name: rubocop-rails
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "!="
143
+ - - "<"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 2.21.2
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "!="
150
+ - - "<"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 2.21.2
153
153
  - !ruby/object:Gem::Dependency