Skip to content

Commit aa8a73b

Browse files
committed
#428 - Update docs and version
1 parent 21326cb commit aa8a73b

File tree

9 files changed

+15
-11
lines changed

9 files changed

+15
-11
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2019 nexB Inc. http://www.nexb.com/ - All rights reserved.
1+
Copyright (c) 2013-2020 nexB Inc. http://www.nexb.com/ - All rights reserved.
22
Licensed under the Apache License, Version 2.0 (the "License");
33
you may not use this file except in compliance with the License.
44
You may obtain a copy of the License at

about.ABOUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
about_resource: .
22
name: AboutCode-toolkit
3-
version: 4.0.2
3+
version: 5.0.0
44
author: Jillian Daguil, Chin Yeung Li, Philippe Ombredanne, Thomas Druez
55
copyright: Copyright (c) 2013-2020 nexB Inc.
66
description: |

docs/CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2020-xx-xx
2+
Release 5.0.0
3+
4+
15
2020-05-05
26
Release 4.0.2
37

docs/UsingAboutCodetoDocumentYourSoftwareAssets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ For instance with this configuration the columns "Directory/Location" will be
253253
renamed to "about_resource" and "foo" to "bar":
254254

255255
column_renamings:
256-
'Directory/Location' : about_resource
257-
foo : bar
256+
about_resource : 'Directory/Location'
257+
bar : foo
258258

259259
The renaming is always applied first before other transforms and checks. All
260260
other column names referenced below are these that exist AFTER the renaming
-5.67 KB
Binary file not shown.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def read(*names, **kwargs):
2424

2525
setup(
2626
name='aboutcode-toolkit',
27-
version='4.0.2',
27+
version='5.0.0',
2828
license='Apache-2.0',
2929
description=(
3030
'AboutCode-toolkit is a tool to document the provenance (origin and license) of '

src/attributecode/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
import saneyaml
3333

34-
__version__ = '4.0.2'
34+
__version__ = '5.0.0'
3535

3636
__about_spec_version__ = '3.1.4'
3737

src/attributecode/transform.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf8 -*-
33
# ============================================================================
4-
# Copyright (c) 2013-2019 nexB Inc. http://www.nexb.com/ - All rights reserved.
4+
# Copyright (c) 2013-2020 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
@@ -115,8 +115,8 @@ def transform_data(rows, transformer):
115115
For instance with this configuration the columns "Directory/Location" will be
116116
renamed to "about_resource" and "foo" to "bar":
117117
column_renamings:
118-
'Directory/Location' : about_resource
119-
foo : bar
118+
about_resource : 'Directory/Location'
119+
bar : foo
120120
121121
The renaming is always applied first before other transforms and checks. All
122122
other column names referenced below are these that exist AFTER the renamings

tests/testdata/test_cmd/help/about_transform_config_help.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ is used to rename CSV columns.
1212
For instance with this configuration the columns "Directory/Location" will be
1313
renamed to "about_resource" and "foo" to "bar":
1414
column_renamings:
15-
'Directory/Location' : about_resource
16-
foo : bar
15+
about_resource : 'Directory/Location'
16+
bar : foo
1717

1818
The renaming is always applied first before other transforms and checks. All
1919
other column names referenced below are these that exist AFTER the renamings

0 commit comments

Comments
 (0)