Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
kovid (0.6.14)
kovid (0.6.15)
carmen (~> 1.1.3)
rainbow (~> 3.0)
terminal-table (~> 1.8)
Expand All @@ -11,23 +11,23 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.1)
activesupport (6.1.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
carmen (1.1.3)
activesupport (>= 3.0.0)
concurrent-ruby (1.1.6)
concurrent-ruby (1.1.9)
diff-lcs (1.3)
docile (1.3.2)
ethon (0.12.0)
ffi (>= 1.3.0)
ffi (1.13.0)
i18n (1.8.3)
ethon (0.15.0)
ffi (>= 1.15.0)
ffi (1.15.4)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
minitest (5.14.1)
minitest (5.14.4)
rainbow (3.0.0)
rake (12.3.3)
rspec (3.9.0)
Expand All @@ -49,14 +49,13 @@ GEM
simplecov-html (0.12.2)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thor (1.0.1)
thread_safe (0.3.6)
thor (1.1.0)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-display_width (1.7.0)
zeitwerk (2.3.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
zeitwerk (2.4.2)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/kovid/uri_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Kovid
class UriBuilder
attr_reader :path

BASE_URI = 'corona.lmao.ninja'
BASE_URI = 'disease.sh'

def initialize(path = '')
@path = path
Expand Down
2 changes: 1 addition & 1 deletion spec/kovid_uri_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
it 'returns a string URL given a path' do
builder = Kovid::UriBuilder.new('/hello').url

expect(builder).to eq('https://corona.lmao.ninja/hello')
expect(builder).to eq('https://disease.sh/hello')
end
end