Skip to content

Commit

Permalink
Release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Oderbolz committed Jan 3, 2015
1 parent 3acef3d commit d9aa5b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
This project follows [Semantic Versioning](http://semver.org/).

## [Unreleased][unreleased]

## 0.5.0 - 2015-01-03
### Changed
- BC-break: all dates are now parsed as datetime objects

Expand Down
2 changes: 1 addition & 1 deletion osmapi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import (absolute_import, print_function, unicode_literals)

__version__ = '0.4.2'
__version__ = '0.5.0'

from .OsmApi import * # noqa
18 changes: 9 additions & 9 deletions tests/changeset_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def test_ChangesetUpdate(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.4.2">\n'
b'<osm version="0.6" generator="osmapi/0.5.0">\n'
b' <changeset visible="true">\n'
b' <tag k="test" v="foobar"/>\n'
b' <tag k="created_by" v="osmapi/0.4.2"/>\n'
b' <tag k="created_by" v="osmapi/0.5.0"/>\n'
b' </changeset>\n'
b'</osm>\n'
)
Expand Down Expand Up @@ -134,7 +134,7 @@ def test_ChangesetUpdate_with_created_by(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.4.2">\n'
b'<osm version="0.6" generator="osmapi/0.5.0">\n'
b' <changeset visible="true">\n'
b' <tag k="test" v="foobar"/>\n'
b' <tag k="created_by" v="MyTestOSMApp"/>\n'
Expand Down Expand Up @@ -173,10 +173,10 @@ def test_ChangesetCreate(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.4.2">\n'
b'<osm version="0.6" generator="osmapi/0.5.0">\n'
b' <changeset visible="true">\n'
b' <tag k="foobar" v="A new test changeset"/>\n'
b' <tag k="created_by" v="osmapi/0.4.2"/>\n'
b' <tag k="created_by" v="osmapi/0.5.0"/>\n'
b' </changeset>\n'
b'</osm>\n'
)
Expand All @@ -201,7 +201,7 @@ def test_ChangesetCreate_with_created_by(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.4.2">\n'
b'<osm version="0.6" generator="osmapi/0.5.0">\n'
b' <changeset visible="true">\n'
b' <tag k="foobar" v="A new test changeset"/>\n'
b' <tag k="created_by" v="CoolTestApp"/>\n'
Expand Down Expand Up @@ -286,7 +286,7 @@ def test_ChangesetUpload_create_node(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osmChange version="0.6" generator="osmapi/0.4.2">\n'
b'<osmChange version="0.6" generator="osmapi/0.5.0">\n'
b'<create>\n'
b' <node lat="47.123" lon="8.555" visible="true" '
b'changeset="4444">\n'
Expand Down Expand Up @@ -360,7 +360,7 @@ def test_ChangesetUpload_modify_way(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osmChange version="0.6" generator="osmapi/0.4.2">\n'
b'<osmChange version="0.6" generator="osmapi/0.5.0">\n'
b'<modify>\n'
b' <way id="4294967296" version="2" visible="true" '
b'changeset="4444">\n'
Expand Down Expand Up @@ -444,7 +444,7 @@ def test_ChangesetUpload_delete_relation(self):
xmltosorteddict(sendargs[0]),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osmChange version="0.6" generator="osmapi/0.4.2">\n'
b'<osmChange version="0.6" generator="osmapi/0.5.0">\n'
b'<delete>\n'
b' <relation id="676" version="2" visible="true" '
b'changeset="4444">\n'
Expand Down

0 comments on commit d9aa5b5

Please sign in to comment.