Skip to content

Commit

Permalink
Bump to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshavardhana committed Mar 23, 2016
1 parent a3d287d commit 02b78d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion minio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

__title__ = 'minio-py'
__author__ = 'Minio, Inc.'
__version__ = '1.0.0'
__version__ = '1.0.1'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2015 Minio, Inc.'

Expand Down
2 changes: 1 addition & 1 deletion minio/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def set_app_info(self, app_name, app_version):
Minio (OS; ARCH) LIB/VER APP/VER
Example:
client.set_app_info('my_app', '1.0.0')
client.set_app_info('my_app', '1.0.1')
:param app_name: application name.
:param app_version: application version.
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/minio_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ def test_default_user_agent(self):

def test_set_app_info(self):
client = Minio('localhost')
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/1.0.0'
client.set_app_info('hello', '1.0.0')
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/1.0.1'
client.set_app_info('hello', '1.0.1')
eq_(client._user_agent, expected_user_agent)

@raises(ValueError)
def test_set_app_info_requires_non_empty_name(self):
client = Minio('localhost:9000')
client.set_app_info('', '1.0.0')
client.set_app_info('', '1.0.1')

@raises(ValueError)
def test_set_app_info_requires_non_empty_version(self):
Expand Down

0 comments on commit 02b78d4

Please sign in to comment.