summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #38 from ekmartin/compatible_releaseRaphaël Barrois2016-02-284-1/+28
|\ | | | | Add support for compatible release ranges
| * Add Martin Ek to contributors listMartin Ek2016-02-251-0/+1
| |
| * Add support for compatible release ranges, fixes #37Martin Ek2016-02-253-1/+27
|/
* Fix handling pre-1.0.0 caret versions (Closes #35)Raphaël Barrois2016-02-214-2/+25
| | | | Thanks to @autopulated for pointing the issue!
* lint: Remove double return.Raphaël Barrois2016-02-211-1/+0
|
* Remove testing on Django 1.7, outdated.Raphaël Barrois2016-02-121-1/+0
|
* Test up to 3.5v2.5.0Raphaël Barrois2016-02-123-4/+17
|
* Update test targets.Raphaël Barrois2016-02-127-21/+4
| | | | Drop support for Django 1.4; go up to 1.9
* Release v2.5.0Raphaël Barrois2016-02-122-3/+3
|
* Cleanup and document fixes from #31.Raphaël Barrois2016-02-125-17/+44
| | | | The PR was broken through fixed in ``next_minor()`` / ``next_major()``.
* Merge branch 'skwashd-tilde-caret'Raphaël Barrois2016-02-123-3/+47
|\
| * Merge branch 'tilde-caret' of ↵Raphaël Barrois2016-02-123-3/+47
| |\ |/ / | | | | https://github.com/skwashd/python-semanticversion into skwashd-tilde-caret
| * Fix broken testDave Hall2015-11-301-1/+1
| |
| * Support for alternative equals specsDave Hall2015-11-292-2/+18
| | | | | | | | | | Composer assumes equals if no operator is used npm uses a single equals operator
| * Make regex more readableDave Hall2015-10-191-2/+1
| |
| * Add support for npm/composer caret and tilde condition extensionsDave Hall2015-10-153-1/+30
| |
* | Remove Copyright years (Closes #28)Raphaël Barrois2016-02-1215-15/+15
| | | | | | | | It seems that stating the copyright years is useless after all :)
* | Merge branch 'bump-version-2' of ↵Raphaël Barrois2016-02-124-8/+144
|\ \ | | | | | | | | | https://github.com/MinchinWeb/python-semanticversion into MinchinWeb-bump-version-2
| * | Adjust code to match tests for bumping prerelease versionsMinchinWeb2015-09-153-6/+23
| | |
| * | add tests for bumping prerelease versionsMinchinWeb2015-09-151-2/+126
| | |
* | | Merge pull request #26 from marcelometal/patch-1Raphaël Barrois2016-02-111-1/+1
|\ \ \ | | | | | | | | Fixed typo in README.rst
| * | | Fixed typo in README.rstMarcelo Jorge Vieira2015-09-111-1/+1
| |/ / | | | | | | Replaced 'licence' with 'license'
* | | Merge pull request #34 from yunojuno/issue-33Raphaël Barrois2016-02-113-1/+41
|\ \ \ | |_|/ |/| | Fix issue #33 - null VersionField breaks ORM
| * | Fix for failing test_django testsHugo Rodger-Brown2015-11-251-15/+9
| | | | | | | | | | | | | | | | | | I've added a save_and_refresh function to allow objects to be saved and then updated from the database, replicating the refresh_from_db method that exists in Django 1.8, and wrapping in the save method.
| * | Fix issue #33 - null VersionField breaks ORMHugo Rodger-Brown2015-11-243-1/+47
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | I've updated the `BaseSemVerField` method `get_prep_value` so that it will return None when the field value is None, rather than the string representation 'None'. Previously this would break the ORM, which would save the string 'None' into the database, and then attempt to parse that as a version number. This change means that the default empty value for both VersionField and SpecField is None. Both derive from CharField, which uses an empty string as its default empty value, however it seems more logical in the case of these objects that no object is null, and not an empty string. Includes tests.
* | Forbid build metadata ordering (See #18)Raphaël Barrois2015-09-159-113/+192
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | SemVer 2.0.0 states that "Build metadata SHOULD be ignored when determining version precedence". This means that, when comparing ``0.1.0+1`` to ``0.1.0+bcd``:: >>> Version('0.1.0+1') == Version('0.1.0+bcd') False >>> Version('0.1.0+1') != Version('0.1.0+bcd') True >>> Version('0.1.0+1') < Version('0.1.0+bcd') False >>> Version('0.1.0+1') > Version('0.1.0+bcd') False >>> Version('0.1.0+1') <= Version('0.1.0+bcd') False >>> Version('0.1.0+1') >= Version('0.1.0+bcd') False >>> compare(Version('0.1.0+1'), Version('0.1.0+bcd')) NotImplemented This change also has the following effects: - When including build metadata in a ``Spec``, the only valid options are ``Spec('==0.1.0+sth')`` and ``Spec('!=0.1.0+sth')`` - The meaning of ``Spec('==0.1.0+')`` is now "Only version 0.1.0 without build metadata" - ``Spec('==0.1.0')`` now matches ``Version('0.1.0+anything')``
* Bump version to 2.4.2.v2.4.2Raphaël Barrois2015-07-022-1/+7
|
* Remove build for py3.4/Django1.4Raphaël Barrois2015-07-021-3/+7
|
* Switch travis to upstream Django supported versions.Raphaël Barrois2015-07-021-1/+1
|
* Fix coverage building.Raphaël Barrois2015-07-023-3/+5
|
* Minor fixes to tests.Raphaël Barrois2015-07-022-5/+5
|
* fixed tests to work with django 1.7 and 1.8Michael Hrivnak2015-07-022-17/+32
| | | | | | Added several django versions to the travis-ci build fixes #22
* Switch to django-version-dependant install scheme.Raphaël Barrois2015-07-0210-17/+66
| | | | Also update travis to use it.
* Release v2.4.1v2.4.1Raphaël Barrois2015-04-012-1/+8
|
* Fix setup.py for readme, bis.Raphaël Barrois2015-04-011-0/+2
|
* Advertise supporting Python3.4.Raphaël Barrois2015-04-012-1/+2
|
* Fill ChangeLog.Raphaël Barrois2015-04-011-0/+8
|
* Fix setup.py/rst parsing.Raphaël Barrois2015-04-011-1/+1
|
* Release v2.4.0v2.4.0Raphaël Barrois2015-04-011-1/+1
|
* Travis: also test on Python3.4.Raphaël Barrois2015-04-011-0/+1
|
* Adds a new bump version func to the API.Rick Eyre2015-04-014-0/+56
|
* Fix README (Closes #19).Raphaël Barrois2015-04-012-6/+10
| | | | Also fixes README rendering on PyPI, hopefully.
* Fix manifest for missing files (Closes #20).Raphaël Barrois2015-04-011-1/+3
| | | | CREDITS and LICENSE weren't included; kindly spotted by @hguemar.
* Fix unescaped regexps (Closes #12).Raphaël Barrois2015-04-011-2/+2
|
* Version bump to 2.3.1v2.3.1Raphaël Barrois2014-09-242-1/+9
|
* Fix setup.py encoding issues (Closes #13).Raphaël Barrois2014-09-241-2/+4
|
* Version bump to 2.3.0v2.3.0Raphaël Barrois2014-03-161-1/+1
|
* Accept '*' as a Spec (Closes #8).Raphaël Barrois2014-03-164-10/+33
| | | | Spec('*') will match all valid Version objects.
* moved django test app settings to the django test app moduleMichael Hrivnak2014-03-163-12/+25
| | | | | | | | | ... to guarantee the settings get executed before any code in that app. Since python's unittest.TestLoader does not guarantee in what order it will import modules while hunting for test cases, the unit tests could fail to even load if tests.django_test_app.models was loaded before tests.test_django. This failure was seen on ARM machines, which happened to traverse the module tree in an inconvenient order.
* Update README.Raphaël Barrois2014-03-081-0/+5
|