rspec-github 2.3.1 → 3.0.0
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/formatter.rb +7 -1
- data/lib/rspec/github/version.rb +1 -1
- metadata +7 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64bd7aefa9016fe0397b2288966d8ed91467e215f29d38b296ef9a27fe82992a
|
4
|
+
data.tar.gz: ecce58357eb68e1207d2a02f8feb2666f6bf91a1430603b3d647b4416560fa45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c6e9551c4baca8c483cf4d3576884eebfbe9bb7aecb845174c6c6e339c9f7c87ff1f1b8e55ac5c3f9cbedc7531ed8ea4bc26124ad1aef275ad5abea578bd718
|
7
|
+
data.tar.gz: 2ba8b3e2b56e8fefb508baa915d8f6c002179cebfe7e7ef750b45084cc54541ffca37cc7557e8d3399e3fb103c9d48d21fc8f76b7d8c5a0583e7442dd2e42dc8
|
@@ -7,7 +7,7 @@ require 'rspec/github/notification_decorator'
|
|
7
7
|
module RSpec
|
8
8
|
module Github
|
9
9
|
class Formatter < RSpec::Core::Formatters::BaseFormatter
|
10
|
-
RSpec::Core::Formatters.register self, :example_failed, :example_pending
|
10
|
+
RSpec::Core::Formatters.register self, :example_failed, :example_pending, :seed
|
11
11
|
|
12
12
|
def example_failed(failure)
|
13
13
|
notification = NotificationDecorator.new(failure)
|
@@ -20,6 +20,12 @@ module RSpec
|
|
20
20
|
|
21
21
|
output.puts "\n::warning file=#{notification.path},line=#{notification.line}::#{notification.annotation}"
|
22
22
|
end
|
23
|
+
|
24
|
+
def seed(notification)
|
25
|
+
return unless notification.seed_used?
|
26
|
+
|
27
|
+
output.puts notification.fully_formatted
|
28
|
+
end
|
23
29
|
end
|
24
30
|
end
|
25
31
|
end
|
data/lib/rspec/github/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stef Schenkelaars
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rspec
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.0'
|
55
27
|
description: Formatter for RSpec to show errors in GitHub action annotations
|
56
28
|
email:
|
57
29
|
- stef.schenkelaars@gmail.com
|
@@ -70,7 +42,7 @@ metadata:
|
|
70
42
|
allowed_push_host: https://rubygems.org
|
71
43
|
homepage_uri: https://drieam.github.io/rspec-github
|
72
44
|
source_code_uri: https://github.com/drieam/rspec-github
|
73
|
-
post_install_message:
|
45
|
+
post_install_message:
|
74
46
|
rdoc_options: []
|
75
47
|
require_paths:
|
76
48
|
- lib
|
@@ -78,15 +50,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
50
|
requirements:
|
79
51
|
- - ">="
|
80
52
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
53
|
+
version: '3.1'
|
82
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
55
|
requirements:
|
84
56
|
- - ">="
|
85
57
|
- !ruby/object:Gem::Version
|
86
58
|
version: '0'
|
87
59
|
requirements: []
|
88
|
-
rubygems_version: 3.
|
89
|
-
signing_key:
|
60
|
+
rubygems_version: 3.5.22
|
61
|
+
signing_key:
|
90
62
|
specification_version: 4
|
91
63
|
summary: Formatter for RSpec to show errors in GitHub action annotations
|
92
64
|
test_files: []
|