danger 5.6.1 → 5.6.2

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: ec36701168c14090f3c64ea1b7fb6b3dd5439623
4
- data.tar.gz: df080085b72b8261e85cf50d0c7ab8f3e0a16311
3
+ metadata.gz: 45357cabce688cc7b1ac64730fc38dbc56ee6fb2
4
+ data.tar.gz: 319ce3e1b1909f7d32f2bdfee39c0223500cfa3f
5
5
  SHA512:
6
- metadata.gz: fdc16ebb0194bc7ce2765b0e642ac5009e750859fb770dd1cd5009de42d00c9ce9a87446f3f428961b4cfcec0eb5e08fee08132aee08d4e532ce7b5f0df07e2a
7
- data.tar.gz: 81804bf81d9a6168a8c41fb6683c5f3f8c39e94ec83e616f187ffd8c84a2f34bed9e0d5a167364cc71eec2354517f98783a9c2f046a981539476eacfc9eaa603
6
+ metadata.gz: 10d0fc66cbd4f3c4d734497522902d3030df5a9eeca111913d78bd9e63dba0b4f7d8fcc46e56691a4429b575914029747b79299a1dff239cedc0cb39d0564ded
7
+ data.tar.gz: 7b5f1b4473035185ea880a83e67f61e66d2fc8f702069a0f31b8301cf6b8b719e1e1594f3b4cc68a05ee5e72c82de6324c6985c29923309315a9816ca76d4a5a
@@ -37,8 +37,8 @@ module Danger
37
37
  end
38
38
 
39
39
  def initialize(env)
40
- self.repo_slug = env["SCM_URL"].split(":").last.gsub(".git", "")
41
- self.repo_url = env["SCM_URL"]
40
+ self.repo_slug = env["SCM_URL"].split(":").last.gsub(".git", "").split("#", 2).first
41
+ self.repo_url = env["SCM_URL"].split("#", 2).first
42
42
  if env["SD_PULL_REQUEST"].to_i > 0
43
43
  self.pull_request_id = env["SD_PULL_REQUEST"]
44
44
  end
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.6.1".freeze
2
+ VERSION = "5.6.2".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.6.1
4
+ version: 5.6.2
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-05-22 00:00:00.000000000 Z
12
+ date: 2018-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  version: '0'
293
293
  requirements: []
294
294
  rubyforge_project:
295
- rubygems_version: 2.5.1
295
+ rubygems_version: 2.6.14
296
296
  signing_key:
297
297
  specification_version: 4
298
298
  summary: Like Unit Tests, but for your Team Culture.