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
Hakan Ensari
93e9e65a3d
Disable BlockLength cop
2017-01-08 23:21:56 +00:00
Hakan Ensari
7b653b1fd8
Cache responses
2017-01-08 23:21:56 +00:00
Hakan Ensari
34b631a0a4
Update Ruby version
2017-01-08 23:21:56 +00:00
Hakan Ensari
0320b810c5
Remove unused logger
2017-01-03 12:50:54 +00:00
Hakan Ensari
60f980a6ee
Fold conversion into quote
2017-01-03 12:44:13 +00:00
Hakan Ensari
1754efd0cb
Remove dates from license
2017-01-03 12:44:13 +00:00
Hakan Ensari
4a1f4ca3c1
Use Rubocop and fix existing offences
2017-01-03 12:36:05 +00:00
Vincent Durand
597792c988
Update rescued exception
...
The converter API allows the date as parameter and it needs to be
rescued with an invalid date, and the exception is
`PG::InvalidDatetimeFormat`, so the safest solution was to use the
first ancestor of this exception which is the same one as the current
`PG::DatetimeFieldOverflow`.
2016-09-22 19:02:42 +02:00
Vincent Durand
ad64574745
Add GET #converter API route
...
It adds a quote helper which return the Quote instance
to be injected, and uses this new object for the quote's attributes.
2016-09-22 18:53:31 +02:00
Vincent Durand
46dbb66b0f
Implement Converter
...
The API is fairly simple in order to get straight to the goal, convert
an amount from a currency to another.
I used the proposal from #25 which is similar to the google currency
tool.
2016-09-22 18:51:27 +02:00
Hakan Ensari
77f9fedaca
Update gems
2016-06-08 14:50:30 +01:00
Hakan Ensari
2bb4aeb497
Configure rack cors
2016-06-08 14:49:43 +01:00
Hakan Ensari
d063f1ab24
Remove obsolete line
2016-05-09 12:01:51 +01:00
Hakan Ensari
250095d262
Use rack-cors
...
We will only return Access-Control headers if request includes an
Origin header
Fixes #18
2016-05-09 11:51:54 +01:00