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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bf87af94fa6f272c52fff0a149ca15b0328e76d
4
- data.tar.gz: 5c9e4dffa0eddc1cee08eb7884d8d7729c4c1c1b
3
+ metadata.gz: 36950c7276cc765b1f5994828da871b8752468d0
4
+ data.tar.gz: ddf1f42d8808342587f4aad220b1dede2166deec
5
5
  SHA512:
6
- metadata.gz: 36721c111dd986918c83e747b8ccebc3325f187289103e7770537533a99173c2f1c14f6f9835d811172ea409b79be0f5ea748ac0c03344c261bac85e0aaf3915
7
- data.tar.gz: fb5ea6d86915a9628dcc9906a67b265edd4aae7831448c605c3807bc243a9539c1464840926e1c171f5739760f967d7700ed32b5d64e3abae9b1520b0da7b9d8
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 if env["CI_PULL_REQUEST"]
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] }
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "2.1.3".freeze
2
+ VERSION = "2.1.4".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: 2.1.3
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.2.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: