Sha256: be29937e352896e94d294956ecc65cb16b956a3f6d71d9b1a890b3b21a8c148b

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require_relative "bubbler/version"
require_relative "bubbler/api"

module Bubbler
  class Error < StandardError; end
  require 'bubbler/railtie' if defined?(Rails)

  def self.upload
    require 'simplecov'
    results = ::SimpleCov::ResultMerger.merged_result
    Api.post(results)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bubbler_ruby-0.1.0 lib/bubbler.rb