summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-05-22 01:34:38 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-05-22 01:34:38 +0200
commitaeeecf63275a2d0fea8ef38b7efeea88491576a7 (patch)
tree252f024c1f719840fcbf97abf38aefb51f21c81a
parent6598cfd789280d6322802d643171ecbf1d7fd70b (diff)
downloadsemantic-version-aeeecf63275a2d0fea8ef38b7efeea88491576a7.tar.gz
Version bumpv2.0.0
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-rw-r--r--src/semantic_version/__init__.py2
-rw-r--r--src/semantic_version/base.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/semantic_version/__init__.py b/src/semantic_version/__init__.py
index cd5be49..9826d65 100644
--- a/src/semantic_version/__init__.py
+++ b/src/semantic_version/__init__.py
@@ -2,7 +2,7 @@
# Copyright (c) 2012 Raphaël Barrois
-__version__ = '2.0.0-alpha'
+__version__ = '2.0.0'
from .base import compare, match, Spec, SpecItem, Version
diff --git a/src/semantic_version/base.py b/src/semantic_version/base.py
index 861063b..16a1404 100644
--- a/src/semantic_version/base.py
+++ b/src/semantic_version/base.py
@@ -308,6 +308,7 @@ class Spec(object):
return tuple(SpecItem(spec_text) for spec_text in spec_texts)
def match(self, version):
+ """Check whether a Version satisfies the Spec."""
return all(spec.match(version) for spec in self.specs)
def __contains__(self, version):