Hakan Ensari
82666af2d6
Switch to Roda
...
A first stab at replacing Sinatra with Roda
2020-05-08 14:50:09 +01:00
Hakan Ensari
52e57475ab
Fix minitest deprecations
2020-05-02 17:08:47 +01:00
Hakan Ensari
f62426797d
Handle interval where base is missing on older dates
2019-05-02 20:36:35 +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
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
2c91173ecf
Rebrand, serve HTML
2018-06-08 15:32:52 +01: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
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
40b4e39465
Rubocop fixes
2017-06-14 23:01:27 +01:00
Hakan Ensari
e5cb17d0b9
Drop caching
2017-01-10 12:21:19 +00:00
Hakan Ensari
4dd1acec95
Use rack-cache
2017-01-10 12:06:03 +00:00
Hakan Ensari
7b653b1fd8
Cache responses
2017-01-08 23:21:56 +00:00
Hakan Ensari
60f980a6ee
Fold conversion into quote
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
Hakan Ensari
07781b6d76
Use Oj to generate JSON
...
Warming up --------------------------------------
json 16.465k i/100ms
yajl 18.574k i/100ms
oj 34.073k i/100ms
Calculating -------------------------------------
json 182.828k (± 7.8%) i/s - 922.040k in
5.075699s
yajl 196.839k (± 4.5%) i/s - 984.422k in
5.011087s
oj 384.813k (± 5.9%) i/s - 1.942M in
5.065475s
Comparison:
oj: 384813.2 i/s
yajl: 196839.0 i/s - 1.95x slower
json: 182827.5 i/s - 2.10x slower
2016-05-09 11:51:54 +01:00
Hakan Ensari
702f6ac9aa
Refactor internals
...
- Removed yajl-ruby
- Removed sinatra-jsonp
- Inlined #halt_with_message
- Added last_modified header to root path
2016-04-24 17:15:02 +01:00
Hakan Ensari
be1dcce266
Set default date at run time
...
Fixes #11
2015-09-15 12:02:49 +01:00
Hakan Ensari
b35d1e4420
Add missing slash
2015-09-15 12:01:35 +01:00
hakanensari
bada8638a4
Fix failing test
2014-07-08 15:38:40 +01:00
hakanensari
36a49d848c
Merge branch 'master' of github.com:papercavalier/fixer-io
...
Conflicts:
.ruby-version
Gemfile.lock
lib/snapshot.rb
spec/api_spec.rb
2014-05-16 20:39:14 +01:00
hakanensari
3c146f643f
Handle more edge cases
2014-05-16 20:35:16 +01:00