dev-ruby/
public_suffix

Parse and decompose a domain name into top level domain, domain and subdomains

https://simonecarletti.com/code/publicsuffix-ruby/

The dependencies are regularly computed based on the qa-reports.