danger 5.0.2 → 5.0.3

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: 425637f7294e3fd9e2faadf544bac23836819512
4
- data.tar.gz: 9250fe70a52d1b3110a84dd5465afc50f53d7f5f
3
+ metadata.gz: 2ebc15e5d94bb1987f64914c8c4345f23837df23
4
+ data.tar.gz: 852987c3cd1dab15788f7563e27114b3b7409ddd
5
5
  SHA512:
6
- metadata.gz: f24879a6fa89e79ecb6e9ae7cfcbd406adc49e436b8de4c0a4025dbb4a12b558e9b4c4d02d876672ac0e094c20d90227169c10809e0302f827d2845e81a8e83c
7
- data.tar.gz: f6a9bcfe12d71aa93c44ac8559447e79ec0a961294e57437f14cced51d3ed1b92ac601e504d85e54cb36c2dc7c4a1aa20e48c874372bc1cd4d375ba25de56505
6
+ metadata.gz: 385a51a1ff10d5670e1e91b16b3303e345c8ec39425e2f7b0d6bd37f91cda96336c42e11bc2207ad62d5504adaa004791892d1f4b1308040fa9d138b755baac2
7
+ data.tar.gz: 2cdf122f2787a31b58f885970ca5e25e543a59d666f52268623816e36548679642ad21e4ba637ad05176596e8e44f56d8ca8aa504e5d409879985fbef7554b8c
@@ -11,7 +11,7 @@ module Danger
11
11
  @username = environment["DANGER_BITBUCKETSERVER_USERNAME"]
12
12
  @password = environment["DANGER_BITBUCKETSERVER_PASSWORD"]
13
13
  self.host = environment["DANGER_BITBUCKETSERVER_HOST"]
14
- if !(self.host.include? "http://") && !(self.host.include? "https://")
14
+ if self.host && !(self.host.include? "http://") && !(self.host.include? "https://")
15
15
  self.host = "https://" + self.host
16
16
  end
17
17
  self.pr_api_endpoint = "#{host}/rest/api/1.0/projects/#{project}/repos/#{slug}/pull-requests/#{pull_request_id}"
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.0.2".freeze
2
+ VERSION = "5.0.3".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.0.2
4
+ version: 5.0.3
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-04-17 00:00:00.000000000 Z
12
+ date: 2017-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide