danger 5.9.0 → 5.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger/request_sources/github/github.rb +5 -0
- data/lib/danger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ca8eae46b86048ebe87922217dd3f833f70dbfc67287e216c8361039d30aa1e
|
4
|
+
data.tar.gz: 9ca45aa70428acc760231c4f31d89a1c841c07003057bb05fb68c418dcb38d9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 134880b979d81ecde590364d6a3d4cdccb14eae30181106c6758fc5fa9e580f49346b46b129d054b6443e975c7305738669bb790ca0674548919f9e40c6ca68e
|
7
|
+
data.tar.gz: 6e5ca5931209b7231aa048fba656aa58096a468bf6446fe39dc313fd943e89196dea4f49fe285228f635afae7b42db6a0678a5449676c7e4664c9454fc2cddef
|
@@ -381,6 +381,11 @@ module Danger
|
|
381
381
|
file_line = nil
|
382
382
|
|
383
383
|
diff_lines.drop(file_start).each do |line|
|
384
|
+
# If the line has `No newline` annotation, position need increment
|
385
|
+
if line.eql?("\n")
|
386
|
+
position += 1
|
387
|
+
next
|
388
|
+
end
|
384
389
|
# If we found the start of another file diff, we went too far
|
385
390
|
break if line.match file_header_regexp
|
386
391
|
|
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: 5.9.
|
4
|
+
version: 5.9.1
|
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
|
+
date: 2018-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: claide
|