coverband 6.0.1 → 6.0.3.rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/main.yml +2 -3
- data/.standard.yml +1 -1
- data/Gemfile +1 -1
- data/LICENSE +1 -1
- data/README.md +24 -10
- data/Rakefile +1 -1
- data/changes.md +12 -1
- data/coverband.gemspec +3 -3
- data/lib/coverband/adapters/base.rb +10 -10
- data/lib/coverband/adapters/file_store.rb +1 -1
- data/lib/coverband/adapters/hash_redis_store.rb +160 -10
- data/lib/coverband/adapters/null_store.rb +1 -1
- data/lib/coverband/adapters/stdout_store.rb +1 -1
- data/lib/coverband/adapters/web_service_store.rb +5 -7
- data/lib/coverband/collectors/coverage.rb +1 -1
- data/lib/coverband/collectors/route_tracker.rb +1 -1
- data/lib/coverband/collectors/translation_tracker.rb +2 -2
- data/lib/coverband/collectors/view_tracker.rb +1 -1
- data/lib/coverband/configuration.rb +12 -6
- data/lib/coverband/integrations/rack_server_check.rb +1 -3
- data/lib/coverband/reporters/base.rb +7 -7
- data/lib/coverband/reporters/html_report.rb +12 -4
- data/lib/coverband/reporters/json_report.rb +42 -4
- data/lib/coverband/reporters/web.rb +16 -2
- data/lib/coverband/reporters/web_pager.rb +28 -0
- data/lib/coverband/utils/absolute_file_converter.rb +19 -19
- data/lib/coverband/utils/file_hasher.rb +3 -3
- data/lib/coverband/utils/html_formatter.rb +4 -4
- data/lib/coverband/utils/method_definition_scanner.rb +1 -1
- data/lib/coverband/utils/railtie.rb +4 -6
- data/lib/coverband/utils/relative_file_converter.rb +7 -7
- data/lib/coverband/utils/results.rb +14 -14
- data/lib/coverband/utils/source_file.rb +2 -2
- data/lib/coverband/utils/tasks.rb +1 -1
- data/lib/coverband/version.rb +1 -1
- data/lib/coverband.rb +19 -3
- data/public/application.js +35 -0
- data/public/dependencies.js +1 -1
- data/roadmap.md +1 -1
- data/test/benchmarks/benchmark.rake +5 -5
- data/test/coverband/adapters/file_store_test.rb +1 -1
- data/test/coverband/adapters/hash_redis_store_test.rb +48 -0
- data/test/coverband/collectors/coverage_test.rb +1 -1
- data/test/coverband/reporters/json_test.rb +1 -1
- data/test/coverband/utils/source_file_test.rb +11 -11
- data/test/fixtures/casting_invitor.rb +1 -1
- data/test/fixtures/sample.rb +2 -2
- data/test/fixtures/skipped_and_executed.rb +1 -1
- data/test/forked/rails_rake_full_stack_test.rb +1 -1
- data/test/integration/full_stack_send_deferred_eager_test.rb +52 -0
- data/test/test_helper.rb +3 -5
- data/test/unique_files.rb +1 -1
- data/views/file_list.erb +38 -32
- data/views/layout.erb +3 -3
- metadata +17 -139
- data/LICENSE.txt +0 -22
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: 6.0.1
|
4
|
+
version: 6.0.3.rc.1
|
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:
|
12
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: benchmark-ips
|
@@ -183,16 +183,16 @@ dependencies:
|
|
183
183
|
name: standard
|
184
184
|
requirement: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
|
-
- -
|
186
|
+
- - "~>"
|
187
187
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
188
|
+
version: 1.34.0
|
189
189
|
type: :development
|
190
190
|
prerelease: false
|
191
191
|
version_requirements: !ruby/object:Gem::Requirement
|
192
192
|
requirements:
|
193
|
-
- -
|
193
|
+
- - "~>"
|
194
194
|
- !ruby/object:Gem::Version
|
195
|
-
version:
|
195
|
+
version: 1.34.0
|
196
196
|
- !ruby/object:Gem::Dependency
|
197
197
|
name: standardrb
|
198
198
|
requirement: !ruby/object:Gem::Requirement
|
@@ -258,6 +258,7 @@ extra_rdoc_files: []
|
|
258
258
|
files:
|
259
259
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
260
260
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
261
|
+
- ".github/dependabot.yml"
|
261
262
|
- ".github/workflows/diagram.yml"
|
262
263
|
- ".github/workflows/main.yml"
|
263
264
|
- ".gitignore"
|
@@ -272,7 +273,6 @@ files:
|
|
272
273
|
- Gemfile.rails7.0
|
273
274
|
- Gemfile.rails7.1
|
274
275
|
- LICENSE
|
275
|
-
- LICENSE.txt
|
276
276
|
- README.md
|
277
277
|
- Rakefile
|
278
278
|
- changes.md
|
@@ -307,6 +307,7 @@ files:
|
|
307
307
|
- lib/coverband/reporters/html_report.rb
|
308
308
|
- lib/coverband/reporters/json_report.rb
|
309
309
|
- lib/coverband/reporters/web.rb
|
310
|
+
- lib/coverband/reporters/web_pager.rb
|
310
311
|
- lib/coverband/utils/absolute_file_converter.rb
|
311
312
|
- lib/coverband/utils/configuration_template.rb
|
312
313
|
- lib/coverband/utils/dead_methods.rb
|
@@ -418,6 +419,7 @@ files:
|
|
418
419
|
- test/forked/rails_route_tracker_stack_test.rb
|
419
420
|
- test/forked/rails_view_tracker_stack_test.rb
|
420
421
|
- test/integration/full_stack_deferred_eager_test.rb
|
422
|
+
- test/integration/full_stack_send_deferred_eager_test.rb
|
421
423
|
- test/integration/full_stack_test.rb
|
422
424
|
- test/jruby_check.rb
|
423
425
|
- test/rails4_dummy/Rakefile
|
@@ -498,7 +500,7 @@ metadata:
|
|
498
500
|
documentation_uri: https://github.com/danmayer/coverband
|
499
501
|
changelog_uri: https://github.com/danmayer/coverband/blob/main/changes.md
|
500
502
|
source_code_uri: https://github.com/danmayer/coverband
|
501
|
-
post_install_message:
|
503
|
+
post_install_message:
|
502
504
|
rdoc_options: []
|
503
505
|
require_paths:
|
504
506
|
- lib
|
@@ -506,139 +508,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
506
508
|
requirements:
|
507
509
|
- - ">="
|
508
510
|
- !ruby/object:Gem::Version
|
509
|
-
version: '2.
|
511
|
+
version: '2.7'
|
510
512
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
511
513
|
requirements:
|
512
|
-
- - "
|
514
|
+
- - ">"
|
513
515
|
- !ruby/object:Gem::Version
|
514
|
-
version:
|
516
|
+
version: 1.3.1
|
515
517
|
requirements: []
|
516
|
-
rubygems_version: 3.
|
517
|
-
signing_key:
|
518
|
+
rubygems_version: 3.4.10
|
519
|
+
signing_key:
|
518
520
|
specification_version: 4
|
519
521
|
summary: Rack middleware to measure production code usage (LOC runtime usage)
|
520
|
-
test_files:
|
521
|
-
- test/benchmarks/.gitignore
|
522
|
-
- test/benchmarks/benchmark.rake
|
523
|
-
- test/benchmarks/coverage_fork.sh
|
524
|
-
- test/benchmarks/dog.rb
|
525
|
-
- test/benchmarks/graph_bench.sh
|
526
|
-
- test/benchmarks/init_rails.rake
|
527
|
-
- test/big_dog.rb.erb
|
528
|
-
- test/coverband/adapters/base_test.rb
|
529
|
-
- test/coverband/adapters/file_store_test.rb
|
530
|
-
- test/coverband/adapters/hash_redis_store_test.rb
|
531
|
-
- test/coverband/adapters/null_store_test.rb
|
532
|
-
- test/coverband/adapters/redis_store_test.rb
|
533
|
-
- test/coverband/adapters/web_service_store_test.rb
|
534
|
-
- test/coverband/at_exit_test.rb
|
535
|
-
- test/coverband/collectors/coverage_test.rb
|
536
|
-
- test/coverband/collectors/delta_test.rb
|
537
|
-
- test/coverband/collectors/route_tracker_test.rb
|
538
|
-
- test/coverband/collectors/translation_tracker_test.rb
|
539
|
-
- test/coverband/collectors/view_tracker_test.rb
|
540
|
-
- test/coverband/configuration_test.rb
|
541
|
-
- test/coverband/coverband_test.rb
|
542
|
-
- test/coverband/integrations/background_middleware_test.rb
|
543
|
-
- test/coverband/integrations/background_test.rb
|
544
|
-
- test/coverband/integrations/rack_server_check_test.rb
|
545
|
-
- test/coverband/integrations/report_middleware_test.rb
|
546
|
-
- test/coverband/integrations/resque_worker_test.rb
|
547
|
-
- test/coverband/integrations/test_resque_job.rb
|
548
|
-
- test/coverband/reporters/base_test.rb
|
549
|
-
- test/coverband/reporters/console_test.rb
|
550
|
-
- test/coverband/reporters/html_test.rb
|
551
|
-
- test/coverband/reporters/json_test.rb
|
552
|
-
- test/coverband/reporters/web_test.rb
|
553
|
-
- test/coverband/utils/absolute_file_converter_test.rb
|
554
|
-
- test/coverband/utils/dead_methods_test.rb
|
555
|
-
- test/coverband/utils/file_hasher_test.rb
|
556
|
-
- test/coverband/utils/file_list_test.rb
|
557
|
-
- test/coverband/utils/html_formatter_test.rb
|
558
|
-
- test/coverband/utils/lines_classifier_test.rb
|
559
|
-
- test/coverband/utils/method_definition_scanner_test.rb
|
560
|
-
- test/coverband/utils/relative_file_converter_test.rb
|
561
|
-
- test/coverband/utils/result_test.rb
|
562
|
-
- test/coverband/utils/results_test.rb
|
563
|
-
- test/coverband/utils/source_file_line_test.rb
|
564
|
-
- test/coverband/utils/source_file_test.rb
|
565
|
-
- test/dog.rb
|
566
|
-
- test/dog.rb.erb
|
567
|
-
- test/fake_app/basic_rack.rb
|
568
|
-
- test/fixtures/app/controllers/sample_controller.rb
|
569
|
-
- test/fixtures/app/models/user.rb
|
570
|
-
- test/fixtures/casting_invitor.rb
|
571
|
-
- test/fixtures/never.rb
|
572
|
-
- test/fixtures/sample.rb
|
573
|
-
- test/fixtures/skipped.rb
|
574
|
-
- test/fixtures/skipped_and_executed.rb
|
575
|
-
- test/fixtures/utf-8.rb
|
576
|
-
- test/forked/rails_full_stack_test.rb
|
577
|
-
- test/forked/rails_full_stack_views_test.rb
|
578
|
-
- test/forked/rails_rake_full_stack_test.rb
|
579
|
-
- test/forked/rails_route_tracker_stack_test.rb
|
580
|
-
- test/forked/rails_view_tracker_stack_test.rb
|
581
|
-
- test/integration/full_stack_deferred_eager_test.rb
|
582
|
-
- test/integration/full_stack_test.rb
|
583
|
-
- test/jruby_check.rb
|
584
|
-
- test/rails4_dummy/Rakefile
|
585
|
-
- test/rails4_dummy/app/controllers/dummy_controller.rb
|
586
|
-
- test/rails4_dummy/app/controllers/dummy_view_controller.rb
|
587
|
-
- test/rails4_dummy/app/views/dummy_view/show.html.erb
|
588
|
-
- test/rails4_dummy/app/views/dummy_view/show_haml.html.haml
|
589
|
-
- test/rails4_dummy/app/views/dummy_view/show_slim.html.slim
|
590
|
-
- test/rails4_dummy/config.ru
|
591
|
-
- test/rails4_dummy/config/application.rb
|
592
|
-
- test/rails4_dummy/config/boot.rb
|
593
|
-
- test/rails4_dummy/config/coverband.rb
|
594
|
-
- test/rails4_dummy/config/coverband_missing_redis.rb
|
595
|
-
- test/rails4_dummy/config/environment.rb
|
596
|
-
- test/rails4_dummy/config/routes.rb
|
597
|
-
- test/rails4_dummy/config/secrets.yml
|
598
|
-
- test/rails4_dummy/tmp/.keep
|
599
|
-
- test/rails5_dummy/Rakefile
|
600
|
-
- test/rails5_dummy/app/controllers/dummy_controller.rb
|
601
|
-
- test/rails5_dummy/app/controllers/dummy_view_controller.rb
|
602
|
-
- test/rails5_dummy/app/views/dummy_view/show.html.erb
|
603
|
-
- test/rails5_dummy/app/views/dummy_view/show_haml.html.haml
|
604
|
-
- test/rails5_dummy/app/views/dummy_view/show_slim.html.slim
|
605
|
-
- test/rails5_dummy/config.ru
|
606
|
-
- test/rails5_dummy/config/application.rb
|
607
|
-
- test/rails5_dummy/config/coverband.rb
|
608
|
-
- test/rails5_dummy/config/coverband_missing_redis.rb
|
609
|
-
- test/rails5_dummy/config/environment.rb
|
610
|
-
- test/rails5_dummy/config/routes.rb
|
611
|
-
- test/rails5_dummy/tmp/.keep
|
612
|
-
- test/rails6_dummy/Rakefile
|
613
|
-
- test/rails6_dummy/app/controllers/dummy_controller.rb
|
614
|
-
- test/rails6_dummy/app/controllers/dummy_view_controller.rb
|
615
|
-
- test/rails6_dummy/app/views/dummy_view/show.html.erb
|
616
|
-
- test/rails6_dummy/app/views/dummy_view/show_haml.html.haml
|
617
|
-
- test/rails6_dummy/app/views/dummy_view/show_slim.html.slim
|
618
|
-
- test/rails6_dummy/config.ru
|
619
|
-
- test/rails6_dummy/config/application.rb
|
620
|
-
- test/rails6_dummy/config/boot.rb
|
621
|
-
- test/rails6_dummy/config/coverband.rb
|
622
|
-
- test/rails6_dummy/config/coverband_missing_redis.rb
|
623
|
-
- test/rails6_dummy/config/environment.rb
|
624
|
-
- test/rails6_dummy/config/routes.rb
|
625
|
-
- test/rails6_dummy/config/secrets.yml
|
626
|
-
- test/rails6_dummy/tmp/.keep
|
627
|
-
- test/rails7_dummy/Rakefile
|
628
|
-
- test/rails7_dummy/app/controllers/dummy_controller.rb
|
629
|
-
- test/rails7_dummy/app/controllers/dummy_view_controller.rb
|
630
|
-
- test/rails7_dummy/app/views/dummy_view/show.html.erb
|
631
|
-
- test/rails7_dummy/app/views/dummy_view/show_haml.html.haml
|
632
|
-
- test/rails7_dummy/app/views/dummy_view/show_slim.html.slim
|
633
|
-
- test/rails7_dummy/config.ru
|
634
|
-
- test/rails7_dummy/config/application.rb
|
635
|
-
- test/rails7_dummy/config/boot.rb
|
636
|
-
- test/rails7_dummy/config/coverband.rb
|
637
|
-
- test/rails7_dummy/config/coverband_missing_redis.rb
|
638
|
-
- test/rails7_dummy/config/environment.rb
|
639
|
-
- test/rails7_dummy/config/routes.rb
|
640
|
-
- test/rails7_dummy/config/secrets.yml
|
641
|
-
- test/rails7_dummy/tmp/.keep
|
642
|
-
- test/rails_test_helper.rb
|
643
|
-
- test/test_helper.rb
|
644
|
-
- test/unique_files.rb
|
522
|
+
test_files: []
|
data/LICENSE.txt
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2010-2020 Dan Mayer
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|