pronto 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/rugged/diff/line.rb +4 -2
- data/lib/pronto/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 387df066362f3ce320d87ec335d8a9db830008a2
|
4
|
+
data.tar.gz: 0e1b4accb83cac242bafd1459d6e7b2e3a0e2d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef99c38020c651f360655a3e8280ee1c9c2b21e432dc86ff0596eddaeae8175dea910af413c94988592b5c7548734db63e9633f5f47d59d826ee6244f418950c
|
7
|
+
data.tar.gz: d9d9f560ce10fa65c1f705934b2db76451c482c134fb751cac2d6d0ab620b2684f9d27c62f9fc0c12cf8b5359bf4d35224d139d6fa03bbb067ddb8a7686f20e5
|
@@ -30,9 +30,11 @@ module Rugged
|
|
30
30
|
patch.new_file_full_path == p.new_file_full_path
|
31
31
|
end
|
32
32
|
|
33
|
-
commit_patch.lines.find do |l|
|
34
|
-
blameline.
|
33
|
+
result = commit_patch.lines.find do |l|
|
34
|
+
blameline.lineno == l.new_lineno
|
35
35
|
end
|
36
|
+
|
37
|
+
result || self # no commit_line means that it was just added
|
36
38
|
end
|
37
39
|
end
|
38
40
|
|
data/lib/pronto/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindaugas Mozūras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|
@@ -171,9 +171,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: 1.3.6
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.0.
|
174
|
+
rubygems_version: 2.0.6
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: Pronto runs analysis quickly by checking only the introduced changes
|
178
178
|
test_files: []
|
179
|
-
has_rdoc:
|