danger 5.5.12 → 5.5.13

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: d85d2d05019556062bfa26d3b27c0a2146a4c055
4
- data.tar.gz: 6ac0f8c4ed32e2a7d71dac8b9ac1f26ebbdda673
3
+ metadata.gz: 86f276d8c5867f3bd9af4a43eeeed767d3da5cb4
4
+ data.tar.gz: ccd5d8970c95b39c7a9e4c7ff7ce8d5495119907
5
5
  SHA512:
6
- metadata.gz: daf471daab481e39d5ebc73ec073409d4a4d30d2645ce50d820a646e1154c3223cb65853a11e679dbb73f8d9b14be14d7f2b8e9f3ae9dc5fbfa82446c292f7e6
7
- data.tar.gz: 33cc3e1026df9f338a086f251125aebc7a9fa227285ca136223c0a0f6319efe2ffd26e93ac087778e9fde8528eb8b79398605d480d7b33f4c9585f523aa75aec
6
+ metadata.gz: 80a6e781e5efc2548051efaeab5abab55986988666164005eba62f1caaa9619f469e2a1f7c9fc1fd11dcdeb06ce37831a4690d59a006771bb08f28492826fbc2
7
+ data.tar.gz: a669e6fecbe9beebe411036680df637b1be46ad9a52c737bfd58042773f425cd60e6d643fc46aef199769d590dff0879aa885094dfc4fdf6e4edfbe27354ccdd
@@ -32,7 +32,8 @@ module Danger
32
32
  @supported_request_sources ||= [
33
33
  Danger::RequestSources::GitHub,
34
34
  Danger::RequestSources::GitLab,
35
- Danger::RequestSources::BitbucketServer
35
+ Danger::RequestSources::BitbucketServer,
36
+ Danger::RequestSources::BitbucketCloud
36
37
  ]
37
38
  end
38
39
 
@@ -60,7 +60,8 @@ module Danger
60
60
  # Could we determine that the CI source is inside a PR?
61
61
  def validate_pr!(cork)
62
62
  unless EnvironmentManager.pr?(system_env)
63
- cork.puts "Not a Pull Request - skipping `danger` run".yellow
63
+ ci_name = EnvironmentManager.local_ci_source(system_env).name.split("::").last
64
+ cork.puts "Not a #{ci_name} Pull Request - skipping `danger` run".yellow
64
65
  exit(0)
65
66
  end
66
67
  end
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.5.12".freeze
2
+ VERSION = "5.5.13".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.12
4
+ version: 5.5.13
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: 2018-04-16 00:00:00.000000000 Z
12
+ date: 2018-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  version: '0'
292
292
  requirements: []
293
293
  rubyforge_project:
294
- rubygems_version: 2.2.2
294
+ rubygems_version: 2.5.1
295
295
  signing_key:
296
296
  specification_version: 4
297
297
  summary: Like Unit Tests, but for your Team Culture.