Skip to content

Commit

Permalink
Fix deprecations and warnings
Browse files Browse the repository at this point in the history
[Fixes weppos#167]
  • Loading branch information
BrianHawley committed Jan 4, 2020
1 parent ec6bc1d commit 1446307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/public_suffix/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class List
#
# @return [PublicSuffix::List]
def self.default(**options)
@default ||= parse(File.read(DEFAULT_LIST_PATH), options)
@default ||= parse(File.read(DEFAULT_LIST_PATH), **options)
end

# Sets the default rule list to +value+.
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

require "minitest/autorun"
require "minitest/reporters"
require "mocha/setup"
require "mocha/minitest"

Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)

Expand Down

0 comments on commit 1446307

Please sign in to comment.