Commit Graph

372 Commits

Author SHA1 Message Date
Hakan Ensari
a0a981e897 Use ON CONFLICT when fetching all records 2018-03-22 08:49:32 +00:00
Hakan Ensari
9389566ab0 Revert "Add some rake tasks for Docker"
This reverts commit 9d364565f6.
2018-03-17 14:41:44 +00:00
Hakan Ensari
9d364565f6 Add some rake tasks for Docker 2018-03-17 14:39:42 +00:00
Hakan Ensari
c655b16cb8 Add note to README 2018-03-17 14:28:52 +00:00
Hakan Ensari
fc98543702 Fix quoting amount to specific currency when base is Euro 2018-03-17 14:26:59 +00:00
Hakan Ensari
5e1ccaa5ef More notes on Docker 2018-03-09 12:35:43 +00:00
Hakan Ensari
15813d8e1c Add back base 2018-03-09 12:20:25 +00:00
Hakan Ensari
c13208c644 Fix broken test 2018-03-09 00:01:34 +00: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
9d0d22e504
Merge pull request #100 from nilsding/correct-sort-order
Sort rates by the currency ISO code
2018-01-27 13:26:38 +00:00
Georg Gadinger
48c5579974 Sort rates by the currency ISO code 2018-01-26 20:24:54 +01:00
Hakan Ensari
a0e174421b Update README
[ci skip]
2018-01-08 12:37:17 +00:00
Hakan Ensari
4eb8e0ec48 Fix missing rake task 2018-01-08 12:21:19 +00:00
Hakan Ensari
697b941632 Move scheduler back to separate container
Closes #94
2018-01-08 12:12:54 +00:00
Hakan Ensari
69c53367b1 Update gems 2018-01-08 12:11:47 +00:00
Hakan Ensari
a0a16684a6 Run scheduler in a separate process 2017-12-31 17:13:51 +00:00
Hakan Ensari
0874b54375 Remove obsolete gem 2017-12-31 17:13:21 +00:00
Hakan Ensari
b9d51c9a17 Update README 2017-12-31 16:52:17 +00:00
Hakan Ensari
f3e1827f2c Update rates in a separate thread in main app 2017-12-31 16:48:24 +00:00
Hakan Ensari
3e78e0ab6e Gardening
- Upgrade to Ruby 2.5
- Update dependencies
2017-12-31 16:35:03 +00:00
Hakan Ensari
cc47cff65f Release 1.0.0 2017-12-31 16:28:36 +00:00
Hakan Ensari
74cdb1c2d4 Limit log sizes 2017-11-23 10:03:58 +00:00
Hakan Ensari
1f37e0f2cf
Improve README 2017-11-12 23:17:18 +00:00
Hakan Ensari
36f4e95cfa Move to correct container 2017-11-10 12:58:38 +00:00
Hakan Ensari
e9b6ab8902
Serve traffic in non-SSL mode without redirecting 2017-11-10 11:48:30 +00:00
Hakan Ensari
ba35875a3e
Update README 2017-11-10 09:43:26 +00:00
Hakan Ensari
1f9c65419e Update README 2017-11-09 23:30:14 +00:00
Hakan Ensari
2903015e62 Add scheduler 2017-11-09 23:30:14 +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
d74fefa9c9 Improve docker setup
- Add .dockerignore
- Use version 3
- Move wait_for_it.sh to docker-compose.yml
- Persist db data
- Use nginx-proxy
- Use Letsencrypt in production
- Rate limit in production
2017-11-09 12:37:50 +00:00
Hakan Ensari
7eb3055f0f Correct update time quoted in README
Closes #74
2017-08-30 22:09:57 +03:00
Hakan Ensari
3c4f70cf49 Remove New Relic agent 2017-06-14 23:01:27 +01:00
Hakan Ensari
0e0d1374e8 Fix route syntax 2017-06-14 23:01:27 +01:00
Hakan Ensari
90146aa630 Update gems 2017-06-14 23:01:27 +01:00
Hakan Ensari
b05ed02b5e Remove app version 2017-06-14 23:01:27 +01:00
Hakan Ensari
40b4e39465 Rubocop fixes 2017-06-14 23:01:27 +01:00
Hakan Ensari
cc539ebdd0 Update Ruby version 2017-06-14 22:26:02 +01:00
Hakan Ensari
b5e8a94250 Make Travis great again 2017-06-14 22:26:02 +01:00
Thomas Taschauer
e2798f312e add FAQ for exchange rates on non-working days
fix #47
2017-02-06 18:53:37 +01:00
Hakan Ensari
b616346701 Move symbol filtering to Quote 2017-01-10 12:44:22 +00:00
Hakan Ensari
e5cb17d0b9 Drop caching 2017-01-10 12:21:19 +00:00
Hakan Ensari
11f3ddb0e4 Don't override RACK_ENV 2017-01-10 12:06:03 +00:00
Hakan Ensari
4dd1acec95 Use rack-cache 2017-01-10 12:06:03 +00:00
Hakan Ensari
7504abe6b4 Remove unnecessary empty lines 2017-01-10 12:06:03 +00:00
Hakan Ensari
6f62b73704 Fix Travis config 2017-01-09 00:24:50 +00:00
Hakan Ensari
3fdae1090b Always set Content-Type to JSON
Fixes #45
2017-01-08 23:21:57 +00:00
Hakan Ensari
2b85a05380 Don't dump errors to log 2017-01-08 23:21:57 +00:00
Hakan Ensari
9862a10685 Remove duplicate code 2017-01-08 23:21:57 +00:00
Hakan Ensari
a4384ce225 Update gems 2017-01-08 23:21:57 +00:00
Hakan Ensari
74b9ec11f0 Load tasks only in test env 2017-01-08 23:21:57 +00:00