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 |
|
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 |
|
Gearnode
|
eca85cc396
|
Add RVM configuration
This configuration isolate deps in fixer-io gemset.
|
2016-05-03 15:27:35 +02:00 |
|
Gearnode
|
b858e8c487
|
Bump ruby version
|
2016-05-03 15:26:54 +02:00 |
|
Hakan Ensari
|
92ed532543
|
Fix OPTIONS requests
#18
|
2016-04-25 19:10:15 +01:00 |
|
Hakan Ensari
|
ce44d37fe0
|
Remove redundant logic
|
2016-04-25 18:59:07 +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
|
59df76477e
|
Further refactor cross-origin
- Add all [required
headers](https://github.com/britg/sinatra-cross_origin/blob/master/lib/s
inatra/cross_origin.rb#L51-L58)
- Respond to preflight requests
#18
|
2016-04-24 16:19:36 +01:00 |
|
Hakan Ensari
|
260dc65dff
|
Disable Metrics/LineLength cop
|
2016-04-24 16:17:00 +01:00 |
|
Hakan Ensari
|
1d059cd049
|
Refactor cross-origin
- Drop cross_origin gem
- Add header to all responses
#18
|
2016-04-24 15:39:08 +01:00 |
|
Hakan Ensari
|
ae0e9a009a
|
Improve Docker setup
|
2016-04-12 14:57:20 +01:00 |
|
Hakan Ensari
|
055017f68a
|
Drop Virtus dependency
|
2016-04-11 15:05:41 +01:00 |
|
Hakan Ensari
|
b6b697872e
|
Set TargetRubyVersion to 2.3 in Rubocop
|
2016-04-11 15:05:15 +01:00 |
|
Hakan Ensari
|
168bfffd71
|
Merge branch 'master' of github.com:hakanensari/fixer-io
|
2016-04-11 14:42:06 +01:00 |
|
Hakan Ensari
|
e3ec244653
|
Update README
|
2016-04-11 14:40:48 +01:00 |
|
Hakan Ensari
|
1158b6ffee
|
Simplify Docker files
|
2016-04-11 14:40:44 +01:00 |
|
Hakan Ensari
|
d7b6e8c898
|
Suppress warnings
|
2016-04-11 14:40:24 +01:00 |
|
Hakan Ensari
|
9d0ed94abe
|
Refactor quote validation
|
2016-04-11 14:40:24 +01:00 |
|
Hakan Ensari
|
0471499846
|
Load rates when deploying
|
2016-04-11 14:40:23 +01:00 |
|
Hakan Ensari
|
12efdf8a1b
|
Update gems
- Moved pry to development group
- Updated fixer to drop Nokogiri dependency
|
2016-04-11 14:39:49 +01:00 |
|
Hakan Ensari
|
2f1c9b796b
|
Wrap bulk insert in a transaction
|
2016-04-11 14:39:23 +01:00 |
|
Hakan Ensari
|
bb60fa8eba
|
Use Rubocop
|
2016-04-11 14:39:15 +01:00 |
|
Hakan Ensari
|
51c315f949
|
Merge pull request #19 from 0x46616c6b/dockerfile
add dockerfile and docker-compose.yml
|
2016-04-08 00:09:16 +02:00 |
|
louis
|
671cba3c73
|
add docker-compose instruction to README.md
|
2016-04-07 21:00:59 +02:00 |
|
louis
|
3977ced331
|
add dockerfile and docker-compose.yml
|
2016-04-06 00:49:19 +02:00 |
|
Hakan Ensari
|
e109c5b7ed
|
Update Travis config
|
2015-12-30 20:01:48 +00:00 |
|
Hakan Ensari
|
b0517cdcc0
|
Fix upstart job name
|
2015-12-30 19:58:54 +00:00 |
|
Hakan Ensari
|
f69442e5e7
|
Ensure crontab updated when deploying
Closes #14
|
2015-12-30 19:53:00 +00:00 |
|
Hakan Ensari
|
bfe8313418
|
Use frozen_string_literal comment
|
2015-12-30 19:52:02 +00:00 |
|
Hakan Ensari
|
7284abfdd7
|
Bump Rails to 2.3.0
|
2015-12-30 19:50:56 +00:00 |
|
Hakan Ensari
|
576a3a9871
|
Add public folder
|
2015-12-22 20:20:34 +00:00 |
|
Hakan Ensari
|
af9f63f002
|
Refactor Quote
|
2015-12-22 19:46:10 +00:00 |
|
Hakan Ensari
|
b1bc3ae1c0
|
Bump dependencies
|
2015-12-22 19:28:40 +00:00 |
|
Hakan Ensari
|
4b8ae80a64
|
Bump Ruby version
|
2015-12-22 19:24:46 +00:00 |
|
Hakan Ensari
|
2edf0fd19e
|
Remove syntactic sugar
|
2015-09-16 10:33:22 +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 |
|
Hakan Ensari
|
5094956f7c
|
Add Last Modified header
|
2015-09-15 12:01:16 +01:00 |
|
Hakan Ensari
|
c1f2ed25e7
|
Refactor Api
|
2015-09-15 12:00:57 +01:00 |
|
Hakan Ensari
|
41c585ec3c
|
Poll ECB more frequently
|
2015-09-11 14:42:45 +01:00 |
|
Hakan Ensari
|
e59181dce5
|
Revert "Remove pry"
This reverts commit 0c8dfdbf01 .
|
2015-09-10 19:49:08 +01:00 |
|
Hakan Ensari
|
04d847afe0
|
Fix worker_processes
|
2015-09-02 22:32:25 +01:00 |
|
Hakan Ensari
|
0c8dfdbf01
|
Remove pry
|
2015-09-02 22:18:53 +01:00 |
|
Hakan Ensari
|
20733527c9
|
Update gems
|
2015-09-02 22:16:15 +01:00 |
|
Hakan Ensari
|
af13a6324a
|
Refactor rounding
|
2015-09-02 22:13:53 +01:00 |
|
Hakan Ensari
|
15e8d8b19b
|
Round to five significant digits
Fixes #10
|
2015-09-02 22:12:42 +01:00 |
|
Hakan Ensari
|
ddc0439340
|
Revert custom error
|
2015-09-02 22:11:57 +01:00 |
|
Hakan Ensari
|
cfa705764c
|
Update Travis config
|
2015-09-02 21:51:34 +01:00 |
|
Hakan Ensari
|
62f1ab2237
|
Use custom error
|
2015-09-01 13:04:29 +01:00 |
|