gcovtools 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -2
  3. data/bin/gcovtools +0 -1
  4. data/lib/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8314cd41c5ead47cae359e181b5021016ddb7e23
4
- data.tar.gz: 565783cb5e96dedff1a27c229da4b86aa2fa6bad
3
+ metadata.gz: e1a84fa4cdfcb2c563ce0b833b6273b07c783d14
4
+ data.tar.gz: fa4d04d0e13cadb4b8aca5acbf6d4a0adca8ab1b
5
5
  SHA512:
6
- metadata.gz: 13767da67d715e9cda49872f549f1ee415113c82cefaff960e43e239149eae0e32faeeb5054b661733899a5013892c6d50b581b58fec43675c0afaa5699a56d4
7
- data.tar.gz: 5aa48a5638137f9613de783e944a41100b5cdc5283e6230f46a04bb811daa2ed2a44c348b253721eca06161ee3de9ad235bc51ca774755f4b0c8567001d9a392
6
+ metadata.gz: 466000bb757ecffcc1743baa13c6d26ba0a490dbb2ee444675eb72c96d70250dbcc3e2bfdda211b118d779386aa01591703d8cf318590963ef069b12350de248
7
+ data.tar.gz: 77b337e032e1d422ca14c119067714256ad3fd8a5a8bed67609fde313f270ee82249d48a52d18709169a7ec1b64db92b4e455cdb2402bbd1bbe9f54d2d1c717e
data/README.md CHANGED
@@ -16,9 +16,21 @@ Next, install the gem:
16
16
 
17
17
  This should furnish you with a ```gcovtools``` executable in your path.
18
18
 
19
- Finally, execute ```gcovtools``` in one of multiple possible ways. For instance, generate a HTML coverage report:
19
+ Finally, execute ```gcovtools``` in one of multiple possible ways.
20
20
 
21
- ```gcovtools convert --format html *.gcov > coverage.html```
21
+ For instance, generate a HTML coverage report and pipe it to ```coverage.html```:
22
+
23
+ ```gcovtools report --format html *.gcov > coverage.html```
24
+
25
+ Ditto using recursive directory search:
26
+
27
+ ```gcovtools report --format html ../some/dir -r > coverage.html```
28
+
29
+ Applying a few filters to only include certain source files once extracted from the gcov files, using regular expressions:
30
+
31
+ ```gcovtools report --format html ../some/dir -r --include subdir/.*\.cpp$ otherdir/.*\.h$ --exclude \.s\.cpp$ > coverage.html```
32
+
33
+ That last bit will include all files ending with ```.cpp``` anywhere under some directory named ```subdir```, all files ending with ```.h``` anywhere under some directory named ```otherdir```, but will exclude any file ending with ```.s.cpp``` (which is how someone may name, say, behavioral specification drivers).
22
34
 
23
35
  Disclaimer
24
36
  ----------
data/bin/gcovtools CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "thor"
4
- require 'mixlib/cli'
5
4
 
6
5
  require_relative '../lib/logging'
7
6
  require_relative '../lib/gcovtools'
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GCOVTOOLS
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcovtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattias Bergbom