Skip to content

Commit

Permalink
Introduction of 0.89.2
Browse files Browse the repository at this point in the history
This patch introduce a hard review of the way we invalidate or validate a domain before launching the test logic.
  • Loading branch information
funilrys committed Jul 31, 2018
1 parent d542045 commit 0e61b8f
Show file tree
Hide file tree
Showing 39 changed files with 87 additions and 87 deletions.
10 changes: 5 additions & 5 deletions .PyFunceble_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,12 @@ http_codes:
links:
api_date_format: "http://pyfunceble.funilrys.com/api/date-format"
api_no_referer: "http://pyfunceble.funilrys.com/api/no-referer"
config: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.PyFunceble_production.yaml"
dir_structure: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/dir_structure_production.json"
iana: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/iana-domains-db.json"
config: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/.PyFunceble_production.yaml"
dir_structure: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/dir_structure_production.json"
iana: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/iana-domains-db.json"
repo: "https://github.com/funilrys/PyFunceble"
requirements: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/requirements.txt"
script: "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/PyFunceble.py"
requirements: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/requirements.txt"
script: "https://raw.githubusercontent.com/funilrys/PyFunceble/master/PyFunceble.py"

counter:
number:
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ matrix:

install:
- pip3 install --upgrade pip
- pip3 install pyfunceble-dev
- pip3 install pyfunceble
- pip3 install pylint coverage coveralls pip-autoremove

script:
# Everything is into one line because we want the test to fail if one of those command fails.
- PyFunceble -ex -d github.com && PyFunceble -ex -f .travis/list_to_test && PyFunceble -ex --adblock -f .travis/adblock_to_test
- pip-autoremove pyfunceble-dev -y && coverage run setup.py test && python3 setup.py install && PyFunceble -ex -d github.com && PyFunceble -ex -f .travis/list_to_test && PyFunceble -ex --adblock -f .travis/adblock_to_test
- pip-autoremove pyfunceble -y && coverage run setup.py test && python3 setup.py install && PyFunceble -ex -d github.com && PyFunceble -ex -f .travis/list_to_test && PyFunceble -ex --adblock -f .travis/adblock_to_test
- echo "Lint PyFunceble" && pylint PyFunceble && echo "Lint tests" && pylint tests/*.py

after_success:
Expand Down
10 changes: 5 additions & 5 deletions PyFunceble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down Expand Up @@ -76,7 +76,7 @@
from PyFunceble.publicsuffix import PublicSuffix

CURRENT_DIRECTORY = getcwd() + directory_separator
VERSION = "0.89.1.dev-beta"
VERSION = "0.89.2.beta"

DEFAULT_CONFIGURATION_FILENAME = ".PyFunceble_production.yaml"
CONFIGURATION_FILENAME = ".PyFunceble.yaml"
Expand Down Expand Up @@ -150,12 +150,12 @@ def _command_line(): # pragma: no cover pylint: disable=too-many-branches,too-m
+ "with the help of "
+ Style.BRIGHT
+ Fore.GREEN
+ "https://pyfunceble.rtfd.io/en/dev/contributors.html "
+ "https://pyfunceble.rtfd.io/en/master/contributors.html "
+ Style.RESET_ALL
+ "&& "
+ Style.BRIGHT
+ Fore.GREEN
+ "https://pyfunceble.rtfd.io/en/dev/special-thanks.html",
+ "https://pyfunceble.rtfd.io/en/master/special-thanks.html",
),
add_help=False,
)
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/auto_continue.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/auto_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
12 changes: 6 additions & 6 deletions PyFunceble/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down Expand Up @@ -185,7 +185,7 @@ def _install_production_config(self):
The path were we have to install the configuration file.
"""

production_config_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.PyFunceble_production.yaml" # pylint: disable=line-too-long
production_config_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/master/.PyFunceble_production.yaml" # pylint: disable=line-too-long

if "dev" in PyFunceble.VERSION:
production_config_link = production_config_link.replace("master", "dev")
Expand All @@ -200,7 +200,7 @@ def _install_iana_config(cls):
This method download `iana-domains-db.json` if not present.
"""

iana_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/iana-domains-db.json" # pylint: disable=line-too-long
iana_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/master/iana-domains-db.json" # pylint: disable=line-too-long
destination = PyFunceble.CURRENT_DIRECTORY + "iana-domains-db.json"

if "dev" in PyFunceble.VERSION:
Expand All @@ -219,7 +219,7 @@ def _install_psl_config(cls):
This method download `public-suffix.json` if not present.
"""

psl_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/dev/public-suffix.json"
psl_link = "https://raw.githubusercontent.com/funilrys/PyFunceble/master/public-suffix.json"
destination = (
PyFunceble.CURRENT_DIRECTORY
+ PyFunceble.CONFIGURATION["outputs"]["default_files"]["public_suffix"]
Expand Down Expand Up @@ -251,7 +251,7 @@ def __init__(self, used=False):
self.local_splited = self.split_versions(PyFunceble.VERSION)

upstream_link = (
"https://raw.githubusercontent.com/funilrys/PyFunceble/dev/version.yaml"
"https://raw.githubusercontent.com/funilrys/PyFunceble/master/version.yaml"
) # pylint: disable=line-too-long

if "dev" in PyFunceble.VERSION:
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/directory_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/execution_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/expiration_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/http_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/iana.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/percentage.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/prints.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/referer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions PyFunceble/url.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom
Special thanks:
https://pyfunceble.readthedocs.io/en/dev/special-thanks.html
https://pyfunceble.readthedocs.io/en/master/special-thanks.html
Contributors:
http://pyfunceble.readthedocs.io/en/dev/special-thanks.html
http://pyfunceble.readthedocs.io/en/master/special-thanks.html
Project link:
https://github.com/funilrys/PyFunceble
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
![](https://raw.githubusercontent.com/funilrys/PyFunceble/dev/.assets/logo/RM.png)
![](https://raw.githubusercontent.com/funilrys/PyFunceble/master/.assets/logo/RM.png)

## The tool to check domains or IP availability


[![Build Status](https://travis-ci.com/funilrys/PyFunceble.svg?branch=dev)](https://travis-ci.com/funilrys/PyFunceble) [![Coverage Status](https://coveralls.io/repos/github/funilrys/PyFunceble/badge.svg?branch=dev)](https://coveralls.io/github/funilrys/PyFunceble?branch=dev) [![license](https://img.shields.io/github/license/funilrys/PyFunceble.svg)](https://github.com/funilrys/PyFunceble/blob/dev/LICENSE) [![GitHub release](https://img.shields.io/github/release/funilrys/PyFunceble.svg)](https://github.com/funilrys/PyFunceble/releases/latest) [![GitHub issues open](https://img.shields.io/github/issues/funilrys/PyFunceble.svg)](https://github.com/funilrys/PyFunceble/issues) [![Code style | Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Build Status](https://travis-ci.com/funilrys/PyFunceble.svg?branch=master)](https://travis-ci.com/funilrys/PyFunceble) [![Coverage Status](https://coveralls.io/repos/github/funilrys/PyFunceble/badge.svg?branch=master)](https://coveralls.io/github/funilrys/PyFunceble?branch=master) [![license](https://img.shields.io/github/license/funilrys/PyFunceble.svg)](https://github.com/funilrys/PyFunceble/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/funilrys/PyFunceble.svg)](https://github.com/funilrys/PyFunceble/releases/latest) [![GitHub issues open](https://img.shields.io/github/issues/funilrys/PyFunceble.svg)](https://github.com/funilrys/PyFunceble/issues) [![Code style | Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

PyFunceble is the little sister of [Funceble](https://github.com/funilrys/funceble) which was archived on 13<sup>th</sup> March, 2018.

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. image:: https://github.com/funilrys/PyFunceble/raw/dev/.assets/logo/RM.png
.. image:: https://github.com/funilrys/PyFunceble/raw/master/.assets/logo/RM.png
:alt: PyFunceble Logic representation

The tool to check domain or IP availability
===========================================

.. raw:: html

<p align="center"><a href="https://travis-ci.com/funilrys/PyFunceble"><img src="https://travis-ci.com/funilrys/PyFunceble.svg?branch=dev" alt="Build Status"></a> <a href="https://coveralls.io/github/funilrys/PyFunceble?branch=dev"><img src="https://coveralls.io/repos/github/funilrys/PyFunceble/badge.svg?branch=dev" alt="Coverage Status"></a> <a href="https://github.com/funilrys/PyFunceble/blob/dev/LICENSE"><img src="https://img.shields.io/github/license/funilrys/PyFunceble.svg" alt="license"></a> <a href="https://github.com/funilrys/PyFunceble/releases/latest"><img src="https://img.shields.io/github/release/funilrys/PyFunceble.svg" alt="GitHub release"></a> <a href=""><img src="https://img.shields.io/github/issues/funilrys/PyFunceble.svg" alt="GitHub issues open"></a> <a href="https://github.com/ambv/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style | Black"></a></p>
<p align="center"><a href="https://travis-ci.com/funilrys/PyFunceble"><img src="https://travis-ci.com/funilrys/PyFunceble.svg?branch=master" alt="Build Status"></a> <a href="https://coveralls.io/github/funilrys/PyFunceble?branch=master"><img src="https://coveralls.io/repos/github/funilrys/PyFunceble/badge.svg?branch=master" alt="Coverage Status"></a> <a href="https://github.com/funilrys/PyFunceble/blob/master/LICENSE"><img src="https://img.shields.io/github/license/funilrys/PyFunceble.svg" alt="license"></a> <a href="https://github.com/funilrys/PyFunceble/releases/latest"><img src="https://img.shields.io/github/release/funilrys/PyFunceble.svg" alt="GitHub release"></a> <a href=""><img src="https://img.shields.io/github/issues/funilrys/PyFunceble.svg" alt="GitHub issues open"></a> <a href="https://github.com/ambv/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style | Black"></a></p>

PyFunceble is the little sister of `Funceble`_ which was archived on 13th March, 2018.

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _get_long_description(): # pragma: no cover

if __name__ == "__main__":
setup(
name="PyFunceble-dev",
name="PyFunceble",
version=_get_version(),
install_requires=_get_requirements(),
description="The tool to check domains or IP availability.",
Expand All @@ -148,7 +148,7 @@ def _get_long_description(): # pragma: no cover
classifiers=[
"Environment :: Console",
"Topic :: Internet",
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 0e61b8f

Please sign in to comment.