coverband 5.1.0 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/test/unique_files.rb CHANGED
@@ -20,10 +20,10 @@ def require_unique_file(file = "dog.rb", variables = {})
20
20
  Coverband::Utils::RelativeFileConverter.convert(File.expand_path(temp_file))
21
21
  end
22
22
 
23
- @@dogs = 0
24
23
  def require_class_unique_file
25
- @@dogs += 1
26
- require_unique_file("dog.rb.erb", dog_number: @@dogs)
24
+ @dogs ||= 0
25
+ @dogs += 1
26
+ require_unique_file("dog.rb.erb", dog_number: @dogs)
27
27
  end
28
28
 
29
29
  def remove_unique_files
data/views/file_list.erb CHANGED
@@ -22,8 +22,8 @@
22
22
  <thead>
23
23
  <tr>
24
24
  <th title="The source file name">File</th>
25
- <th title="Percentage of relavent lines covered (load & runtime)">% covered</th>
26
- <th title="Runtime Percentage of relavent lines covered">% runtime</th>
25
+ <th title="Percentage of relevant lines covered (load & runtime)">% covered</th>
26
+ <th title="Runtime Percentage of relevant lines covered">% runtime</th>
27
27
  <th title="The total line number count for the file">Lines</th>
28
28
  <th title="Line number count excluding comments, whitespace, etc...">Relevant Lines</th>
29
29
  <th title="The number of lines covered (load & runtime)">Lines covered</th>
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coverband
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Mayer
8
8
  - Karl Baum
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-31 00:00:00.000000000 Z
12
+ date: 2022-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: benchmark-ips
@@ -272,6 +272,7 @@ extra_rdoc_files: []
272
272
  files:
273
273
  - ".github/ISSUE_TEMPLATE/bug_report.md"
274
274
  - ".github/ISSUE_TEMPLATE/feature_request.md"
275
+ - ".github/workflows/diagram.yml"
275
276
  - ".github/workflows/main.yml"
276
277
  - ".gitignore"
277
278
  - ".jrubyrc"
@@ -288,11 +289,13 @@ files:
288
289
  - changes.md
289
290
  - config.ru
290
291
  - coverband.gemspec
292
+ - diagram.svg
291
293
  - lib/alternative_coverband_patch.rb
292
294
  - lib/coverband.rb
293
295
  - lib/coverband/adapters/base.rb
294
296
  - lib/coverband/adapters/file_store.rb
295
297
  - lib/coverband/adapters/hash_redis_store.rb
298
+ - lib/coverband/adapters/null_store.rb
296
299
  - lib/coverband/adapters/redis_store.rb
297
300
  - lib/coverband/adapters/stdout_store.rb
298
301
  - lib/coverband/adapters/web_service_store.rb
@@ -358,6 +361,7 @@ files:
358
361
  - public/images/ui-icons_cd0a0a_256x240.png
359
362
  - public/loading.gif
360
363
  - public/magnify.png
364
+ - roadmap.md
361
365
  - test/benchmarks/.gitignore
362
366
  - test/benchmarks/benchmark.rake
363
367
  - test/benchmarks/coverage_fork.sh
@@ -368,6 +372,7 @@ files:
368
372
  - test/coverband/adapters/base_test.rb
369
373
  - test/coverband/adapters/file_store_test.rb
370
374
  - test/coverband/adapters/hash_redis_store_test.rb
375
+ - test/coverband/adapters/null_store_test.rb
371
376
  - test/coverband/adapters/redis_store_test.rb
372
377
  - test/coverband/adapters/web_service_store_test.rb
373
378
  - test/coverband/at_exit_test.rb
@@ -413,6 +418,7 @@ files:
413
418
  - test/forked/rails_full_stack_views_test.rb
414
419
  - test/forked/rails_rake_full_stack_test.rb
415
420
  - test/forked/rails_view_tracker_stack_test.rb
421
+ - test/integration/full_stack_deferred_eager_test.rb
416
422
  - test/integration/full_stack_test.rb
417
423
  - test/jruby_check.rb
418
424
  - test/rails4_dummy/Rakefile
@@ -472,8 +478,13 @@ files:
472
478
  homepage: https://github.com/danmayer/coverband
473
479
  licenses:
474
480
  - MIT
475
- metadata: {}
476
- post_install_message:
481
+ metadata:
482
+ homepage_uri: https://github.com/danmayer/coverband
483
+ bug_tracker_uri: https://github.com/danmayer/coverband/issues
484
+ documentation_uri: https://github.com/danmayer/coverband
485
+ changelog_uri: https://github.com/danmayer/coverband/blob/main/changes.md
486
+ source_code_uri: https://github.com/danmayer/coverband
487
+ post_install_message:
477
488
  rdoc_options: []
478
489
  require_paths:
479
490
  - lib
@@ -481,7 +492,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
481
492
  requirements:
482
493
  - - ">="
483
494
  - !ruby/object:Gem::Version
484
- version: '0'
495
+ version: '2.3'
485
496
  required_rubygems_version: !ruby/object:Gem::Requirement
486
497
  requirements:
487
498
  - - ">="
@@ -489,7 +500,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
489
500
  version: '0'
490
501
  requirements: []
491
502
  rubygems_version: 3.0.3
492
- signing_key:
503
+ signing_key:
493
504
  specification_version: 4
494
505
  summary: Rack middleware to measure production code usage (LOC runtime usage)
495
506
  test_files:
@@ -503,6 +514,7 @@ test_files:
503
514
  - test/coverband/adapters/base_test.rb
504
515
  - test/coverband/adapters/file_store_test.rb
505
516
  - test/coverband/adapters/hash_redis_store_test.rb
517
+ - test/coverband/adapters/null_store_test.rb
506
518
  - test/coverband/adapters/redis_store_test.rb
507
519
  - test/coverband/adapters/web_service_store_test.rb
508
520
  - test/coverband/at_exit_test.rb
@@ -548,6 +560,7 @@ test_files:
548
560
  - test/forked/rails_full_stack_views_test.rb
549
561
  - test/forked/rails_rake_full_stack_test.rb
550
562
  - test/forked/rails_view_tracker_stack_test.rb
563
+ - test/integration/full_stack_deferred_eager_test.rb
551
564
  - test/integration/full_stack_test.rb
552
565
  - test/jruby_check.rb
553
566
  - test/rails4_dummy/Rakefile