Skip to content

Commit 5561f15

Browse files
author
Worvast
authored
Merge pull request DevoInc#26 from Worvast/master
[3.0.4] Fixed problems with end line of some fileformats
2 parents 06fbd14 + af33028 commit 5561f15

6 files changed

Lines changed: 13 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [3.0.1] - 2020-06-30
8-
7+
## [3.0.4] - 2020-06-30
8+
#### Fixed
9+
* Problems with end line of some fileformats
10+
## [3.0.3] - 2020-06-30
911
#### Fixed
1012
* Sorter regex parser now accept group != 0
1113

14+
#### Changed
15+
* Upgrade requirements
16+
1217
## [3.0.0] - 2020-04-28
1318
#### Added
1419
* Faker

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![relese-next Build Status](https://travis-ci.com/DevoInc/python-utils.svg?branch=master)](https://travis-ci.com/DevoInc/python-utils) [![LICENSE](https://img.shields.io/dub/l/vibe-d.svg)](https://github.com/DevoInc/python-utils/blob/master/LICENSE)
22

3-
[![wheel](https://img.shields.io/badge/wheel-yes-brightgreen.svg)](https://pypi.org/project/devo-utils/) [![version](https://img.shields.io/badge/version-3.0.1-blue.svg)](https://pypi.org/project/devo-utils/) [![python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/devo-utils/)
3+
[![wheel](https://img.shields.io/badge/wheel-yes-brightgreen.svg)](https://pypi.org/project/devo-utils/) [![version](https://img.shields.io/badge/version-3.0.4-blue.svg)](https://pypi.org/project/devo-utils/) [![python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/devo-utils/)
44

55

66
# Devo Python Utils

devoutils/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__description__ = 'Devo Python Library.'
22
__url__ = 'http://www.devo.com'
3-
__version__ = "3.0.1"
3+
__version__ = "3.0.4"
44
__author__ = 'Devo'
55
__author_email__ = '[email protected]'
66
__license__ = 'MIT'

devoutils/sorter/sorter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ def __write_dst_file(data, dst_file, **kwargs):
104104
writer = FileWriter(dst_file, **kwargs)
105105
for line in data:
106106
if line:
107+
if not line.endswith("\n"):
108+
line = line + "\n"
107109
writer.write(line)
108110

109111
def __read_and_sort(self, src_type, src, kwargs):

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
click==7.1.1
22
requests==2.23.0
33
PyYAML==5.3.1
4-
devo-sdk==3.3.4
4+
devo-sdk==3.3.7
55
Jinja2==2.11.1
66
psutil==5.7.0
77
python-dateutil==2.8.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"Topic :: Software Development :: Libraries :: Python Modules",
2525
]
2626

27-
INSTALL_REQUIRES = ['devo-sdk==3.3.4',
27+
INSTALL_REQUIRES = ['devo-sdk==3.3.7',
2828
'click==7.1.1',
2929
'requests==2.23.0',
3030
'PyYAML==5.3.1',

0 commit comments

Comments
 (0)