pronto-simplecov 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: 2d01ddf77deaecc75f925c014b1f483b7be5ad32
4
- data.tar.gz: 6118bd0a15329aef9bdf24f91d75f5e6b2631b66
2
+ SHA256:
3
+ metadata.gz: 93fe7158a04474a7f7295f70f6827b06e39d2043ab0079de94644a37848899ae
4
+ data.tar.gz: 7d19b9615db7efdf431a2ce39ef5a2140ba53cab435ec7beb6a13920cb542834
5
5
  SHA512:
6
- metadata.gz: '081433d216c2a7d57b858791c8eb1d65ca79861765b70fab4447858dfbd9ced7b8137eafceebcdb9a95c86cc4a4fd39cb788d14472fe38ec7643a95dcadc5d79'
7
- data.tar.gz: 108126be11de1aa085be1a158f0d683c22646602dee64e3e990c29f55476c1e5738cead77c78580a02783eed8cb5edd64b099a6dce648d1d601981931b651cc5
6
+ metadata.gz: e5249ee146a4bc4d216ca085c042f984bc0e501d109360803c1286123d80c4105f8d536b244ffd308b746be6293dfa66f50e0e85c8ed25d71e6e1f6aa925e95a
7
+ data.tar.gz: edc137462c368b527f97dda0c45f3779340408829f2955cb001e3f970d58732f1e370b3d195d295ee0c9400df9712091aa44162f14dd73c3e31d715814082807
data/CHANGELOG.md CHANGED
@@ -10,9 +10,16 @@ All notable changes to this project will be documented in this file.
10
10
 
11
11
  ### Fixed
12
12
 
13
+ ## [0.1.1] - 2018-08-17
14
+
15
+ ### Fixed
16
+
17
+ - Not longer raises an exception when line coverage is not present (#2 @bigzed)
18
+
13
19
  ## [0.1.0] - 2017-05-07
14
20
 
15
21
  - First release
16
22
 
17
23
  [Unreleased]: https://github.com/dsander/pronto-simplecov/compare/v0.1.0...HEAD
24
+ [0.1.1]: https://github.com/dsander/pronto-simplecov/compare/v0.1.0...v0.1.1
18
25
  [0.1.0]: https://github.com/dsander/pronto-simplecov/compare/e020a804f16c5df8f1d45d1f921955928a669dd6...v0.1.0
@@ -12,7 +12,7 @@ module Pronto
12
12
  file_coverage = coverage[patch.new_file_full_path.to_s]
13
13
  return unless file_coverage
14
14
  patch.added_lines
15
- .select { |line| file_coverage.line(line.new_lineno).missed? }
15
+ .select { |line| file_coverage.line(line.new_lineno).missed? unless file_coverage.line(line.new_lineno).nil? }
16
16
  .map { |line| message(line) }
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module ProntoSimplecov
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-simplecov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Sander
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-07 00:00:00.000000000 Z
11
+ date: 2018-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -115,7 +115,6 @@ files:
115
115
  - spec/data/test.git/refs/heads/master
116
116
  - spec/data/test.git/refs/heads/methods
117
117
  - spec/data/test.git/tags
118
- - spec/data/test/test.rb
119
118
  - spec/pronto/pronto_simplecov/runner_spec.rb
120
119
  - spec/pronto/simplecov_spec.rb
121
120
  - spec/spec_helper.rb
@@ -139,33 +138,32 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
138
  version: '0'
140
139
  requirements: []
141
140
  rubyforge_project:
142
- rubygems_version: 2.6.8
141
+ rubygems_version: 2.7.6
143
142
  signing_key:
144
143
  specification_version: 4
145
144
  summary: Pronto runner for Simplecov, reports changed lines without coverage.
146
145
  test_files:
147
- - spec/data/test/test.rb
148
- - spec/data/test.git/COMMIT_EDITMSG
146
+ - spec/spec_helper.rb
147
+ - spec/pronto/pronto_simplecov/runner_spec.rb
148
+ - spec/pronto/simplecov_spec.rb
149
149
  - spec/data/test.git/config
150
- - spec/data/test.git/HEAD
151
- - spec/data/test.git/hooks/ctags
152
- - spec/data/test.git/hooks/post-checkout
153
- - spec/data/test.git/hooks/post-commit
154
- - spec/data/test.git/hooks/post-merge
155
- - spec/data/test.git/hooks/post-rewrite
156
- - spec/data/test.git/index
157
- - spec/data/test.git/logs/HEAD
158
- - spec/data/test.git/logs/refs/heads/master
159
- - spec/data/test.git/logs/refs/heads/methods
150
+ - spec/data/test.git/objects/ad/52e9109d5f31fae0c554d85d4bd5f2ded2acec
160
151
  - spec/data/test.git/objects/44/b65751859967fd2795b983288c32abac207693
161
152
  - spec/data/test.git/objects/9f/80eedc9b95982d9e69b3e96c1f98b337b8349b
162
- - spec/data/test.git/objects/ad/52e9109d5f31fae0c554d85d4bd5f2ded2acec
163
153
  - spec/data/test.git/objects/af/9d20dfd9a150a907fccf6e8b344f5ff9e466f4
164
154
  - spec/data/test.git/objects/fa/6f28ab49f1793671180802d6a410ce99ce11af
165
155
  - spec/data/test.git/objects/ff/1926a8d1686b0d3474f012db0b352c74d43563
166
- - spec/data/test.git/refs/heads/master
167
- - spec/data/test.git/refs/heads/methods
168
156
  - spec/data/test.git/tags
169
- - spec/pronto/pronto_simplecov/runner_spec.rb
170
- - spec/pronto/simplecov_spec.rb
171
- - spec/spec_helper.rb
157
+ - spec/data/test.git/HEAD
158
+ - spec/data/test.git/logs/HEAD
159
+ - spec/data/test.git/logs/refs/heads/methods
160
+ - spec/data/test.git/logs/refs/heads/master
161
+ - spec/data/test.git/hooks/ctags
162
+ - spec/data/test.git/hooks/post-commit
163
+ - spec/data/test.git/hooks/post-checkout
164
+ - spec/data/test.git/hooks/post-rewrite
165
+ - spec/data/test.git/hooks/post-merge
166
+ - spec/data/test.git/refs/heads/methods
167
+ - spec/data/test.git/refs/heads/master
168
+ - spec/data/test.git/index
169
+ - spec/data/test.git/COMMIT_EDITMSG
@@ -1,9 +0,0 @@
1
- class Test
2
- def initialize
3
- @one = 1
4
- end
5
-
6
- def two
7
- 2
8
- end
9
- end