publicsuffix-ruby
publicsuffix-ruby copied to clipboard
Domain name parser for Ruby based on the Public Suffix List.
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
I'm filing this for discussion. This patch is a massive performance improvement over 3.0.0. Given a data set that takes 100 seconds on 3.0.0, it will only take 23 seconds...
It can be a bit redundant to always pass `default_rule: nil` when validating domains if your use case never needs it.
If your environment fails to specify UTF-8, Ruby defaults to US-ASCII and when public_suffix try to parse the list data, it fails: ``` ruby $ LANG= LANGUAGE= LC_ALL= LC_CTYPE= irb...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
Current implementation of **select()** searches for longest matching TLDs from the right end all the way to the left end. This approach is necessary to handle edge cases like **example.s3.cn-north-1.amazonaws.com.cn**,...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7. Release notes Sourced from peter-evans/create-pull-request's releases. Create Pull Request v7.0.0 :sparkles: Now supports commit signing with bot-generated tokens! See "What's new" below. :writing_hand::robot: Behaviour...