rspec-github-actions-formatter 0.1.2 → 0.1.3
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/lib/rspec_github_actions_formatter.rb +2 -2
- data/rspec-github-actions-formatter.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83f8cb3afb3f0d1c36caf54d13d34da01c2592322a7d97992df2a35e8dc58dbb
|
4
|
+
data.tar.gz: 54dd2bf18b3e700ff868d6ce582ca78044b0f993b261ed5c6cc5549549c0515c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d0c64b2b42d7a461923bfea3009b31015b3d231177492e200b1680b2f3683729dd1f31fb5ca824d375173cdbb85038567e97101703b86222a832bcbd7a6a78f
|
7
|
+
data.tar.gz: 502f269286bfb9bdf79be6c8bc92d2e0b5aa3f22ea91927026806ac858054cc8397f863df888a2650007e18c7e2dad297d9c251554bbfec7da81b69378065f47
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require "rspec/core/formatters/progress_formatter"
|
2
2
|
|
3
3
|
class RspecGithubActionsFormatter < RSpec::Core::Formatters::ProgressFormatter
|
4
|
-
VERSION = "0.1.
|
4
|
+
VERSION = "0.1.3"
|
5
5
|
|
6
6
|
RSpec::Core::Formatters.register self, :dump_pending, :dump_failures, :example_passed, :example_pending, :example_failed, :example_started, :start
|
7
7
|
|
@@ -106,7 +106,7 @@ class RspecGithubActionsFormatter < RSpec::Core::Formatters::ProgressFormatter
|
|
106
106
|
# GitHub Actions seems to set it to something silly like 40 characters, and I
|
107
107
|
# haven't yet figured out why. Help welcome!
|
108
108
|
def terminal_width
|
109
|
-
|
109
|
+
[`tput cols`.to_i, 80].max
|
110
110
|
end
|
111
111
|
|
112
112
|
def progress_display(executed_examples, total_examples)
|