Skip to content

Commit

Permalink
Dropped support for Ruby < 2.1
Browse files Browse the repository at this point in the history
It doesn't support keyword arguments with no default, and proper memory
profiling.
  • Loading branch information
weppos committed Feb 9, 2017
1 parent 2a79a0f commit c6560dc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: ruby

rvm:
- 2.0
- 2.1
- 2.2
- 2.3.3
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#### master

- CHANGED: Dropped support for Ruby < 2.1
- CHANGED: `PublicSuffix::List#rules` is now protected. You should not rely on it as the internal rule representation is subject to change to optimize performances.
- CHANGED: Removed `PublicSuffix::List.clear`, it was an unnecessary accessor method. Use `PublicSuffix::List.default = nil` if you **really** need to reset the default list. You shouldn't.
- CHANGED: `PublicSuffix::List#select` is now private. You should not use it, instead use ``PublicSuffix::List#find`.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ gem "minitest"
gem "minitest-reporters"
gem "rubocop", require: false

gem "memory_profiler", require: false if !RUBY_VERSION.start_with?("2.0")
gem "memory_profiler", require: false
2 changes: 1 addition & 1 deletion public_suffix.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.description = "PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains."
s.licenses = ["MIT"]

s.required_ruby_version = ">= 2.0"
s.required_ruby_version = ">= 2.1"

s.require_paths = ["lib"]
s.files = `git ls-files`.split("\n")
Expand Down

0 comments on commit c6560dc

Please sign in to comment.