Skip to content

Commit be86cff

Browse files
author
Harshavardhana
committed
Bump to 1.0.2
1 parent 7e9dd67 commit be86cff

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

minio/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
__title__ = 'minio-py'
3030
__author__ = 'Minio, Inc.'
31-
__version__ = '1.0.1'
31+
__version__ = '1.0.2'
3232
__license__ = 'Apache 2.0'
33-
__copyright__ = 'Copyright 2015 Minio, Inc.'
33+
__copyright__ = 'Copyright 2015, 2016 Minio, Inc.'
3434

3535
from .api import Minio
3636
from .error import ResponseError

minio/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def set_app_info(self, app_name, app_version):
129129
Minio (OS; ARCH) LIB/VER APP/VER
130130
131131
Example:
132-
client.set_app_info('my_app', '1.0.1')
132+
client.set_app_info('my_app', '1.0.2')
133133
134134
:param app_name: application name.
135135
:param app_version: application version.

tests/unit/minio_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ def test_default_user_agent(self):
8787

8888
def test_set_app_info(self):
8989
client = Minio('localhost')
90-
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/1.0.1'
91-
client.set_app_info('hello', '1.0.1')
90+
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/1.0.2'
91+
client.set_app_info('hello', '1.0.2')
9292
eq_(client._user_agent, expected_user_agent)
9393

9494
@raises(ValueError)
9595
def test_set_app_info_requires_non_empty_name(self):
9696
client = Minio('localhost:9000')
97-
client.set_app_info('', '1.0.1')
97+
client.set_app_info('', '1.0.2')
9898

9999
@raises(ValueError)
100100
def test_set_app_info_requires_non_empty_version(self):

0 commit comments

Comments
 (0)