Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayer committed Aug 29, 2020
1 parent f7f4787 commit 5d75af1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/coverband/configuration.rb
Expand Up @@ -141,7 +141,7 @@ def store
def store=(store)
raise "Pass in an instance of Coverband::Adapters" unless store.is_a?(Coverband::Adapters::Base)
raise "invalid configuration: only coverband service expects an API Key" if api_key && store.class.to_s != "Coverband::Adapters::WebServiceStore"
raise "invalid configuration: coverband service shouldn't have redis url set" if redis_url && store.class.to_s == "Coverband::Adapters::WebServiceStore"
raise "invalid configuration: coverband service shouldn't have redis url set" if ENV["COVERBAND_REDIS_URL"] && store.class.to_s == "Coverband::Adapters::WebServiceStore"

@store = store
end
Expand Down
2 changes: 1 addition & 1 deletion lib/coverband/version.rb
Expand Up @@ -5,5 +5,5 @@
# use format '4.2.1.rc.1' ~> 4.2.1.rc to prerelease versions like v4.2.1.rc.2 and v4.2.1.rc.3
###
module Coverband
VERSION = "5.0.0.rc.6"
VERSION = "5.0.0.rc.7"
end

0 comments on commit 5d75af1

Please sign in to comment.