danger 4.3.5 → 5.0.0

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: 85682bd89dbee1dc40bc27f2d921eafd1de06e91
4
- data.tar.gz: 1af937e3874ddcd38c300c90b539eb9b327d888b
3
+ metadata.gz: 5fd9deced6ae5de0f6db64053ea3d3f1ead250f1
4
+ data.tar.gz: d3a785a80730cdccf0af24371c576e6a5c9363fc
5
5
  SHA512:
6
- metadata.gz: 734665ae28378130a6777ad6f5c9e72dbd1898178ff697ecfb2dfbc5918936000be8a16a9f72c38331b7bd2e54f45ce65bd247056894fe359a53ae087749d3f6
7
- data.tar.gz: 98f3b6ae2b040b0c74dedaf7d9b077868103e02ada25ccac0ffcc4174d9b00104bfab416adcf0495450373e7cbb66ee1b3e3332ed5fb8c5713a67631f91d5eb2
6
+ metadata.gz: eecc7b5882cd573ed7c0ad359a7ef44cd0566c2f31b078311bf99640a25f568932f9db375cd4318f56025cf2b324e44d298b019950294c72827d9cd1d99da3d4
7
+ data.tar.gz: '0810b70bd02212d2a31a4356d4dbb26a16899815cb0507295353f6ddd5b020002ab318951fe84f5c53b6f5e5b4cd42d07bdbb66bcc388235a31ac44ce63f1ff5'
@@ -72,7 +72,7 @@ module Danger
72
72
  # @return [FileList<String>] an [Array] subclass
73
73
  #
74
74
  def modified_files
75
- Danger::FileList.new(@git.diff.stats[:files].keys)
75
+ Danger::FileList.new(@git.diff.select { |diff| diff.type == "modified" }.map(&:path))
76
76
  end
77
77
 
78
78
  # @!group Git Metadata
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "4.3.5".freeze
2
+ VERSION = "5.0.0".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: 4.3.5
4
+ version: 5.0.0
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: 2017-04-12 00:00:00.000000000 Z
12
+ date: 2017-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide