Skip to content

Commit

Permalink
Merge branch 'feature/dep' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebi2020 committed Feb 18, 2019
2 parents d1bf33f + af05447 commit 18cff12
Show file tree
Hide file tree
Showing 11 changed files with 411 additions and 188 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
*__init__*
csemver/utils.py
tests/test.py
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist/*
*.egg-info/*
build/*
__pycache__m
*.pyc
__pycache__
*.pyc
.coverage
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ python:
- "3.5"
- "3.6"

script: python ./setup.py test
script: nosetests --with-coverage
after_success:
- coveralls
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Changelog
## [1.0.0-rc0] - 19-02-18

### Changed
* Replaced semver dependencies with own implementation
* Index operator now allows strings and integers for major,minor and patch key
* `csemver.number` property now returns a str instead of a dict.
If you wish to get a tuple or a dict, just do `tuple(a)` or `dict(a)` where `a` is a csemver instance

### Removed
- prerelease and build properties. They are now accessible through the index operator: `a['build'], a['prerelease']`

## [0.2.1-rc0] - 19-02-11
### Added
Expand All @@ -24,5 +34,6 @@
+ csemver class
+ Docstrings for `number`,`incMajor, incMinor, incPatch`

[1.0.0-rc0]: https://github.com/sebi2020/csemver/compare/v0.2.1...v1.0.0-rc0
[0.2.1-rc0]: https://github.com/sebi2020/csemver/compare/v0.1.0...v0.2.1-rc0
[0.1.0]: https://github.com/sebi2020/csemver/compare/20f2f6f0810937af5fbc8f1ce7fc3d4a2383b28b...v0.1.0
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.com/Sebi2020/csemver.svg?branch=master)](https://travis-ci.com/Sebi2020/csemver)
[![Coverage Status](https://coveralls.io/repos/github/Sebi2020/csemver/badge.svg?branch=feature%2Fdep)](https://coveralls.io/github/Sebi2020/csemver?branch=feature%2Fdep)
![Version Github: v0.2.0](https://img.shields.io/github/release/sebi2020/csemver.svg?colorB=green&style=flat)
[![Version PyPi: v0.2.0](https://img.shields.io/pypi/v/csemver.svg?colorB=green&style=flat)](https://pypi.org/project/csemver/)
![Issue Count](https://img.shields.io/github/issues-raw/sebi2020/csemver.svg?style=flat)
Expand Down Expand Up @@ -71,8 +72,6 @@ print(a)
foo@bar:~$ python test.py
0.1.0
1.0.0-pre+build.1
2.0.0-pre+build.1
2.0.0-dev+build.1
```

### Manipulate specific parts
Expand Down
3 changes: 1 addition & 2 deletions csemver/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from .csemver import csemver
from .csemver import parse
from .csemver import *

0 comments on commit 18cff12

Please sign in to comment.