Commit Graph

18 Commits

Author SHA1 Message Date
Hakan Ensari
93d1ec7d22 Use or infer from .ruby-version 2021-05-12 13:12:21 +01:00
Hakan Ensari
6feaa0c372 Do housekeeping
- Bump ruby to 3.0.1
- Upgrade gems
- Add suggested rubocop rake plugin
- Fix rubocop warnings
- Add byebug and pry
2021-05-11 12:26:01 +01:00
Hakan Ensari
cb8dd05177 Enable new cops by default 2020-05-02 17:07:54 +01:00
Hakan Ensari
72fe6022c9 Housekeeping
- Use setup ruby action
- Update gems
- Rubocop fixes
- Don't mutate params
2020-05-02 15:13:50 +01:00
Hakan Ensari
b3a557e8d6 Split Rubocop files and fix warning 2019-11-22 13:12:25 +00:00
Hakan Ensari
f62426797d Handle interval where base is missing on older dates 2019-05-02 20:36:35 +01:00
Hakan Ensari
5057365be9 Add Rubocop Performance gem 2019-05-02 20:35:03 +01:00
Hakan Ensari
694803dd35 Bump Ruby and gems 2019-04-09 17:31:38 +01:00
Hakan Ensari
7d171ac7be Minor tweaks 2018-10-18 13:34:21 +01:00
Hakan Ensari
cf373f3efb Denormalise database schema
This way, we will have no issue fitting the entire dataset on the free tier of Heroku
2018-10-07 01:08:45 +01:00
Hakan Ensari
4df1d794c2 Don't return empty hashes
This happened when rebasing and converting to unavailable currencies. For instance, the following was returning empty hashes for dates prior to the release of the new Turkish Lira:

https://frankfurter.app/1999-01-01..?from=USD&to=TRY
2018-09-21 20:20:56 +01:00
Hakan Ensari
a96e56808e Implement time series
... along with some minor miscellaneous refactoring

This finally completes fixerAPI/fixer#22
2018-07-05 21:30:17 +01:00
Hakan Ensari
cfbb4ac4ac Repack app
I'm moving my company's server to a private location now that I have sold the domain. While prepping for this, I've done some cleanup and also threw in changes I had lingering on my hard drive.

- Run a single database query instead of two
- Fold the gem into the app and use Ox instead of REXML
- Simplify error handling logic
- Relax throttling
2018-03-08 23:51:36 +00:00
Hakan Ensari
3319c49dca Spring clean code base
- Bump ruby version
- Remove obsolete files, including deploy artefacts
- Don't use pride when testing
- Store gem and app in same repo
- Switch to asdf
2017-11-09 23:30:13 +00:00
Hakan Ensari
93e9e65a3d Disable BlockLength cop 2017-01-08 23:21:56 +00:00
Hakan Ensari
260dc65dff Disable Metrics/LineLength cop 2016-04-24 16:17:00 +01:00
Hakan Ensari
b6b697872e Set TargetRubyVersion to 2.3 in Rubocop 2016-04-11 15:05:15 +01:00
Hakan Ensari
bb60fa8eba Use Rubocop 2016-04-11 14:39:15 +01:00