danger 3.0.0 → 3.0.1

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: 8b7dea6bfd9bb27c05eaf6b537f6aff16e682155
4
- data.tar.gz: 7ec69647d0f2d827487aefd873be938fbf11a96f
3
+ metadata.gz: 5470e3277b1e19724742deba78c6b0c708e76480
4
+ data.tar.gz: ee0496188ab72f7def503844a089da1d5ce5bf1f
5
5
  SHA512:
6
- metadata.gz: 9f724c97c2cd8bd49e6c507ebf9d05885781600e0539c0fa06af9665247b61beec387b2386cfff32ce1a5c51a3392904bc9e288bb742029f98cd049b2566fd47
7
- data.tar.gz: 3e17b9025db0a22d3af9f2c53be2e80a3bcd33e86cc24e8cb32ba810bcfe04456ca46385aa0e47abfbc870f1daf40db74845f948aa7e05fe1b28b4079e4b7b72
6
+ metadata.gz: 2cff99b8f7678ce1d1ecbbc938dd89c631d659e4877a46523c6be586251546ede3ddcbb6137e82c0434aa46e7fb8dcf7cb093ed42bc7f6011e61b894bf1650c7
7
+ data.tar.gz: 02ecf21a1b09865265cf809a2277f57c74ce66bed58f371334bab6dae783c1979db7828e03cc79896d068629ce79b118e77d7079cc6487863fc7d25523bb59c9
@@ -22,7 +22,7 @@ module Danger
22
22
  end
23
23
 
24
24
  def validates_as_api_source?
25
- @token && !@token.empty?
25
+ (@token && !@token.empty?) || self.environment["DANGER_USE_LOCAL_GIT"]
26
26
  end
27
27
 
28
28
  def scm
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "3.0.0".freeze
2
+ VERSION = "3.0.1".freeze
3
3
  DESCRIPTION = "Automate your PR etiquette.".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.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox