-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from rdegges/develop
Python 3 support, 0.7 version upgrade
- Loading branch information
Showing
45 changed files
with
1,356 additions
and
1,052 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
language: python | ||
|
||
python: | ||
- '2.7' | ||
- '2.6' | ||
- '2.6' | ||
- '2.7' | ||
- '3.3' | ||
- '3.4' | ||
- 'pypy' | ||
|
||
env: | ||
global: | ||
- secure: TVFg6VDgzyE8VjPQVepE2JTXNbjpCBiiB3tF+rtjwzinnyPaesJ/a1P4XazzdP98Yjx1BPUxvB5kR0uDhseoUOGnZ0F5oeAr44sXZ1itGyANmFsF+cTK/zU2Ov7j+8deDypBxvgOad/LzAE0wihgNFpFopCPs0OdaBn7pfBiv40= | ||
- secure: dAgkutD1GS4VhlRF6tmC0MoKUTakIaFcaQ8vKBQzW9Z5Q+Knjmuwx4iArc73kByg5T1KloERNcKoAGrya9rwuUYFMldLtqeYK/nTMx8ejRZ0PmGqlpmtGvJR8iN+FSdLuiVkfKvZewRHybgQt0mL2886tihf1dbVWDWTcIk/gSc= | ||
- DJANGO="django>=1.4,<1.5" | ||
- DJANGO="django>=1.5,<1.6" | ||
- DJANGO="django>=1.6,<1.7" | ||
|
||
install: | ||
- pip install --use-mirrors ${DJANGO} | ||
- pip install --use-mirrors -r requirements.txt | ||
- pip install --use-mirrors -r test_requirements.txt | ||
|
||
script: | ||
- python manage.py test | ||
|
||
install: pip install -r requirements.txt | ||
script: python run_tests.py | ||
matrix: | ||
exclude: | ||
- python: "3.3" | ||
env: DJANGO="django>=1.4,<1.5" | ||
- python: "3.4" | ||
env: DJANGO="django>=1.4,<1.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
"""A simple library for building twilio-powered Django webapps.""" | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals, absolute_import | ||
|
||
__version__ = '0.6' | ||
""" | ||
A simple library for building twilio-powered Django webapps. | ||
""" | ||
|
||
__version__ = '0.7' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals, absolute_import | ||
|
||
"""Twilio REST client helpers.""" | ||
from django_twilio import settings | ||
""" | ||
Twilio REST client helpers. | ||
""" | ||
|
||
from twilio.rest import TwilioRestClient | ||
|
||
from .settings import TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN | ||
|
||
|
||
twilio_client = TwilioRestClient( | ||
settings.TWILIO_ACCOUNT_SID, | ||
settings.TWILIO_AUTH_TOKEN, version='2010-04-01') | ||
TWILIO_ACCOUNT_SID, | ||
TWILIO_AUTH_TOKEN, | ||
version='2010-04-01' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals, absolute_import | ||
|
||
"""django_twilio specific settings.""" | ||
""" | ||
django_twilio specific settings. | ||
""" | ||
|
||
from .utils import discover_twilio_creds | ||
from .utils import discover_twilio_credentials | ||
|
||
TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN = discover_twilio_creds() | ||
TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN = discover_twilio_credentials() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.