upgrade external wakatime package to v1.0.1

This commit is contained in:
Alan Hamlett 2014-03-05 13:51:29 -08:00
parent 8a3375bb23
commit 48e1993b24
5 changed files with 13 additions and 7 deletions

View file

@ -3,6 +3,12 @@ History
------- -------
1.0.1 (2014-03-05)
++++++++++++++++++
- use new domain name wakatime.com
1.0.0 (2014-02-05) 1.0.0 (2014-02-05)
++++++++++++++++++ ++++++++++++++++++

View file

@ -1,4 +1,4 @@
Copyright (c) 2013 Alan Hamlett https://wakati.me Copyright (c) 2013 Alan Hamlett https://wakatime.com
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
@ -12,7 +12,7 @@ modification, are permitted provided that the following conditions are met:
in the documentation and/or other materials provided in the documentation and/or other materials provided
with the distribution. with the distribution.
* Neither the names of Wakatime or Wakati.Me, nor the names of its * Neither the names of Wakatime or WakaTime, nor the names of its
contributors may be used to endorse or promote products derived contributors may be used to endorse or promote products derived
from this software without specific prior written permission. from this software without specific prior written permission.

View file

@ -11,4 +11,4 @@ Go to http://wakatime.com to install the plugin for your text editor.
Installation Installation
------------ ------------
https://www.wakati.me/help/plugins/installing-plugins https://www.wakatime.com/help/plugins/installing-plugins

View file

@ -12,7 +12,7 @@ setup(
version=VERSION, version=VERSION,
license='BSD 3 Clause', license='BSD 3 Clause',
description=' '.join([ description=' '.join([
'Action event appender for Wakati.Me, a time', 'Action event appender for WakaTime, a time',
'tracking api for text editors.', 'tracking api for text editors.',
]), ]),
long_description=open('README.rst').read(), long_description=open('README.rst').read(),

View file

@ -13,7 +13,7 @@
from __future__ import print_function from __future__ import print_function
__title__ = 'wakatime' __title__ = 'wakatime'
__version__ = '1.0.0' __version__ = '1.0.1'
__author__ = 'Alan Hamlett' __author__ = 'Alan Hamlett'
__license__ = 'BSD' __license__ = 'BSD'
__copyright__ = 'Copyright 2013 Alan Hamlett' __copyright__ = 'Copyright 2013 Alan Hamlett'
@ -149,7 +149,7 @@ def parseArguments(argv):
help='optional text editor plugin name and version '+ help='optional text editor plugin name and version '+
'for User-Agent header') 'for User-Agent header')
parser.add_argument('--key', dest='key', parser.add_argument('--key', dest='key',
help='your wakati.me api key; uses api_key from '+ help='your wakatime api key; uses api_key from '+
'~/.wakatime.conf by default') '~/.wakatime.conf by default')
parser.add_argument('--ignore', dest='ignore', action='append', parser.add_argument('--ignore', dest='ignore', action='append',
help='filename patterns to ignore; POSIX regex syntax; can be used more than once') help='filename patterns to ignore; POSIX regex syntax; can be used more than once')
@ -227,7 +227,7 @@ def get_user_agent(plugin):
def send_action(project=None, branch=None, stats={}, key=None, targetFile=None, def send_action(project=None, branch=None, stats={}, key=None, targetFile=None,
timestamp=None, isWrite=None, plugin=None, **kwargs): timestamp=None, isWrite=None, plugin=None, **kwargs):
url = 'https://www.wakati.me/api/v1/actions' url = 'https://www.wakatime.com/api/v1/actions'
log.debug('Sending action to api at %s' % url) log.debug('Sending action to api at %s' % url)
data = { data = {
'time': timestamp, 'time': timestamp,