Skip to content

Commit 281c853

Browse files
Merge pull request #67 from insightindustry/develop
PR for v.1.5.0
2 parents af43df3 + e75b19e commit 281c853

15 files changed

+1651
-42
lines changed

CHANGES.rst

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
-----------
22

3+
Release 1.5.0 (released October 12, 2020)
4+
============================================
5+
6+
* #64: Fixed URL validator and checker to ensure that protocol is case insensitive.
7+
* #63: Added a MIME type validator and checker.
8+
* ENHANCEMENT: Added ``missing_as_none`` option to ``checkers.are_dicts_equivalent()``.
9+
* ENHANCEMENT: Added ``strict_typing`` option to ``checkers.are_equivalent()``.
10+
11+
-----------
12+
313
Release 1.4.2 (released June 20, 2020)
414
============================================
515

README.rst

+16-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ Validator Collection
2525
:target: http://validator-collection.readthedocs.io/en/latest/?badge=latest
2626
:alt: Documentation Status (ReadTheDocs)
2727

28+
* - `v. 1.5 <https://github.com/insightindustry/validator-collection/tree/v.1.5.0>`_
29+
-
30+
.. image:: https://travis-ci.org/insightindustry/validator-collection.svg?branch=v.1.5.0
31+
:target: https://travis-ci.org/insightindustry/validator-collection
32+
:alt: Build Status (Travis CI)
33+
34+
.. image:: https://codecov.io/gh/insightindustry/validator-collection/branch/v.1.5.0/graph/badge.svg
35+
:target: https://codecov.io/gh/insightindustry/validator-collection
36+
:alt: Code Coverage Status (Codecov)
37+
38+
.. image:: https://readthedocs.org/projects/validator-collection/badge/?version=v.1.5.0
39+
:target: http://validator-collection.readthedocs.io/en/latest/?badge=v.1.5.0
40+
:alt: Documentation Status (ReadTheDocs)
41+
2842
* - `v. 1.4 <https://github.com/insightindustry/validator-collection/tree/v.1.4.2>`_
2943
-
3044
.. image:: https://travis-ci.org/insightindustry/validator-collection.svg?branch=v.1.4.2
@@ -215,7 +229,7 @@ Validators
215229
-
216230
-
217231
- ``writeable``
218-
-
232+
- ``mimetype``
219233
* -
220234
-
221235
-
@@ -275,7 +289,7 @@ Checkers
275289
-
276290
-
277291
- ``is_writeable``
278-
-
292+
- ``is_mimetype``
279293
* - ``is_iterable``
280294
-
281295
-

docs/_checker_list.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
-
4747
-
4848
- :func:`is_writeable <validator_collection.checkers.is_writeable>`
49-
-
49+
- :func:`is_mimetype <validator_collection.checkers.is_mimetype>`
5050
* - :func:`is_iterable <validator_collection.checkers.is_iterable>`
5151
-
5252
-

docs/_unit_tests_code_coverage.rst

+14
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
:target: http://validator-collection.readthedocs.io/en/latest/?badge=latest
1919
:alt: Documentation Status (ReadTheDocs)
2020

21+
* - `v. 1.5 <https://github.com/insightindustry/validator-collection/tree/v.1.5.0>`_
22+
-
23+
.. image:: https://travis-ci.org/insightindustry/validator-collection.svg?branch=v.1.5.0
24+
:target: https://travis-ci.org/insightindustry/validator-collection
25+
:alt: Build Status (Travis CI)
26+
27+
.. image:: https://codecov.io/gh/insightindustry/validator-collection/branch/v.1.5.0/graph/badge.svg
28+
:target: https://codecov.io/gh/insightindustry/validator-collection
29+
:alt: Code Coverage Status (Codecov)
30+
31+
.. image:: https://readthedocs.org/projects/validator-collection/badge/?version=v.1.5.0
32+
:target: http://validator-collection.readthedocs.io/en/latest/?badge=v.1.5.0
33+
:alt: Documentation Status (ReadTheDocs)
34+
2135
* - `v. 1.4 <https://github.com/insightindustry/validator-collection/tree/v.1.4.2>`_
2236
-
2337
.. image:: https://travis-ci.org/insightindustry/validator-collection.svg?branch=v.1.4.2

docs/_validator_list.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
-
4747
-
4848
- :func:`writeable <validator_collection.validators.writeable>`
49-
-
49+
- :func:`mimetype <validator_collection.validators.mimetype>`
5050
* -
5151
-
5252
-

docs/checkers.rst

+5
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,8 @@ is_mac_address
235235
-------------------
236236

237237
.. autofunction:: is_mac_address
238+
239+
is_mimetype
240+
-------------------
241+
242+
.. autofunction:: is_mimetype

docs/errors.rst

+5
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,8 @@ InvalidMACAddressError (from :class:`ValueError <python:ValueError>`)
369369
-----------------------------------------------------------------------
370370

371371
.. autoclass:: InvalidMACAddressError
372+
373+
InvalidMimeTypeError (from :class:`ValueError <python:ValueError>`)
374+
-----------------------------------------------------------------------
375+
376+
.. autoclass:: InvalidMimeTypeError

docs/validators.rst

+5
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,8 @@ mac_address
222222
--------------
223223

224224
.. autofunction:: mac_address
225+
226+
mimetype
227+
--------------
228+
229+
.. autofunction:: mimetype

0 commit comments

Comments
 (0)