rspec-github-actions-summary 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ff4408c92d27ae07386c68ab3865546d124decb0b48fe61f1064dea604c4b719
4
+ data.tar.gz: 7ba4447c9109e7a0fa5f3e1881bbb72d6ddf8df00d744c66477f3cbb209040d9
5
+ SHA512:
6
+ metadata.gz: cd25ef0fd64d5901782059c0b615e0c57465be381b2d6160a0dcf6a717c51559dee87b1cc63c7b852c76c97f0d2a39e24b732766dff6e57a83bbd81c9d1a607a
7
+ data.tar.gz: b129bb27491af82a4e77a4caf875758ee4a6962f7df2480789bb108a8bd28b655e9400037d9c957c176f526ea76bff2abe84af43e32db6bbd63f4f9868949047
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --format documentation
2
+ --format RspecGithubActionsSummary
3
+ --color
4
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,41 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ require:
5
+ - rubocop-rspec
6
+ - rubocop-rake
7
+
8
+ Style/StringLiterals:
9
+ Enabled: true
10
+ EnforcedStyle: single_quotes
11
+
12
+ Style/StringLiteralsInInterpolation:
13
+ Enabled: true
14
+ EnforcedStyle: double_quotes
15
+
16
+ RSpec/MultipleMemoizedHelpers:
17
+ Enabled: false
18
+
19
+ Layout/LineLength:
20
+ Max: 120
21
+
22
+ Metrics/BlockLength:
23
+ Enabled: false
24
+
25
+ Naming/MethodParameterName:
26
+ Enabled: false
27
+
28
+ RSpec/ExpectInHook:
29
+ Enabled: false
30
+
31
+ Style/Documentation:
32
+ Enabled: false
33
+
34
+ RSpec/MessageSpies:
35
+ Enabled: false
36
+
37
+ RSpec/AnyInstance:
38
+ Enabled: false
39
+
40
+ RSpec/StubbedMock:
41
+ Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-05-17
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at gore.sebyx@yahoo.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in rspec_github_actions_summary.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rspec', '~> 3.0'
11
+
12
+ gem 'rubocop', '~> 1.21'
data/Gemfile.lock ADDED
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rspec-github-actions-summary (0.1.0)
5
+ rggen-core
6
+ rggen-markdown
7
+ rspec (>= 2.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ast (2.4.2)
13
+ diff-lcs (1.5.0)
14
+ docile (1.4.0)
15
+ erubi (1.10.0)
16
+ facets (3.1.0)
17
+ parallel (1.22.1)
18
+ parser (3.1.2.0)
19
+ ast (~> 2.4.1)
20
+ rainbow (3.1.1)
21
+ rake (13.0.6)
22
+ regexp_parser (2.4.0)
23
+ rexml (3.2.5)
24
+ rggen-core (0.26.0)
25
+ docile (>= 1.1.5, != 1.3.3)
26
+ erubi (>= 1.7)
27
+ facets (>= 3.0)
28
+ tomlrb (>= 2.0)
29
+ rggen-markdown (0.22.0)
30
+ rspec (3.11.0)
31
+ rspec-core (~> 3.11.0)
32
+ rspec-expectations (~> 3.11.0)
33
+ rspec-mocks (~> 3.11.0)
34
+ rspec-core (3.11.0)
35
+ rspec-support (~> 3.11.0)
36
+ rspec-expectations (3.11.0)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.11.0)
39
+ rspec-mocks (3.11.1)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.11.0)
42
+ rspec-support (3.11.0)
43
+ rubocop (1.29.1)
44
+ parallel (~> 1.10)
45
+ parser (>= 3.1.0.0)
46
+ rainbow (>= 2.2.2, < 4.0)
47
+ regexp_parser (>= 1.8, < 3.0)
48
+ rexml (>= 3.2.5, < 4.0)
49
+ rubocop-ast (>= 1.17.0, < 2.0)
50
+ ruby-progressbar (~> 1.7)
51
+ unicode-display_width (>= 1.4.0, < 3.0)
52
+ rubocop-ast (1.17.0)
53
+ parser (>= 3.1.1.0)
54
+ rubocop-rake (0.6.0)
55
+ rubocop (~> 1.0)
56
+ rubocop-rspec (2.10.0)
57
+ rubocop (~> 1.19)
58
+ ruby-progressbar (1.11.0)
59
+ tomlrb (2.0.1)
60
+ unicode-display_width (2.1.0)
61
+
62
+ PLATFORMS
63
+ x86_64-linux
64
+
65
+ DEPENDENCIES
66
+ rake (~> 13.0)
67
+ rspec (~> 3.0)
68
+ rspec-github-actions-summary!
69
+ rubocop (~> 1.21)
70
+ rubocop-rake
71
+ rubocop-rspec
72
+
73
+ BUNDLED WITH
74
+ 2.3.13
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 sebi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,68 @@
1
+ # RSpec Github Actions Summary
2
+
3
+ Github Actions Summary for RSpec, works with or without rails.
4
+
5
+ ## Sample
6
+
7
+ # Test results
8
+
9
+ |Test Result|Passed ✅|Failed ❌|Skipped 🔃|Total|Time duration ⏰|
10
+ |:--|:--|:--|:--|:--|:--|
11
+ |❌ Failed|2|1|1|4|10 seconds|
12
+
13
+ ---
14
+ ## Failed specs
15
+ ```bash
16
+ bin/rspec path_to_spec # Example description
17
+ ```
18
+
19
+ ---
20
+ Job run summary generated at run-time by [RSpec Github Actions Summary](https://github.com/sebyx07/rspec-github-actions-summary)
21
+
22
+ ## Installation
23
+
24
+ Install the gem and add to the application's Gemfile by executing:
25
+
26
+ $ bundle add rspec_github_actions_summary
27
+
28
+ If bundler is not being used to manage dependencies, install the gem by executing:
29
+
30
+ $ gem install rspec_github_actions_summary
31
+
32
+ ## Usage
33
+
34
+ ```ruby
35
+ # inside your spec_helper.rb, not necessary for rails
36
+ require 'rspec_github_actions_summary'
37
+ ```
38
+
39
+ ```
40
+ # inside your .rspec
41
+ --format RspecGithubActionsSummary
42
+ ```
43
+
44
+ ```yaml
45
+ # inside .github/workflows/your-workflow.yml
46
+ - name: RSpec
47
+ run: |
48
+ bundle exec rspec
49
+ bundle exec rspec-gh-summary >> $GITHUB_STEP_SUMMARY
50
+ ```
51
+
52
+ ## Development
53
+
54
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
55
+
56
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
57
+
58
+ ## Contributing
59
+
60
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rspec_github_actions_summary. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/rspec_github_actions_summary/blob/master/CODE_OF_CONDUCT.md).
61
+
62
+ ## License
63
+
64
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
65
+
66
+ ## Code of Conduct
67
+
68
+ Everyone interacting in the RspecGithubActionsSummary project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/rspec_github_actions_summary/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'rspec_github_actions_summary/output'
6
+ print RspecGithubActionsSummary::Output.new.output
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RspecGithubActionsSummary
4
+ class ExampleGroup
5
+ attr_reader :file_path
6
+
7
+ def initialize(file_path)
8
+ @file_path = file_path
9
+ end
10
+
11
+ def write_row
12
+ [
13
+ passed? ? '✅ Pass' : '❌ Failed',
14
+ json['passed_specs'],
15
+ json['failed_specs'],
16
+ json['skipped_specs'],
17
+ json['total_specs'],
18
+ duration
19
+ ]
20
+ end
21
+
22
+ def render_failed_examples
23
+ return [] if json['failed'].empty?
24
+
25
+ json['failed'].map do |j|
26
+ "bin/rspec #{j["path"]} # #{j["desc"]}"
27
+ end
28
+ end
29
+
30
+ private
31
+
32
+ def duration
33
+ helper_humanize_secs(json['duration'])
34
+ end
35
+
36
+ def passed?
37
+ json['failed_specs'].zero?
38
+ end
39
+
40
+ def json
41
+ @json ||= JSON.parse(File.read(file_path))
42
+ end
43
+
44
+ def helper_humanize_secs(secs)
45
+ [[60, :seconds], [60, :minutes], [24, :hours], [Float::INFINITY, :days]].map do |count, name|
46
+ next unless secs.positive?
47
+
48
+ secs, n = secs.divmod(count)
49
+
50
+ "#{n.to_i} #{name}" unless n.to_i.zero?
51
+ end.compact.reverse.join(' ')
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rggen/core'
4
+ require 'rggen/markdown'
5
+ require_relative './temp_file_result'
6
+ require_relative './example_group'
7
+
8
+ class RspecGithubActionsSummary
9
+ class Output
10
+ class NoOutputFiles < StandardError; end
11
+
12
+ def write
13
+ print output
14
+ end
15
+
16
+ def output
17
+ <<~MD
18
+ # Test results
19
+
20
+ #{results_table}
21
+
22
+ #{failed_examples}
23
+ ---
24
+ Job run summary generated at run-time by [RSpec Github Actions Summary](https://github.com/sebyx07/rspec-github-actions-summary)
25
+ MD
26
+ end
27
+
28
+ private
29
+
30
+ def results_table
31
+ RgGen::Markdown::Utility::TableFormatter.new.format(table_labels, table_rows)
32
+ end
33
+
34
+ def table_rows
35
+ example_groups.map(&:write_row)
36
+ end
37
+
38
+ def example_groups
39
+ return @example_groups if defined? @example_groups
40
+
41
+ dir_path = RspecGithubActionsSummary::TempFileResult.root_path
42
+
43
+ files = Dir.glob(dir_path.join('*.json')).select { |f| File.file? f }
44
+ raise NoOutputFiles, "No files found in #{dir_path}" if files.empty?
45
+
46
+ @example_groups = files.map { |f| RspecGithubActionsSummary::ExampleGroup.new(f) }
47
+ end
48
+
49
+ def table_labels
50
+ ['Test Result', 'Passed ✅', 'Failed ❌', 'Skipped 🔃', 'Total', 'Time duration ⏰']
51
+ end
52
+
53
+ def failed_examples
54
+ lines = example_groups.map(&:render_failed_examples).flatten
55
+ return if lines.blank?
56
+
57
+ <<~MD
58
+ ---
59
+ ## Failed specs
60
+ ```bash
61
+ #{lines.uniq.sort.join("\n")}
62
+ ```
63
+ MD
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'digest'
4
+
5
+ class RspecGithubActionsSummary
6
+ class TempFileResult
7
+ attr_reader :notification
8
+
9
+ def initialize(notification)
10
+ @notification = notification
11
+ end
12
+
13
+ def write!
14
+ FileUtils.mkdir_p([root_path])
15
+
16
+ File.open(path, 'w') do |f|
17
+ f.write(result.to_json)
18
+ end
19
+ end
20
+
21
+ def self.root_path
22
+ return @root_path if defined? @root_path
23
+
24
+ current_path_hash = Digest::MD5.hexdigest(Dir.pwd)
25
+ @root_path = Pathname.new("/tmp/.rspec-github-summary/#{current_path_hash}/")
26
+ end
27
+
28
+ private
29
+
30
+ def total
31
+ @total ||= notification.examples.size
32
+ end
33
+
34
+ def passed
35
+ total - failed - skipped_specs
36
+ end
37
+
38
+ def failed
39
+ @failed ||= notification.failed_examples.size
40
+ end
41
+
42
+ def path
43
+ root_path.join("result#{ENV["TEST_ENV_NUMBER"]}.json")
44
+ end
45
+
46
+ def root_path
47
+ self.class.root_path
48
+ end
49
+
50
+ def skipped_specs
51
+ notification.pending_examples.size
52
+ end
53
+
54
+ def result
55
+ {
56
+ total_specs: total,
57
+ passed_specs: passed,
58
+ failed_specs: failed,
59
+ skipped_specs: skipped_specs,
60
+ duration: notification.duration.ceil,
61
+ failed: notification.failed_examples.map do |ex|
62
+ format_failed_example(ex)
63
+ end
64
+ }
65
+ end
66
+
67
+ def format_failed_example(ex)
68
+ {
69
+ path: notification.send(:rerun_argument_for, ex),
70
+ desc: ex.full_description
71
+ }
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RspecGithubActionsSummary
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rspec/core/formatters'
4
+ require_relative 'rspec_github_actions_summary/version'
5
+ require_relative 'rspec_github_actions_summary/output'
6
+
7
+ class RspecGithubActionsSummary
8
+ class Error < StandardError; end
9
+ RSpec::Core::Formatters.register self, :dump_summary
10
+
11
+ def initialize(output)
12
+ @output = output
13
+ end
14
+
15
+ def dump_summary(notification)
16
+ RspecGithubActionsSummary::TempFileResult.new(notification).write!
17
+ end
18
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/rspec_github_actions_summary/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'rspec-github-actions-summary'
7
+ spec.version = RspecGithubActionsSummary::VERSION
8
+ spec.authors = ['seb']
9
+ spec.email = ['gore.sebyx@yahoo.com']
10
+
11
+ spec.summary = 'RSpec formatter for Github Actions Summary'
12
+ spec.description = 'RSpec formatter for Github Actions Summary'
13
+ spec.homepage = 'https://github.com/sebyx07/rspec-github-actions-summary'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 2.6.0'
16
+
17
+ # spec.metadata['allowed_push_host'] = "TODO: Set to your gem server 'https://example.com'"
18
+
19
+ spec.metadata['homepage_uri'] = spec.homepage
20
+ spec.metadata['source_code_uri'] = spec.homepage
21
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(__dir__) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.bindir = 'exe'
31
+ spec.executables = ['rspec-gh-summary']
32
+ spec.require_paths = ['lib']
33
+
34
+ spec.add_development_dependency 'rubocop', '>= 1.0.0'
35
+ spec.add_development_dependency 'rubocop-rake'
36
+ spec.add_development_dependency 'rubocop-rspec'
37
+ spec.add_runtime_dependency 'rggen-core'
38
+ spec.add_runtime_dependency 'rggen-markdown'
39
+ spec.add_runtime_dependency 'rspec', '>= 2.0'
40
+
41
+ # Uncomment to register a new dependency of your gem
42
+ # spec.add_dependency "example-gem", "~> 1.0"
43
+
44
+ # For more information and examples about making a new gem, check out our
45
+ # guide at: https://bundler.io/guides/creating_gem.html
46
+ end
@@ -0,0 +1,4 @@
1
+ module RspecGithubActionsSummary
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,148 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rspec-github-actions-summary
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - seb
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-05-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rggen-core
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rggen-markdown
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ description: RSpec formatter for Github Actions Summary
98
+ email:
99
+ - gore.sebyx@yahoo.com
100
+ executables:
101
+ - rspec-gh-summary
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".rspec"
106
+ - ".rubocop.yml"
107
+ - CHANGELOG.md
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - Gemfile.lock
111
+ - LICENSE.txt
112
+ - README.md
113
+ - Rakefile
114
+ - exe/rspec-gh-summary
115
+ - lib/rspec_github_actions_summary.rb
116
+ - lib/rspec_github_actions_summary/example_group.rb
117
+ - lib/rspec_github_actions_summary/output.rb
118
+ - lib/rspec_github_actions_summary/temp_file_result.rb
119
+ - lib/rspec_github_actions_summary/version.rb
120
+ - rspec_github_actions_summary.gemspec
121
+ - sig/rspec_github_actions_summary.rbs
122
+ homepage: https://github.com/sebyx07/rspec-github-actions-summary
123
+ licenses:
124
+ - MIT
125
+ metadata:
126
+ homepage_uri: https://github.com/sebyx07/rspec-github-actions-summary
127
+ source_code_uri: https://github.com/sebyx07/rspec-github-actions-summary
128
+ changelog_uri: https://github.com/sebyx07/rspec-github-actions-summary/blob/main/CHANGELOG.md
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 2.6.0
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubygems_version: 3.1.6
145
+ signing_key:
146
+ specification_version: 4
147
+ summary: RSpec formatter for Github Actions Summary
148
+ test_files: []