Sha256: 2554c7dbe6deb03860e138ebd27f3d48424f72a2b753c342bed95d3ef267792b

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

require 'rspec/core/formatters'
require_relative 'rspec_github_actions_summary/version'
require_relative 'rspec_github_actions_summary/output'

class RspecGithubActionsSummary
  class Error < StandardError; end
  RSpec::Core::Formatters.register self, :dump_summary

  def initialize(output)
    @output = output
  end

  def dump_summary(notification)
    RspecGithubActionsSummary::TempFileResult.new(notification).write!
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-github-actions-summary-0.1.0 lib/rspec_github_actions_summary.rb