Skip to content

Commit

Permalink
Fix deprecations and warnings
Browse files Browse the repository at this point in the history
[Fixes #167]
  • Loading branch information
BrianHawley committed Jan 3, 2020
1 parent ec6bc1d commit e6a7709
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ pkg/*
# YARD
.yardoc
yardoc/

# ruby version and gemset
.ruby-version
.ruby-gemset
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 e6a7709

Please sign in to comment.