Commit Graph

361 Commits

Author SHA1 Message Date
Hakan Ensari
6e09acc767
Add cache-control header to response 2023-03-01 14:28:18 +00:00
Hakan Ensari
9c974df575
Update build script 2023-03-01 13:50:01 +00:00
Hakan Ensari
62fd0e4b09
Fix rubocop offenses 2023-02-28 16:49:48 +00:00
Hakan Ensari
bbbd280762
Update Ruby and gems 2023-02-28 16:49:19 +00:00
Hakan Ensari
4b33029e22 Return error message in body 2022-03-07 12:02:12 +00:00
Hakan Ensari
79de4bcfc3 Update gems 2022-03-07 10:57:38 +00:00
Hakan Ensari
6fdb258e6d Update Ruby to latest 2022-03-07 10:57:31 +00:00
dependabot[bot]
dfcb4affce Bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 13:10:34 +03:00
Hakan Ensari
52cbbfcc06 Remove redundant #sort 2021-05-12 13:12:35 +01:00
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
dependabot[bot]
4e0210b123 Bump rexml from 3.2.4 to 3.2.5
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 10:22:20 +01:00
Hakan Ensari
5429266fc3 Remove Heroku deploy button 2021-04-24 21:41:08 +01:00
Hakan Ensari
112e574696 Remove docker-compose files 2021-04-24 21:37:09 +01:00
Johannes Brinksmeier
a80818049c add missing import of digest module 2021-04-07 10:59:54 +01:00
dependabot[bot]
18c024e30f Bump rack from 2.2.2 to 2.2.3
Bumps [rack](https://github.com/rack/rack) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.2...2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-24 19:51:00 +01:00
Hakan Ensari
82666af2d6 Switch to Roda
A first stab at replacing Sinatra with Roda
2020-05-08 14:50:09 +01:00
Hakan Ensari
535471509b Fix link 2020-05-03 20:48:22 +01:00
Hakan Ensari
08d7efb72c Remove obsolete file 2020-05-02 19:42:53 +01:00
Hakan Ensari
7e2c69132d Root returns link to docs 2020-05-02 19:38:36 +01:00
Hakan Ensari
1116343424 Fix spec 2020-05-02 18:34:38 +01:00
Hakan Ensari
ef683f0321 Revert "Fix error in ci?"
This reverts commit 59e780dbc0.
2020-05-02 18:34:20 +01:00
Hakan Ensari
59e780dbc0 Fix error in ci? 2020-05-02 18:20:04 +01:00
Hakan Ensari
267b142cd8 Fix bad name 2020-05-02 17:46:48 +01:00
Hakan Ensari
f8cca4731d Fix ruby deprecations 2020-05-02 17:09:03 +01:00
Hakan Ensari
52e57475ab Fix minitest deprecations 2020-05-02 17:08:47 +01:00
Hakan Ensari
cb8dd05177 Enable new cops by default 2020-05-02 17:07:54 +01:00
Hakan Ensari
c36aabeb61 Revert to using ruby image 2020-05-02 15:42:09 +01:00
Hakan Ensari
ff2ae41fc5 Install libpq-dev 2020-05-02 15:38:53 +01:00
Hakan Ensari
2d56ce2e77 Handle rounding edge case
A lower-rate base currency like IDR previously produced less precise quotes.

Fixes #14
2020-05-02 15:26:03 +01:00
Hakan Ensari
2e83b9d50d Fix 24b5435 2020-05-02 15:26:03 +01:00
Hakan Ensari
ec302e726c Refactor query building out of server 2020-05-02 15:14:47 +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
663034093f Add missing test 2020-04-02 17:13:41 +01:00
Hakan Ensari
a756d9a025 Refactor currency#between 2020-04-02 14:52:56 +01:00
Hakan Ensari
cb51bca58b Work around ecb rate limiting 2020-04-02 14:38:07 +01:00
Hakan Ensari
706e084eb2 Ditch codeclimate 2020-04-02 12:40:06 +01:00
Hakan Ensari
54ad3609b9 Bump codeclimate action 2020-04-02 12:17:54 +01:00
Hakan Ensari
7b47dc5744 Pin simplecov to 0.17 2020-04-01 21:57:56 +01:00
Hakan Ensari
da28f75ac2 Pin ruby version in ci 2020-04-01 21:10:17 +01:00
Hakan Ensari
3ff98a244e Bump ruby to 2.7.1 2020-04-01 21:10:11 +01:00
Hakan Ensari
5dc0ce44d9 Fix ci 2020-04-01 11:58:43 +01:00
Hakan Ensari
6107b48229 Bump postgres to 12 2020-04-01 11:54:04 +01:00
Hakan Ensari
24b5435e6d Sample weekly when querying over 365 days 2020-04-01 11:21:32 +01:00
Hakan Ensari
2b658b3d13 Update gems 2020-04-01 11:20:27 +01:00
Hakan Ensari
a0dbfbc929 Fix rubocop warnings 2020-04-01 11:20:19 +01:00
Hakan Ensari
3005aaaf7b Fix badge 2020-01-08 13:21:04 +00:00
Hakan Ensari
efeecc4057 Fix coverage in build script 2020-01-08 13:06:31 +00:00
Hakan Ensari
1099346973 Remove pry 2020-01-02 19:57:25 +03:00
Hakan Ensari
1adadecf6e Upgrade to Ruby 2.7.0 2020-01-02 19:57:25 +03:00