danger 3.5.1 → 3.5.2

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: 37784ac6404c19b342dc3a50d908829d1b8e36dc
4
- data.tar.gz: 476f09de2a6458bd6becf741a69879fab68187e0
3
+ metadata.gz: cf1fbaac1bbe5c1cb110f065f37b19772d3cbebf
4
+ data.tar.gz: 1e84ab93e47a63bbf3cca572d64cf41beb0fdbec
5
5
  SHA512:
6
- metadata.gz: dfc58b28a778b604f9a54a739d56ab6eb3d3f1a2c54073a6dc5a877a2b6a0936bef78dfdc11c541f353d9bc81f76492bec438a21da115c9401efe8dcd70cd1c2
7
- data.tar.gz: 2dd2c369fe8cb209b38d9ca9f360906585ac3f9f4b6401e1c6a03ec1c3902bdf088a531862fb69e3aa391638683ff76fc48e86a2fdec4bc9a64317e86763cc09
6
+ metadata.gz: 4e480e5a5ec36286c58dcf60558b654af901f9e2a067a9d965d1372912016b79f053451be3115264eeaf6103c074a72bd697dd8f158a08f119b67267c8efbf87
7
+ data.tar.gz: d4a88d439c803e4798819d283bd3b5cc7eba53f096815352d2a4a963dde776281492b258372724f193ef27cc61b2c2beaa15d967f36d5f554cd68c05155bb6a2
@@ -11,14 +11,13 @@ module Danger
11
11
 
12
12
  def self.options
13
13
  [
14
- ["--use-pr=[#id]", "The URL of the Pull Request for the command to run."],
15
14
  ["--clear-http-cache", "Clear the local http cache before running Danger locally."],
16
15
  ["--pry", "Drop into a Pry shell after evaluating the Dangerfile."]
17
16
  ]
18
17
  end
19
18
 
20
19
  def initialize(argv)
21
- @pr_url = argv.option("use-pr")
20
+ @pr_url = argv.shift_argument
22
21
  @clear_http_cache = argv.flag?("clear-http-cache", false)
23
22
 
24
23
  super
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "3.5.1".freeze
2
+ VERSION = "3.5.2".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.5.1
4
+ version: 3.5.2
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-10-06 00:00:00.000000000 Z
12
+ date: 2016-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide
@@ -469,7 +469,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
469
  version: '0'
470
470
  requirements: []
471
471
  rubyforge_project:
472
- rubygems_version: 2.6.7
472
+ rubygems_version: 2.2.2
473
473
  signing_key:
474
474
  specification_version: 4
475
475
  summary: Like Unit Tests, but for your Team Culture.