danger 5.5.3 → 5.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/danger/ci_source/gitlab_ci.rb +1 -1
- data/lib/danger/core_ext/file_list.rb +1 -1
- data/lib/danger/danger_core/plugins/dangerfile_bitbucket_cloud_plugin.rb +1 -1
- data/lib/danger/danger_core/plugins/dangerfile_bitbucket_server_plugin.rb +1 -1
- data/lib/danger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 92d896731fda2ed7e9e42270bca32ceac7a5a273
|
|
4
|
+
data.tar.gz: 10188ac61148796531153f43c8ce49d9de4b01ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24739f8d4042643f0d2786b03ce6e3f93f190e8d5dce4236cdcc456d0e8b58baaca74dc3375e21de740bbed06166830a41a5277c36febc72925343392e8eec21
|
|
7
|
+
data.tar.gz: 5215cb8e59d3944ee65a8dbaf1201521c2c024cbee42ca78d7613fc590a92959a7f88f2d671b2cb4b2203f91e7634e02c6a96691020682f8119305e0a7498959
|
data/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](https://github.com/orta/danger/blob/master/LICENSE)
|
|
4
4
|
[](http://rubygems.org/gems/danger)
|
|
5
5
|
[](https://travis-ci.org/danger/danger)
|
|
6
|
+
[](https://spectrum.chat/danger)
|
|
6
7
|
|
|
7
8
|
Formalize your Pull Request etiquette.
|
|
8
9
|
|
|
@@ -15,7 +15,7 @@ module Danger
|
|
|
15
15
|
# ```
|
|
16
16
|
# ### Token Setup
|
|
17
17
|
#
|
|
18
|
-
# Add the `
|
|
18
|
+
# Add the `DANGER_GITLAB_API_TOKEN` to your pipeline env variables.
|
|
19
19
|
class GitLabCI < CI
|
|
20
20
|
def self.validates_as_ci?(env)
|
|
21
21
|
env.key? "GITLAB_CI"
|
|
@@ -8,7 +8,7 @@ module Danger
|
|
|
8
8
|
# e.g. "**/something.*" for any file called something with any extension
|
|
9
9
|
def include?(pattern)
|
|
10
10
|
self.each do |current|
|
|
11
|
-
return true if File.fnmatch(pattern, current)
|
|
11
|
+
return true if File.fnmatch(pattern, current) || pattern == current
|
|
12
12
|
end
|
|
13
13
|
return false
|
|
14
14
|
end
|
|
@@ -32,7 +32,7 @@ module Danger
|
|
|
32
32
|
#
|
|
33
33
|
# @example Ensure that all PRs have an assignee
|
|
34
34
|
#
|
|
35
|
-
# warn "This PR does not have any assignees yet."
|
|
35
|
+
# warn "This PR does not have any assignees yet." if bitbucket_cloud.pr_json[:reviewers].length == 0
|
|
36
36
|
#
|
|
37
37
|
# @example Send a message with links to a collection of specific files
|
|
38
38
|
#
|
|
@@ -32,7 +32,7 @@ module Danger
|
|
|
32
32
|
#
|
|
33
33
|
# @example Ensure that all PRs have an assignee
|
|
34
34
|
#
|
|
35
|
-
# warn "This PR does not have any assignees yet."
|
|
35
|
+
# warn "This PR does not have any assignees yet." if bitbucket_server.pr_json[:reviewers].length == 0
|
|
36
36
|
#
|
|
37
37
|
# @example Send a message with links to a collection of specific files
|
|
38
38
|
#
|
data/lib/danger/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: danger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.5.
|
|
4
|
+
version: 5.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Orta Therox
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-11-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: claide
|
|
@@ -487,7 +487,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
487
487
|
version: '0'
|
|
488
488
|
requirements: []
|
|
489
489
|
rubyforge_project:
|
|
490
|
-
rubygems_version: 2.6.
|
|
490
|
+
rubygems_version: 2.6.13
|
|
491
491
|
signing_key:
|
|
492
492
|
specification_version: 4
|
|
493
493
|
summary: Like Unit Tests, but for your Team Culture.
|