gitlab-dangerfiles 4.3.2 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +0 -2
- data/lib/gitlab/dangerfiles/teammate.rb +3 -3
- data/lib/gitlab/dangerfiles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aba5fe5b513843f893ab44f12950f4e870d37b331b8e43e50e884498cf924acb
|
4
|
+
data.tar.gz: b9f57ccf7cdc4e41cf9fa6af85ec314c83e5e07f4dd00f062251b492aa50d573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83776a852572740d36b35eb3a7080faef40f5237434004f0767b26ce61979bd664bf8e4fdd86ed3280e0d678273431c7b4f485b814fd9ec96c46905ba16503ec
|
7
|
+
data.tar.gz: e6e60640c4e5caa08e2f82350deb39fa349b44295b2677965638f4cdf36ee7067bcbff4bfa80c1ab305067335c13e074bd0e7a69a1626ae82aa9d132b43f1277
|
data/.gitlab-ci.yml
CHANGED
@@ -33,8 +33,6 @@ test:rspec:
|
|
33
33
|
stage: test
|
34
34
|
script:
|
35
35
|
- bundle exec rspec
|
36
|
-
# On MRs, ensure that danger works without development dependencies
|
37
|
-
- '[ -z "$CI_MERGE_REQUEST_IID" ] || BUNDLE_ONLY=default bundle exec danger dry_run'
|
38
36
|
parallel:
|
39
37
|
matrix:
|
40
38
|
- RUBY_VERSION: ['3.0', '3.1', '3.2']
|
@@ -90,7 +90,7 @@ module Gitlab
|
|
90
90
|
private
|
91
91
|
|
92
92
|
def default_markdown_name(username)
|
93
|
-
"
|
93
|
+
"`@#{username}` [![profile link](https://gitlab.com/gitlab-org/gitlab-svgs/-/raw/main/sprite_icons/user.svg?ref_type=heads)](https://gitlab.com/#{username})"
|
94
94
|
end
|
95
95
|
|
96
96
|
def process_projects(projects)
|
@@ -119,12 +119,12 @@ module Gitlab
|
|
119
119
|
|
120
120
|
def offset_diff_compared_to_author(author)
|
121
121
|
diff = floored_offset_hours - author.floored_offset_hours
|
122
|
-
return "same timezone as
|
122
|
+
return "same timezone as author" if diff == 0
|
123
123
|
|
124
124
|
ahead_or_behind = diff < 0 ? "behind" : "ahead of"
|
125
125
|
pluralized_hours = pluralize(diff.abs, "hour", "hours")
|
126
126
|
|
127
|
-
"#{pluralized_hours} #{ahead_or_behind}
|
127
|
+
"#{pluralized_hours} #{ahead_or_behind} author"
|
128
128
|
end
|
129
129
|
|
130
130
|
def has_capability?(project, category, kind, labels)
|
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.
|
4
|
+
version: 4.4.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-
|
11
|
+
date: 2023-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|