danger 5.5.3 → 5.5.4

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
  SHA1:
3
- metadata.gz: 1d75a6731cebfdb3a94769a4b7feeb516a03b6d6
4
- data.tar.gz: b376cef50c81d7d0b6c79faab79c913b28b49543
3
+ metadata.gz: 92d896731fda2ed7e9e42270bca32ceac7a5a273
4
+ data.tar.gz: 10188ac61148796531153f43c8ce49d9de4b01ea
5
5
  SHA512:
6
- metadata.gz: f61c8acf0c455cf6aa64b3d99beade05a612c1793b9c0fde6bb44926e9cc748c6604b068b3c73bc3524aa6cf12c0bb2aedfb03fcabbe352fb3d916b34f70a988
7
- data.tar.gz: f14d5fad53e755eef0e0474882db237be1609486a4f89435138a236fb1f420fce8fb7bf80860a7ddb1682bd240a01432859e4fd54adbf9556ebaaa4cf683113e
6
+ metadata.gz: 24739f8d4042643f0d2786b03ce6e3f93f190e8d5dce4236cdcc456d0e8b58baaca74dc3375e21de740bbed06166830a41a5277c36febc72925343392e8eec21
7
+ data.tar.gz: 5215cb8e59d3944ee65a8dbaf1201521c2c024cbee42ca78d7613fc590a92959a7f88f2d671b2cb4b2203f91e7634e02c6a96691020682f8119305e0a7498959
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/orta/danger/blob/master/LICENSE)
4
4
  [![Gem](https://img.shields.io/gem/v/danger.svg?style=flat)](http://rubygems.org/gems/danger)
5
5
  [![Travis CI](https://img.shields.io/travis/danger/danger.svg?style=flat)](https://travis-ci.org/danger/danger)
6
+ [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](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 `DANGER_GITHUB_API_TOKEN` to your pipeline env variables.
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." unless bitbucket_cloud.pr_json["reviewers"].length == 0
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." unless bitbucket_server.pr_json["reviewers"].length == 0
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
  #
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.5.3".freeze
2
+ VERSION = "5.5.4".freeze
3
3
  DESCRIPTION = "Like Unit Tests, but for your Team Culture.".freeze
4
4
  end
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.3
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-10-05 00:00:00.000000000 Z
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.8
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.