danger 5.10.2 → 5.10.3

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
  SHA256:
3
- metadata.gz: f0965f3f24397615223b0f7902793a060291402040a1cce4842d8415b5cbf21c
4
- data.tar.gz: f92dc1a2fa9b0a42e07f8da9fe82a81c9492b77044edb897f6fa967fbf5794b6
3
+ metadata.gz: e7c9741b00da2861a44bba3b2c9396d033b220a6cb8c4c34d4fd3bbe32b22a94
4
+ data.tar.gz: 3621257fabb469d99fc6d44eb53fa4592f1301955aae7f4a25ca9bdbfc045c48
5
5
  SHA512:
6
- metadata.gz: da63efdd814dab639212e648968b6a88f8e845901e0ed25412e6b7fe7420137909ea67543abb6e017c32663f415f08ac9c53cc23ef7be9418c288b973d69a457
7
- data.tar.gz: b8b180acc53aa2fe5e3458c54d51de47af0813f38e0589469904117d9d19bfec7bf2240c35e7c5b791e2261fc774b7898b79b72b178ec0afe182d78a0911365a
6
+ metadata.gz: eacfa9a7e9fc252a416915996121835c86db6103a57019dc2c0a7934519c5db6842e29c16d01f29e210ff7ff582c74ec3cf0f0a9dfa6b417e0af4005ce70391f
7
+ data.tar.gz: 4869139d4c9883397cf1df79dc16c73b79d6423f85470061e7a4be8b77e954a3652fcd07dfc5d3d016d9e450f848b1d690a0ea974b4ffb678f9e549b8de6563f
@@ -59,7 +59,7 @@ module Danger
59
59
 
60
60
  def self.validates_as_pr?(env)
61
61
  id = pull_request_id(env)
62
- !id.nil? && !id.empty?
62
+ !id.nil? && !id.empty? && !!id.match(%r{^\d+$})
63
63
  end
64
64
 
65
65
  def supported_request_sources
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.10.2".freeze
2
+ VERSION = "5.10.3".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.10.2
4
+ version: 5.10.3
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-12-17 00:00:00.000000000 Z
12
+ date: 2018-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide