Skip to content

Commit 58c15e4

Browse files
Merge branch 'master' into extensible
2 parents d05b2c1 + 0362ed2 commit 58c15e4

15 files changed

+68
-24
lines changed

Diff for: .travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,18 @@ matrix:
3636
python: "3.5"
3737
- env: TOX_ENV=py36-django20-postgis
3838
python: "3.6"
39+
- env: TOX_ENV=py35-django21-postgis
40+
python: "3.5"
41+
- env: TOX_ENV=py36-django21-postgis
42+
python: "3.6"
3943
- env: TOX_ENV=py35-django-master-postgis
4044
python: "3.5"
4145
- env: TOX_ENV=py36-django-master-postgis
4246
python: "3.6"
47+
- env: TOX_ENV=py37-django-master-postgis
48+
python: "3.7"
4349
allow_failures:
4450
# Django master is allowed to fail
4551
- env: TOX_ENV=py35-django-master-postgis
4652
- env: TOX_ENV=py36-django-master-postgis
53+
- env: TOX_ENV=py37-django-master-postgis

Diff for: AUTHORS.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Authors
66
* Adam Lawrence (`alaw005 <https://github.com/alaw005>`_, [email protected])
77
* Dave Kroondyk (`davekaro <https://github.com/davekaro>`_, [email protected])
88
* Joshua Goodwin (`jclgoodwin <https://github.com/jclgoodwin>`_, [email protected])
9+
* Jakub Dorňák (`misli <https://github.com/misli>`, [email protected])

Diff for: CHANGELOG.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
Changelog
22
=========
33

4-
Next (unreleased)
5-
~~~~~~~~~~~~~~~~~
4+
1.1.2 (2018-08-26)
5+
------------------
6+
* Add support for Django 2.0 and 2.1
67
* Handle latitude and longitudes with initial `+` sign.
78
(`issue #70`_).
9+
* Use ``.iterator()`` to save memory during export (`PR #80`_)
10+
* Fix validation error in admin for Frequency.exact_times
811

912
.. _`issue #70`: https://github.com/tulsawebdevs/django-multi-gtfs/issues/70
13+
.. _`PR #80`: https://github.com/tulsawebdevs/django-multi-gtfs/pull/80
1014

1115
1.1.1 (2017-08-02)
1216
------------------

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3
1+
FROM python:3.6
22
ENV PYTHONUNBUFFERED 1
33

44
RUN apt-get update

Diff for: examples/explore/docker_run.sh

100644100755
File mode changed.

Diff for: multigtfs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
from __future__ import unicode_literals
1616

17-
__version__ = str('1.1.1')
17+
__version__ = str('1.1.2')

Diff for: multigtfs/compat.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def _get_blank_value_19(field):
3131
else:
3232
return ''
3333

34+
3435
if DJ_VERSION >= LooseVersion('1.9'):
3536
get_blank_value = _get_blank_value_19
3637
else:

Diff for: multigtfs/migrations/0002_add_on_delete.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# flake8: noqa
23
from __future__ import unicode_literals
34

45
from django.db import migrations, models

Diff for: multigtfs/migrations/0003_auto_20180826_2041.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.15 on 2018-08-26 20:41
3+
# flake8: noqa
4+
from __future__ import unicode_literals
5+
6+
from django.db import migrations, models
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
('multigtfs', '0002_add_on_delete'),
13+
]
14+
15+
operations = [
16+
migrations.AlterField(
17+
model_name='frequency',
18+
name='exact_times',
19+
field=models.CharField(blank=True, choices=[('0', 'Trips are not exactly scheduled'), ('1', 'Trips are exactly scheduled from start time')], help_text='Should frequency-based trips be exactly scheduled?', max_length=1),
20+
),
21+
]

Diff for: multigtfs/models/frequency.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class Frequency(Base):
3333
help_text="Time in seconds before returning to same stop")
3434
exact_times = models.CharField(
3535
max_length=1, blank=True,
36-
choices=((0, 'Trips are not exactly scheduled'),
37-
(1, 'Trips are exactly scheduled from start time')),
36+
choices=(('0', 'Trips are not exactly scheduled'),
37+
('1', 'Trips are exactly scheduled from start time')),
3838
help_text="Should frequency-based trips be exactly scheduled?")
3939
extra_data = JSONField(default={}, blank=True, null=True)
4040

Diff for: requirements.dev.txt

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
coverage==4.0.3
2-
django-nose==1.4.4
3-
flake8==2.5.4
4-
ipdb==0.9.0
5-
ipython==4.1.2
1+
coverage==4.5.1
2+
django-nose==1.4.5
3+
flake8==3.5.0
4+
ipdb==0.11
5+
ipython==5.8.0
66
nose==1.3.7
7-
wheel==0.29.0
8-
twine==1.9.1
7+
wheel==0.31.1
8+
twine==1.11.0
99

1010
# tox
11-
virtualenv==14.0.6
12-
py==1.4.31
13-
tox==2.3.1
11+
virtualenv==16.0.0
12+
py==1.5.4
13+
tox==3.2.1
1414

1515
# Sphinx
16-
MarkupSafe==0.23
17-
Jinja2==2.8
18-
Pygments==2.1.2
19-
Sphinx==1.3.6
16+
MarkupSafe==1.0
17+
Jinja2==2.10
18+
Pygments==2.2.0
19+
Sphinx==1.7.7
2020

2121
# qa-all
22-
check-manifest==0.35
23-
pyroma==2.2
22+
check-manifest==0.37
23+
pyroma==2.4
2424

2525
# Google tools - not Python3 compat
2626
# transitfeed==1.2.15

Diff for: requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Django>=1.5
1+
Django>=1.8
22
jsonfield==1.0.3

Diff for: setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ universal = 1
55
ignore =
66
*.pyc
77
*/__pycache__
8+
.coverage

Diff for: setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ def get_long_description():
8686
"Development Status :: 5 - Production/Stable",
8787
"Environment :: Web Environment",
8888
"Framework :: Django",
89+
"Framework :: Django :: 1.8",
90+
"Framework :: Django :: 1.9",
91+
"Framework :: Django :: 1.10",
92+
"Framework :: Django :: 1.11",
93+
"Framework :: Django :: 2.0",
94+
"Framework :: Django :: 2.1",
8995
"Intended Audience :: Developers",
9096
"License :: OSI Approved :: Apache Software License",
9197
"Operating System :: OS Independent",

Diff for: tox.ini

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ envlist =
33
py{27,34}-django18-{postgis,spatiallite}
44
py{27,34,35}-django{19,110}-{postgis,spatiallite}
55
py{27,34,35,36}-django111-{postgis,spatiallite}
6-
py{35,36}-django{20,-master}-{postgis,spatiallite}
6+
py{35,36}-django20-{postgis,spatiallite}
7+
py{35,36,37}-django{21,-master}-{postgis,spatiallite}
78

89
[flake8]
910
exclude = .tox/*,.build/*,.dist/*,build/*
@@ -18,6 +19,7 @@ deps=
1819
django110: Django>=1.10,<1.11
1920
django111: Django>=1.11,<2.0
2021
django20: Django>=2.0,<2.1
22+
django21: Django>=2.1,<2.2
2123
django-master: https://github.com/django/django/archive/master.tar.gz
2224
postgis: psycopg2
2325
nose

0 commit comments

Comments
 (0)