v2.0.8
This commit is contained in:
parent
6ec3b171e1
commit
986e592d1e
5 changed files with 24 additions and 4 deletions
|
@ -3,6 +3,13 @@ History
|
|||
-------
|
||||
|
||||
|
||||
2.0.8 (2014-08-07)
|
||||
++++++++++++++++++
|
||||
|
||||
- upgrade external wakatime package to v2.0.6
|
||||
- fix unicode bug by encoding json POST data
|
||||
|
||||
|
||||
2.0.7 (2014-07-25)
|
||||
++++++++++++++++++
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ License: BSD, see LICENSE for more details.
|
|||
Website: https://wakatime.com/
|
||||
==========================================================="""
|
||||
|
||||
__version__ = '2.0.7'
|
||||
__version__ = '2.0.8'
|
||||
|
||||
import sublime
|
||||
import sublime_plugin
|
||||
|
|
1
packages/wakatime/.gitignore
vendored
1
packages/wakatime/.gitignore
vendored
|
@ -36,3 +36,4 @@ nosetests.xml
|
|||
|
||||
virtualenv
|
||||
venv
|
||||
.DS_Store
|
||||
|
|
|
@ -3,6 +3,18 @@ History
|
|||
-------
|
||||
|
||||
|
||||
2.0.5 (2014-07-25)
|
||||
++++++++++++++++++
|
||||
|
||||
- option in .wakatime.cfg to obfuscate file names
|
||||
|
||||
|
||||
2.0.4 (2014-07-25)
|
||||
++++++++++++++++++
|
||||
|
||||
- use unique logger namespace to prevent collisions in shared plugin environments
|
||||
|
||||
|
||||
2.0.3 (2014-06-18)
|
||||
++++++++++++++++++
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
from __future__ import print_function
|
||||
|
||||
__title__ = 'wakatime'
|
||||
__version__ = '2.0.5'
|
||||
__version__ = '2.0.6'
|
||||
__author__ = 'Alan Hamlett'
|
||||
__license__ = 'BSD'
|
||||
__copyright__ = 'Copyright 2014 Alan Hamlett'
|
||||
|
@ -127,7 +127,7 @@ def parseConfigFile(configFile):
|
|||
return None
|
||||
except IOError:
|
||||
if not os.path.isfile(configFile):
|
||||
print('Error: Could not read from config file ~/.wakatime.conf')
|
||||
print('Error: Could not read from config file ~/.wakatime.cfg')
|
||||
return configs
|
||||
|
||||
|
||||
|
@ -284,7 +284,7 @@ def send_action(project=None, branch=None, stats=None, key=None, targetFile=None
|
|||
log.debug(data)
|
||||
|
||||
# setup api request
|
||||
request = Request(url=url, data=json.dumps(data))
|
||||
request = Request(url=url, data=str.encode(json.dumps(data)))
|
||||
request.add_header('User-Agent', get_user_agent(plugin))
|
||||
request.add_header('Content-Type', 'application/json')
|
||||
auth = unicode('Basic {key}').format(key=bytes.decode(base64.b64encode(str.encode(key))))
|
||||
|
|
Loading…
Reference in a new issue