danger 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger/ci_source/circle.rb +1 -1
- data/lib/danger/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36950c7276cc765b1f5994828da871b8752468d0
|
4
|
+
data.tar.gz: ddf1f42d8808342587f4aad220b1dede2166deec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd56f33b2e8477a1e3fb7eba37b60397b6863fa53b2d8cecd9dd700688ead5a409095b57a97266dc20682b575806b700fb835da48e266bceeea2bc2ffc00a040
|
7
|
+
data.tar.gz: 70dc44e76ee01815baaaa241417e65fecbf33863d97240c6cafe1eb299af66925db266a96aacbebbc205ce3b7f693b6a7f3e50e6a7fa09a43e0869f2a311c79a
|
@@ -29,7 +29,7 @@ module Danger
|
|
29
29
|
|
30
30
|
def self.validates_as_pr?(env)
|
31
31
|
# This will get used if it's available, instead of the API faffing.
|
32
|
-
return true
|
32
|
+
return true unless env["CI_PULL_REQUEST"].empty?
|
33
33
|
|
34
34
|
# Real-world talk, it should be worrying if none of these are in the environment
|
35
35
|
return false unless ["CIRCLE_CI_API_TOKEN", "CIRCLE_PROJECT_USERNAME", "CIRCLE_PROJECT_REPONAME", "CIRCLE_BUILD_NUM"].all? { |x| env[x] }
|
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: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
@@ -398,8 +398,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
398
398
|
version: '0'
|
399
399
|
requirements: []
|
400
400
|
rubyforge_project:
|
401
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.4.8
|
402
402
|
signing_key:
|
403
403
|
specification_version: 4
|
404
404
|
summary: Automate your PR etiquette.
|
405
405
|
test_files: []
|
406
|
+
has_rdoc:
|