danger 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04e4dcb2c7122c516f919f4974a599726ff4990f
4
- data.tar.gz: fc4acfef02e8aec3732fd5a29570697518a81271
3
+ metadata.gz: a3d5dcfa64082b3686cad3e6ae09ca23af616914
4
+ data.tar.gz: 151921230dd40b9c27c54c8def4a6740e24b9435
5
5
  SHA512:
6
- metadata.gz: 8c09366fbb3cda48045db4b6436be7363c24e36cb9274c59cf6d29065199c5abd4f5ea8ab7d4d9cb42c2edccdbe1837713985a0aff0a214bc374d00f1e9d1bb9
7
- data.tar.gz: a52f301b783e08d1f76cc60e9c20214fda799b7ea2d38ffb40bd7eab74016907b9466aff97842c1f13eabab1861210ee6d1deb0fad86ead3b05cd4ebfef5b5de
6
+ metadata.gz: ff42d5811f941c173b73ea315ba646fcabf692178bbf91d41a19dd5a32d6a151604d40687aff54a3f66ed0e19fa03c19b3fa1e702bda3a3d24a6e4d2cafb2d71
7
+ data.tar.gz: 87db09b4a3696166880024b6755c25e17c637724b2e1b4c9e22d1732e7ad12675c7ab1d37d703399b214a4e31971bf24e75d7ffa3205129a98519aae4ddfe2ad
@@ -60,8 +60,8 @@ module Danger
60
60
  raise "`import` requires a string" unless slug.kind_of?(String)
61
61
  org, repo = slug.split("/")
62
62
  download_url = env.request_source.file_url(organisation: org, repository: repo, branch: "master", path: "Dangerfile")
63
- local_path = import_url(download_url)
64
- dangerfile.parse(Pathname.new(local_path))
63
+ local_path = download(download_url)
64
+ @dangerfile.parse(Pathname.new(local_path))
65
65
  end
66
66
 
67
67
  private
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "3.1.0".freeze
2
+ VERSION = "3.1.1".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: 3.1.0
4
+ version: 3.1.1
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: 2016-08-30 00:00:00.000000000 Z
12
+ date: 2016-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide