-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from Sgiath/add-7-dot-domains
Add support for domains with 7 dots
- Loading branch information
Showing
14 changed files
with
237 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
inputs: ["*.exs", "{config,lib,test}/**/*.{ex,exs}"] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
erlang 26.1.1 | ||
elixir 1.15.6-otp-26 | ||
erlang 26.2.1 | ||
elixir 1.16.0-otp-26 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Changelog | ||
|
||
## 3.0.4 | ||
|
||
- Fix issue with new, even longer domains from public_suffix_list.dat @Sgiath | ||
|
||
## 3.0.3 | ||
|
||
- Fix issue with new, longer domains from public_suffix_list.dat @fabiokr | ||
|
||
## 3.0.1 | ||
|
||
- Resolve warnings about SSL and `Mix.Config` being deprecated. | ||
|
||
## 3.0.0 | ||
|
||
- Breaking change: default to including private domains. `:include_private == false` is still | ||
respected (but defaults to false), and a new env var `:icann_only` is added and defaults to | ||
false. | ||
|
||
## 2.4.0 | ||
|
||
- Support disabling compile time http request with `:fetch_latest` config (thanks @s3cur3 for | ||
the PR!) | ||
|
||
## 2.3.0 | ||
|
||
- Bump deps | ||
|
||
## 2.2.0 | ||
|
||
- Use `Logger` for logging | ||
|
||
## 2.1.4 | ||
|
||
- Pin a version of `nimble_parsec` to fix a compilation error on `makeup` (`makeup` has fixed | ||
this downstream, so when `ex_doc` updates `makeup`, this will no longer be required) | ||
|
||
## 2.1.3 | ||
|
||
- Merge a couple of minor PRs | ||
|
||
## 2.1.2 | ||
|
||
- Improve tests and docs slightly | ||
|
||
## 2.1.1 | ||
|
||
- Privatize `Domainatrex.match/n` and `Domainatrex.format_response/2` as they are only ever | ||
intended for internal use | ||
|
||
## 2.1.0 | ||
|
||
- Better handle private domains. Private domains like `*.s3.amazonaws.com` are technically | ||
classed as TLDs (to my understanding?), it doesn't make a lot of sense to parse them this way. | ||
- Fetch a new copy of the public suffix list from The Internet on compile, falling back to a | ||
(now updated!) local copy. | ||
|
||
## 2.0.0 | ||
|
||
- Change the API from returning explicit results to {:ok, result} or {:error, result}. This is to | ||
be more uniform with other libraries I use and for better `with` usage. Sorry if this fucks up | ||
your day. | ||
|
||
## 1.0.1 | ||
|
||
- Fully update the tests to reflect changes in `2.0.0` (thanks for the PR @pbonney!) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,5 @@ | ||
# This file is responsible for configuring your application | ||
# and its dependencies with the aid of the Mix.Config module. | ||
import Config | ||
|
||
# This configuration is loaded before any dependency and is restricted | ||
# to this project. If another project depends on this project, this | ||
# file won't be loaded nor affect the parent project. For this reason, | ||
# if you want to provide default values for your application for | ||
# 3rd-party users, it should be done in your "mix.exs" file. | ||
|
||
# You can configure for your application as: | ||
# | ||
# config :domainatrex, key: :value | ||
# | ||
# And access this configuration in your application as: | ||
# | ||
# Application.get_env(:domainatrex, :key) | ||
# | ||
# Or configure a 3rd-party app: | ||
# | ||
# config :logger, level: :info | ||
# | ||
|
||
# It is also possible to import configuration files, relative to this | ||
# directory. For example, you can emulate configuration per environment | ||
# by uncommenting the line below and defining dev.exs, test.exs and such. | ||
# Configuration from the imported file will override the ones defined | ||
# here (which is why it is important to import them last). | ||
# | ||
import_config "#{Mix.env}.exs" | ||
if config_env() == :test do | ||
config :domainatrex, custom_suffixes: ["localhost"] | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.