danger-junit_results 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +38 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +107 -71
- data/danger-junit_results.gemspec +4 -4
- data/lib/junit_results/gem_version.rb +1 -1
- data/lib/junit_results/plugin.rb +15 -5
- data/spec/fixtures/junit-report-retries.xml +12 -0
- data/spec/junit_results_spec.rb +30 -0
- metadata +21 -20
- data/.travis.yml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '08054050ad852d71fa44771604ffdd2dfc7729b31ab769fcb0fe8c3092603216'
|
4
|
+
data.tar.gz: 2ce9a4ba88a9f7d7ca40db3f9f20593c2948a773b3cff009690af60c0b0e9a7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845e29368ef67224f67312cbea89788fca84ca3e60f2d51c20f20e457fb58616a34a49a2c883e3c8cd2026c0b960735e181902ad28c27f7576505479ff8ca624
|
7
|
+
data.tar.gz: 86dc85a60dc70a5f8e770da15d2edb238c97c47899640385294bd470c341e1c018fde3e166228d45416226ea40d36f0f12565a2f7d86c407461304c6d3d38b28
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ "master" ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ "master" ]
|
15
|
+
|
16
|
+
permissions:
|
17
|
+
contents: read
|
18
|
+
|
19
|
+
jobs:
|
20
|
+
test:
|
21
|
+
|
22
|
+
runs-on: ubuntu-latest
|
23
|
+
strategy:
|
24
|
+
matrix:
|
25
|
+
ruby-version: ['2.6', '2.7', '3.0']
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v3
|
29
|
+
- name: Set up Ruby
|
30
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
31
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
32
|
+
# uses: ruby/setup-ruby@v1
|
33
|
+
uses: ruby/setup-ruby@2b019609e2b0f1ea1a2bc8ca11cb82ab46ada124
|
34
|
+
with:
|
35
|
+
ruby-version: ${{ matrix.ruby-version }}
|
36
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
37
|
+
- name: Run tests
|
38
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,52 +1,77 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danger-junit_results (0.0.
|
4
|
+
danger-junit_results (0.0.5)
|
5
5
|
danger-plugin-api (~> 1.0)
|
6
|
-
nokogiri
|
6
|
+
nokogiri (~> 1.13)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
addressable (2.
|
12
|
-
public_suffix (
|
13
|
-
claide (1.0
|
11
|
+
addressable (2.8.1)
|
12
|
+
public_suffix (>= 2.0.2, < 6.0)
|
13
|
+
claide (1.1.0)
|
14
14
|
claide-plugins (0.9.2)
|
15
15
|
cork
|
16
16
|
nap
|
17
17
|
open4 (~> 1.3)
|
18
|
-
coderay (1.1.
|
19
|
-
|
20
|
-
cork (0.
|
21
|
-
|
22
|
-
danger (
|
18
|
+
coderay (1.1.3)
|
19
|
+
colored2 (3.1.2)
|
20
|
+
cork (0.3.0)
|
21
|
+
colored2 (~> 3.1)
|
22
|
+
danger (8.6.1)
|
23
23
|
claide (~> 1.0)
|
24
24
|
claide-plugins (>= 0.9.2)
|
25
|
-
|
25
|
+
colored2 (~> 3.1)
|
26
26
|
cork (~> 0.1)
|
27
|
-
faraday (
|
28
|
-
faraday-http-cache (~>
|
29
|
-
git (~> 1)
|
30
|
-
kramdown (~>
|
31
|
-
|
32
|
-
|
27
|
+
faraday (>= 0.9.0, < 2.0)
|
28
|
+
faraday-http-cache (~> 2.0)
|
29
|
+
git (~> 1.7)
|
30
|
+
kramdown (~> 2.3)
|
31
|
+
kramdown-parser-gfm (~> 1.0)
|
32
|
+
no_proxy_fix
|
33
|
+
octokit (~> 4.7)
|
34
|
+
terminal-table (>= 1, < 4)
|
33
35
|
danger-plugin-api (1.0.0)
|
34
36
|
danger (> 2.0)
|
35
|
-
diff-lcs (1.
|
36
|
-
faraday (
|
37
|
-
|
38
|
-
|
39
|
-
faraday (~>
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
37
|
+
diff-lcs (1.5.0)
|
38
|
+
faraday (1.10.2)
|
39
|
+
faraday-em_http (~> 1.0)
|
40
|
+
faraday-em_synchrony (~> 1.0)
|
41
|
+
faraday-excon (~> 1.1)
|
42
|
+
faraday-httpclient (~> 1.0)
|
43
|
+
faraday-multipart (~> 1.0)
|
44
|
+
faraday-net_http (~> 1.0)
|
45
|
+
faraday-net_http_persistent (~> 1.0)
|
46
|
+
faraday-patron (~> 1.0)
|
47
|
+
faraday-rack (~> 1.0)
|
48
|
+
faraday-retry (~> 1.0)
|
49
|
+
ruby2_keywords (>= 0.0.4)
|
50
|
+
faraday-em_http (1.0.0)
|
51
|
+
faraday-em_synchrony (1.0.0)
|
52
|
+
faraday-excon (1.1.0)
|
53
|
+
faraday-http-cache (2.4.1)
|
54
|
+
faraday (>= 0.8)
|
55
|
+
faraday-httpclient (1.0.1)
|
56
|
+
faraday-multipart (1.0.4)
|
57
|
+
multipart-post (~> 2)
|
58
|
+
faraday-net_http (1.0.1)
|
59
|
+
faraday-net_http_persistent (1.2.0)
|
60
|
+
faraday-patron (1.0.0)
|
61
|
+
faraday-rack (1.0.0)
|
62
|
+
faraday-retry (1.0.3)
|
63
|
+
ffi (1.15.5)
|
64
|
+
formatador (1.1.0)
|
65
|
+
git (1.12.0)
|
66
|
+
addressable (~> 2.8)
|
67
|
+
rchardet (~> 1.8)
|
68
|
+
guard (2.18.0)
|
44
69
|
formatador (>= 0.2.4)
|
45
70
|
listen (>= 2.7, < 4.0)
|
46
|
-
lumberjack (
|
71
|
+
lumberjack (>= 1.0.12, < 2.0)
|
47
72
|
nenv (~> 0.1)
|
48
73
|
notiffany (~> 0.0)
|
49
|
-
pry (>= 0.
|
74
|
+
pry (>= 0.13.0)
|
50
75
|
shellany (~> 0.0)
|
51
76
|
thor (>= 0.18.1)
|
52
77
|
guard-compat (1.2.1)
|
@@ -54,70 +79,81 @@ GEM
|
|
54
79
|
guard (~> 2.1)
|
55
80
|
guard-compat (~> 1.1)
|
56
81
|
rspec (>= 2.99.0, < 4.0)
|
57
|
-
kramdown (
|
82
|
+
kramdown (2.4.0)
|
83
|
+
rexml
|
84
|
+
kramdown-parser-gfm (1.1.0)
|
85
|
+
kramdown (~> 2.0)
|
58
86
|
listen (3.0.7)
|
59
87
|
rb-fsevent (>= 0.9.3)
|
60
88
|
rb-inotify (>= 0.9.7)
|
61
|
-
lumberjack (1.
|
62
|
-
method_source (0.
|
63
|
-
|
64
|
-
multipart-post (2.0.0)
|
89
|
+
lumberjack (1.2.8)
|
90
|
+
method_source (1.0.0)
|
91
|
+
multipart-post (2.2.3)
|
65
92
|
nap (1.1.0)
|
66
93
|
nenv (0.3.0)
|
67
|
-
|
68
|
-
|
69
|
-
|
94
|
+
no_proxy_fix (0.1.2)
|
95
|
+
nokogiri (1.13.8-x86_64-darwin)
|
96
|
+
racc (~> 1.4)
|
97
|
+
nokogiri (1.13.8-x86_64-linux)
|
98
|
+
racc (~> 1.4)
|
99
|
+
notiffany (0.1.3)
|
70
100
|
nenv (~> 0.1)
|
71
101
|
shellany (~> 0.0)
|
72
|
-
octokit (4.
|
73
|
-
|
102
|
+
octokit (4.25.1)
|
103
|
+
faraday (>= 1, < 3)
|
104
|
+
sawyer (~> 0.9)
|
74
105
|
open4 (1.3.4)
|
75
|
-
pry (0.
|
76
|
-
coderay (~> 1.1
|
77
|
-
method_source (~> 0
|
78
|
-
|
79
|
-
|
106
|
+
pry (0.14.1)
|
107
|
+
coderay (~> 1.1)
|
108
|
+
method_source (~> 1.0)
|
109
|
+
public_suffix (5.0.0)
|
110
|
+
racc (1.6.0)
|
80
111
|
rake (10.5.0)
|
81
|
-
rb-fsevent (0.
|
82
|
-
rb-inotify (0.
|
83
|
-
ffi (
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
rspec-
|
88
|
-
|
89
|
-
rspec-
|
90
|
-
rspec-
|
112
|
+
rb-fsevent (0.11.2)
|
113
|
+
rb-inotify (0.10.1)
|
114
|
+
ffi (~> 1.0)
|
115
|
+
rchardet (1.8.0)
|
116
|
+
rexml (3.2.5)
|
117
|
+
rspec (3.11.0)
|
118
|
+
rspec-core (~> 3.11.0)
|
119
|
+
rspec-expectations (~> 3.11.0)
|
120
|
+
rspec-mocks (~> 3.11.0)
|
121
|
+
rspec-core (3.11.0)
|
122
|
+
rspec-support (~> 3.11.0)
|
123
|
+
rspec-expectations (3.11.0)
|
91
124
|
diff-lcs (>= 1.2.0, < 2.0)
|
92
|
-
rspec-support (~> 3.
|
93
|
-
rspec-mocks (3.
|
125
|
+
rspec-support (~> 3.11.0)
|
126
|
+
rspec-mocks (3.11.1)
|
94
127
|
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
-
rspec-support (~> 3.
|
96
|
-
rspec-support (3.
|
97
|
-
|
98
|
-
|
99
|
-
|
128
|
+
rspec-support (~> 3.11.0)
|
129
|
+
rspec-support (3.11.0)
|
130
|
+
ruby2_keywords (0.0.5)
|
131
|
+
sawyer (0.9.2)
|
132
|
+
addressable (>= 2.3.5)
|
133
|
+
faraday (>= 0.17.3, < 3)
|
100
134
|
shellany (0.0.1)
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
yard (0.9.
|
135
|
+
terminal-table (3.0.2)
|
136
|
+
unicode-display_width (>= 1.1.1, < 3)
|
137
|
+
thor (1.2.1)
|
138
|
+
unicode-display_width (2.2.0)
|
139
|
+
webrick (1.7.0)
|
140
|
+
yard (0.9.28)
|
141
|
+
webrick (~> 1.7.0)
|
107
142
|
|
108
143
|
PLATFORMS
|
109
|
-
|
144
|
+
x86_64-darwin-21
|
145
|
+
x86_64-linux
|
110
146
|
|
111
147
|
DEPENDENCIES
|
112
|
-
bundler (~>
|
148
|
+
bundler (~> 2.3)
|
113
149
|
danger-junit_results!
|
114
|
-
guard (~> 2.
|
150
|
+
guard (~> 2.18)
|
115
151
|
guard-rspec (~> 4.7)
|
116
152
|
listen (= 3.0.7)
|
117
|
-
pry
|
153
|
+
pry (~> 0.13)
|
118
154
|
rake (~> 10.0)
|
119
155
|
rspec (~> 3.4)
|
120
156
|
yard (~> 0.8)
|
121
157
|
|
122
158
|
BUNDLED WITH
|
123
|
-
|
159
|
+
2.3.21
|
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0'
|
22
|
-
spec.add_runtime_dependency 'nokogiri'
|
22
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.13'
|
23
23
|
|
24
24
|
# General ruby development
|
25
|
-
spec.add_development_dependency 'bundler', '~>
|
25
|
+
spec.add_development_dependency 'bundler', '~> 2.3'
|
26
26
|
spec.add_development_dependency 'rake', '~> 10.0'
|
27
27
|
|
28
28
|
# Testing support
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency "yard", "~> 0.8"
|
33
33
|
|
34
34
|
# Makes testing easy via `bundle exec guard`
|
35
|
-
spec.add_development_dependency 'guard', '~> 2.
|
35
|
+
spec.add_development_dependency 'guard', '~> 2.18'
|
36
36
|
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
37
37
|
|
38
38
|
# If you want to work on older builds of ruby
|
@@ -43,5 +43,5 @@ Gem::Specification.new do |spec|
|
|
43
43
|
# require 'pry'
|
44
44
|
# binding.pry
|
45
45
|
# This will stop test execution and let you inspect the results
|
46
|
-
spec.add_development_dependency 'pry'
|
46
|
+
spec.add_development_dependency 'pry', '~> 0.13'
|
47
47
|
end
|
data/lib/junit_results/plugin.rb
CHANGED
@@ -14,9 +14,11 @@ module Danger
|
|
14
14
|
|
15
15
|
def initialize(arg)
|
16
16
|
super
|
17
|
+
@total_count = 0
|
17
18
|
@skipped_count = 0
|
18
19
|
@executed_count = 0
|
19
20
|
@failed_count = 0
|
21
|
+
@retried_count = 0
|
20
22
|
end
|
21
23
|
|
22
24
|
# Total number of tests.
|
@@ -39,6 +41,11 @@ module Danger
|
|
39
41
|
# @return [failed_count]
|
40
42
|
attr_reader :failed_count
|
41
43
|
|
44
|
+
# Total number of tests retried.
|
45
|
+
#
|
46
|
+
# @return [retried_count]
|
47
|
+
attr_reader :retried_count
|
48
|
+
|
42
49
|
# An array of XML elements of the failed tests.
|
43
50
|
#
|
44
51
|
# @return [Array<Nokogiri::XML::Element>]
|
@@ -51,13 +58,13 @@ module Danger
|
|
51
58
|
require 'nokogiri'
|
52
59
|
|
53
60
|
@doc = Nokogiri::XML(File.open(file_path))
|
54
|
-
|
55
|
-
@
|
61
|
+
groupedByName = @doc.xpath('//testcase').group_by { |x| "#{x.attr('classname')}.#{x.attr('name')}" }
|
62
|
+
@retried_count = groupedByName.reduce(0) { |sum, (key, value)| sum + (value.count - 1) }
|
63
|
+
@total_count = @doc.xpath('//testsuite').map { |x| x.attr('tests').to_i }.inject(0){ |sum, x| sum + x } - @retried_count
|
56
64
|
@skipped_count = @doc.xpath('//testsuite').map { |x| x.attr('skipped').to_i }.inject(0){ |sum, x| sum + x }
|
57
65
|
@executed_count = @total_count - @skipped_count
|
58
|
-
@
|
59
|
-
|
60
|
-
@failures = @doc.xpath('//failure')
|
66
|
+
@failures = groupedByName.map { |(key, value)| value.last().xpath('failure') }.select { |x| !x.empty?() }.flatten
|
67
|
+
@failed_count = @failures.count
|
61
68
|
|
62
69
|
return @failed_count <= 0
|
63
70
|
end
|
@@ -68,12 +75,15 @@ module Danger
|
|
68
75
|
def report
|
69
76
|
tests_executed_string = @executed_count == 1 ? "test" : "tests"
|
70
77
|
tests_failed_string = @failed_count == 1 ? "failure" : "failures"
|
78
|
+
tests_retried_string = @retried_count == 1 ? "retry" : "retries"
|
71
79
|
|
72
80
|
if @failed_count > 0
|
73
81
|
fail("Executed #{@executed_count}(#{@total_count}) #{tests_executed_string}, with **#{@failed_count}** #{tests_failed_string} 🚨")
|
74
82
|
@failures.each do |failure|
|
75
83
|
fail("`[#{failure.content.split("/").last}] [#{failure.parent['name']}] #{failure['message']}`")
|
76
84
|
end
|
85
|
+
elsif @retried_count > 0
|
86
|
+
message("Executed #{@executed_count}(#{@total_count}) #{tests_executed_string}, with #{@failed_count} #{tests_failed_string} and #{@retried_count} #{tests_retried_string} 🎉")
|
77
87
|
else
|
78
88
|
message("Executed #{@executed_count}(#{@total_count}) #{tests_executed_string}, with #{@failed_count} #{tests_failed_string} 🎉")
|
79
89
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<testsuites name='myProjectTests.xctest' tests='5' failures='1'>
|
3
|
+
<testsuite name='myProjectTests.RetryTests' tests='5' failures='1'>
|
4
|
+
<testcase classname='myProjectTests.RetryTests' name='testFail'>
|
5
|
+
<failure message='failed - hello world'>myProjectTests/RetryTests.swift:23</failure>
|
6
|
+
</testcase>
|
7
|
+
<testcase classname='myProjectTests.RetryTests' name='testFail' time='0.001'/>
|
8
|
+
<testcase classname='myProjectTests.RetryTests' name='testRegister' time='0.015'/>
|
9
|
+
<testcase classname='myProjectTests.RetryTests' name='testRegisterWithError' time='0.005'/>
|
10
|
+
<testcase classname='myProjectTests.RetryTests' name='testRegisterWithUserAlreadyExistsError' time='0.003'/>
|
11
|
+
</testsuite>
|
12
|
+
</testsuites>
|
data/spec/junit_results_spec.rb
CHANGED
@@ -73,6 +73,36 @@ module Danger
|
|
73
73
|
|
74
74
|
end
|
75
75
|
|
76
|
+
describe 'with retries' do
|
77
|
+
|
78
|
+
before do
|
79
|
+
@junit_results.parse("./spec/fixtures/junit-report-retries.xml")
|
80
|
+
end
|
81
|
+
|
82
|
+
it "has to parse tests" do
|
83
|
+
|
84
|
+
expect(@junit_results.total_count).to eq(4)
|
85
|
+
expect(@junit_results.skipped_count).to eq(0)
|
86
|
+
expect(@junit_results.executed_count).to eq(4)
|
87
|
+
expect(@junit_results.failed_count).to eq(0)
|
88
|
+
expect(@junit_results.retried_count).to eq(1)
|
89
|
+
expect(@junit_results.failures).to be_empty
|
90
|
+
expect(@dangerfile.status_report[:messages]).to be_empty
|
91
|
+
expect(@dangerfile.status_report[:warnings]).to be_empty
|
92
|
+
expect(@dangerfile.status_report[:errors]).to be_empty
|
93
|
+
expect(@dangerfile.status_report[:markdowns]).to be_empty
|
94
|
+
end
|
95
|
+
|
96
|
+
it "has to report successfully" do
|
97
|
+
expect(@junit_results.report).to be true
|
98
|
+
expect(@dangerfile.status_report[:messages].first).to eq("Executed 4(4) tests, with 0 failures and 1 retry 🎉")
|
99
|
+
expect(@dangerfile.status_report[:warnings]).to be_empty
|
100
|
+
expect(@dangerfile.status_report[:errors]).to be_empty
|
101
|
+
expect(@dangerfile.status_report[:markdowns]).to be_empty
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
105
|
+
|
76
106
|
end
|
77
107
|
end
|
78
108
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-junit_results
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valerio Mazzeo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|
@@ -28,30 +28,30 @@ dependencies:
|
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.13'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.13'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.3'
|
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: '
|
54
|
+
version: '2.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '2.
|
103
|
+
version: '2.18'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '2.
|
110
|
+
version: '2.18'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: guard-rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,16 +140,16 @@ dependencies:
|
|
140
140
|
name: pry
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
145
|
+
version: '0.13'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
152
|
+
version: '0.13'
|
153
153
|
description: Exposes test results summary with detailed failures, given a path to
|
154
154
|
a JUnit report file.
|
155
155
|
email:
|
@@ -158,8 +158,8 @@ executables: []
|
|
158
158
|
extensions: []
|
159
159
|
extra_rdoc_files: []
|
160
160
|
files:
|
161
|
+
- ".github/workflows/ruby.yml"
|
161
162
|
- ".gitignore"
|
162
|
-
- ".travis.yml"
|
163
163
|
- Gemfile
|
164
164
|
- Gemfile.lock
|
165
165
|
- Guardfile
|
@@ -172,6 +172,7 @@ files:
|
|
172
172
|
- lib/junit_results/gem_version.rb
|
173
173
|
- lib/junit_results/plugin.rb
|
174
174
|
- spec/fixtures/junit-report-failures.xml
|
175
|
+
- spec/fixtures/junit-report-retries.xml
|
175
176
|
- spec/fixtures/junit-report.xml
|
176
177
|
- spec/junit_results_spec.rb
|
177
178
|
- spec/spec_helper.rb
|
@@ -179,7 +180,7 @@ homepage: https://github.com/valeriomazzeo/danger-junit_results
|
|
179
180
|
licenses:
|
180
181
|
- MIT
|
181
182
|
metadata: {}
|
182
|
-
post_install_message:
|
183
|
+
post_install_message:
|
183
184
|
rdoc_options: []
|
184
185
|
require_paths:
|
185
186
|
- lib
|
@@ -194,14 +195,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
195
|
- !ruby/object:Gem::Version
|
195
196
|
version: '0'
|
196
197
|
requirements: []
|
197
|
-
|
198
|
-
|
199
|
-
signing_key:
|
198
|
+
rubygems_version: 3.1.6
|
199
|
+
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: Exposes test results summary with detailed failures, given a path to a JUnit
|
202
202
|
report file.
|
203
203
|
test_files:
|
204
204
|
- spec/fixtures/junit-report-failures.xml
|
205
|
+
- spec/fixtures/junit-report-retries.xml
|
205
206
|
- spec/fixtures/junit-report.xml
|
206
207
|
- spec/junit_results_spec.rb
|
207
208
|
- spec/spec_helper.rb
|