rspec-github 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 485c8f607c6cd3ed202fa9d3bfa57748690d6d5d4c873a279bb5cb2721b877f3
4
- data.tar.gz: c585043532f30a1a7c566ae34c415a8e2e082a8a8086f49085bef924336605fc
3
+ metadata.gz: fd7e0cdee8f3a57881a93a5b8503cef79725e4a08d80b08b523e8f309b3e080e
4
+ data.tar.gz: a72d40485a8a14ebc4e800059517c445302d9ffe1ddd2e96fa2fb4a512ba8a49
5
5
  SHA512:
6
- metadata.gz: ab02dcc31838a67b5498c129c6439e45e0c46c50f6ecd8d95490787072e42d5115141dac23b134074faec441e084d8dd4cc786b3a4d507dc765b637330e75846
7
- data.tar.gz: 8fdaeebc694a6560a3d3d69f6bc873a0b273030ba9765482f1a974b9239e176be443db0efb22a448a624135d2913d66a3f9a3cd7b0e8b49c0882cadad76047fd
6
+ metadata.gz: 42c4cdbb79cd3c13f5e54f3bc493019e8fa7addff92fa870f4fa767927307618880cfdfa4438dc1b438a4c172cc0403733fb6e7e8a482f4ffa5e0f082ba6f6e0
7
+ data.tar.gz: c73f0324a20c1f81f4fdac2c9bb8590d89629323c3a41ec4a6d1cd198b2426149ba2e3abc8cfcc43f2c61a0402f25b0915c1329a684821d163d9fb9ebcb6c656
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Github
5
- VERSION = '2.3.1'
5
+ VERSION = '2.4.0'
6
6
  end
7
7
  end
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: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stef Schenkelaars
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2022-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
@@ -44,14 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: 1.12.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: 1.12.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-ast
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.4.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.4.0
55
69
  description: Formatter for RSpec to show errors in GitHub action annotations
56
70
  email:
57
71
  - stef.schenkelaars@gmail.com
@@ -85,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
99
  - !ruby/object:Gem::Version
86
100
  version: '0'
87
101
  requirements: []
88
- rubygems_version: 3.1.2
102
+ rubygems_version: 3.3.7
89
103
  signing_key:
90
104
  specification_version: 4
91
105
  summary: Formatter for RSpec to show errors in GitHub action annotations