covered-git 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 28acdeaccd2f00e8258fe0a743787ee2b28479d395f3a02585a24da66b91b575
4
- data.tar.gz: 2fc71474ea5d945916ff579b3d7fc2ab18a858901f9aa1a47623bf599e330286
3
+ metadata.gz: 4d85a15e1b9d1cf629b0afb25b8a7872b533d911754eeec7e344e25728ffcef7
4
+ data.tar.gz: 95641b788ffccd4249914ae2053b4e0fc3d3ca9831e7df81a387f68864c9ac1d
5
5
  SHA512:
6
- metadata.gz: 929f9678db24cf42b77208681ed01b137751509a0c9eb8426b2337dec0d4bbb0f5a7104d0b80626e70af789a7de7bad331e9a502f3eba050b9d87965d3da1c75
7
- data.tar.gz: 18ec8ba1a59b805f8917007889343ec9e8a9212f051ce3b4ee4ab7050ba35084a1b1fa854f237cc546d85ab5faa1cd2860f37c57fb92f96e65a6eac6e3ca8308
6
+ metadata.gz: 1582c1e6199c905879f35bd50616e979e9ccd85f16ac454209a464d78cc5e46ad58f4ad905c6f629f66f0efa6396605da16f68c7a57d130b305b72415fed9b1c
7
+ data.tar.gz: 558aa6d3c96029834358d7d14c79841fbd31088eb2c3a8fc5a9322bbfa281e74ef23c19fd9d9d9076d1fb41e4a06a00a72bc6f8d773fd881ce2e85b9a565b17f
checksums.yaml.gz.sig CHANGED
Binary file
data/bake/covered/git.rb CHANGED
@@ -45,7 +45,7 @@ end
45
45
  def lines_modified(branch)
46
46
  result = Hash.new{|k,v| k[v] = Set.new}
47
47
 
48
- diff = repository.diff_workdir(branch)
48
+ diff = repository.diff(repository.rev_parse(branch), repository.last_commit)
49
49
 
50
50
  diff.each_patch do |patch|
51
51
  path = patch.delta.new_file[:path]
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Covered
7
7
  module Git
8
- VERSION = "0.1.2"
8
+ VERSION = "0.1.3"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covered-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []
116
- rubygems_version: 3.4.10
116
+ rubygems_version: 3.4.7
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Provides coverage computation for git pull requests.
metadata.gz.sig CHANGED
Binary file