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 +4 -4
- data/lib/danger/request_sources/bitbucket_server_api.rb +1 -1
- data/lib/danger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ebc15e5d94bb1987f64914c8c4345f23837df23
|
4
|
+
data.tar.gz: 852987c3cd1dab15788f7563e27114b3b7409ddd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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}"
|
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.0.
|
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-
|
12
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: claide
|