File tree Expand file tree Collapse file tree 6 files changed +19
-12
lines changed
Expand file tree Collapse file tree 6 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1- ABOUT File Specification v3.1
1+ ABOUT File Specification v3.1.1
22
33
44Purpose
@@ -72,7 +72,7 @@ A file name can contain only these US-ASCII characters:
7272
7373- digits from 0 to 9
7474- uppercase and lowercase letters from A to Z
75- - the "_" underscore, "-" dash and ". " period signs.
75+ - the "_" underscore, "-" dash, "." period and "+ " period signs.
7676
7777- The case of a file name is not significant. On case-sensitive file systems
7878 (such as on Linux), a tool must report an error if two ABOUT files stored in
Original file line number Diff line number Diff line change 1- 2018-01-03
1+ 2019-01-07
2+
3+ Release 3.3.2
4+
5+ * Add `+ ` sign as a valid character
6+
7+
8+ 2019-01-03
29
310 Release 3.3.1
411
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def read(*names, **kwargs):
2424
2525setup (
2626 name = 'aboutcode-toolkit' ,
27- version = '3.3.1 ' ,
27+ version = '3.3.2 ' ,
2828 license = 'Apache-2.0' ,
2929 description = (
3030 'AboutCode-toolkit is a tool to document the provenance (origin and license) of '
Original file line number Diff line number Diff line change 22# -*- coding: utf8 -*-
33
44# ============================================================================
5- # Copyright (c) 2013-2017 nexB Inc. http://www.nexb.com/ - All rights reserved.
5+ # Copyright (c) 2013-2019 nexB Inc. http://www.nexb.com/ - All rights reserved.
66# Licensed under the Apache License, Version 2.0 (the "License");
77# you may not use this file except in compliance with the License.
88# You may obtain a copy of the License at
2727 basestring = str # Python 3 #NOQA
2828
2929
30- __version__ = '3.3.1 '
30+ __version__ = '3.3.2 '
3131
3232
33- __about_spec_version__ = '3.1'
33+ __about_spec_version__ = '3.1.1 '
3434
3535__copyright__ = """
36- Copyright (c) 2013-2018 nexB Inc. All rights reserved. http://dejacode.org
36+ Copyright (c) 2013-2019 nexB Inc. All rights reserved. http://dejacode.org
3737Licensed under the Apache License, Version 2.0 (the "License");
3838you may not use this file except in compliance with the License.
3939You may obtain a copy of the License at
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf8 -*-
33# ============================================================================
4- # Copyright (c) 2013-2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
4+ # Copyright (c) 2013-2019 nexB Inc. http://www.nexb.com/ - All rights reserved.
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
77# You may obtain a copy of the License at
@@ -83,7 +83,7 @@ def to_posix(path):
8383UNC_PREFIX_POSIX = to_posix (UNC_PREFIX )
8484UNC_PREFIXES = (UNC_PREFIX_POSIX , UNC_PREFIX ,)
8585
86- valid_file_chars = string .digits + string .ascii_letters + '_-.'
86+ valid_file_chars = string .digits + string .ascii_letters + '_-.+ '
8787
8888
8989def invalid_chars (path ):
Original file line number Diff line number Diff line change 22# -*- coding: utf8 -*-
33
44# ============================================================================
5- # Copyright (c) 2014-2017 nexB Inc. http://www.nexb.com/ - All rights reserved.
5+ # Copyright (c) 2014-2019 nexB Inc. http://www.nexb.com/ - All rights reserved.
66# Licensed under the Apache License, Version 2.0 (the "License");
77# you may not use this file except in compliance with the License.
88# You may obtain a copy of the License at
@@ -166,7 +166,7 @@ def test_get_about_locations_with_ABOUT_files(self):
166166 assert res .endswith (expect )
167167
168168 def test_invalid_chars_with_valid_chars (self ):
169- name = string .digits + string .ascii_letters + '_-.'
169+ name = string .digits + string .ascii_letters + '_-.+ '
170170 result = util .invalid_chars (name )
171171 expected = []
172172 assert expected == result
You can’t perform that action at this time.
0 commit comments