Sha256: 1649624dd53052eb3466682e023975e10e9de900b2b43c02a361c2644c475205

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

require_relative "bubbler_ruby/version"
require_relative "bubbler_ruby/api"

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bubbler_ruby-0.1.3 lib/bubbler_ruby.rb
bubbler_ruby-0.1.2 lib/bubbler_ruby.rb
bubbler_ruby-0.1.1 lib/bubbler_ruby.rb