Skip to content

Commit

Permalink
Merge branch 'master' of github.com:danmayer/coverband
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayer committed Aug 11, 2020
2 parents f5201c9 + 48eaa7f commit 6180a58
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/coverband/reporters/web.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "coverband"

begin
require "rack"
rescue LoadError
Expand All @@ -11,10 +13,6 @@ module Reporters
class Web
attr_reader :request

def initialize
init_web
end

def init_web
full_path = Gem::Specification.find_by_name("coverband").full_gem_path
@static = Rack::Static.new(self,
Expand Down

0 comments on commit 6180a58

Please sign in to comment.