Skip to content

Commit

Permalink
bump to 1.2.0, and mark new classes to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Jun 24, 2014
1 parent 8eb13f4 commit 4361e04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plyer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__all__ = ('accelerometer', 'camera', 'gps', 'notification',
'tts', 'email', 'vibrator', 'sms', 'compass', 'uniqueid')

__version__ = '1.1.2'
__version__ = '1.2.0'

from plyer import facades
from plyer.utils import Proxy
Expand Down
8 changes: 8 additions & 0 deletions plyer/facades.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,12 @@ class Sms(object):
'''Sms facade.
.. note::
On Android your app needs the SEND_SMS permission in order
send sms messages.
.. versionadded:: 1.2.0
'''

def send(self, recipient, message):
Expand All @@ -285,6 +288,8 @@ def _send(self, **kwargs):

class Compass(object):
'''Compass facade.
.. versionadded:: 1.2.0
'''

@property
Expand Down Expand Up @@ -321,6 +326,8 @@ def _get_orientation(self):

class Gyroscope(object):
'''Gyroscope facade.
.. versionadded:: 1.2.0
'''

@property
Expand Down Expand Up @@ -366,6 +373,7 @@ class UniqueID(object):
* Linux, it returns the serial number using lshw
* Windows, it reads and returns MachineGUID from regkey.
.. versionadded:: 1.2.0
'''

@property
Expand Down

0 comments on commit 4361e04

Please sign in to comment.