Fix i18n deprecation warning
Switch to errbit
Merge pull request #149 from alphagov/errbit

Switch to errbit
Update whenever

The crontab was failing to generate on Ruby 2.0 due to an outdated
version of Chronic
Add aws-ses back in for the sync error emails.

These emails have more debugging information than errbit, we track the
last few sql queries and the data in the importer which helps when debugging issues

This is extra information in addition to errbit, not replacing it.
Fix spec failure due to not setting dates correctly

We are relying on the dates in the factory which are not relative the
dates in the spec, and they are now failing.

We need to review all specs with dates to ensure that factory objects
have dates set explicitly.
add `Rollback` model

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/64898846)
Merge pull request #154 from bitzesty/rollbacks-history

add `Rollback` model
Add sed commands for database import

The production database dump contains various entries which try to set definer
of views to be an account which does not exist in the development VM. This will
cause errors when you try to import it in development:

```
ERROR 1227 (42000) at line 7199: Access denied; you need (at least one of) the SUPER privilege(s) for this operation
```

The offending lines look like:

```
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`tariff_temporal`@`%` SQL SECURITY DEFINER */
```

We can safely remove those in development.

Usage:

```
sed -f path/to/prod2dev.sed production-dump.sql > development-dump.sql
```
Update airbrake
Ignore release_xxx branches in travis

We've already tagged them as good in our CI environment; it seems
wasteful to repeat the build in travis.
Merge pull request #155 from alphagov/fix-preview

Update airbrake
update measure link scheme

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/69339772)
Merge pull request #157 from bitzesty/measure-link-scheme

update measure link scheme
Do not show section duplicates when searching via synonyms

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/68999382)
Merge pull request #159 from bitzesty/dedup-synonyms-search

Do not show section duplicates when searching via synonyms
Retry downloading update if update file is missing

When Tariff runs in multiserver environment one server may have
downloaded the update and marked as pending. If other server tries to
apply it, it won't find the file. Therefore we try to redownload if file
is missing.
fix specs