Commit Graph

305 Commits

Author SHA1 Message Date
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
Hakan Ensari
60719cd215 Refactor Quote 2015-08-31 10:56:01 +01:00
Hakan Ensari
1c128eb84c Convert Snapshot into value object 2015-08-30 11:54:49 +01:00
Hakan Ensari
d4b98eef49 Remove Rollbar 2015-08-30 11:54:49 +01:00
Hakan Ensari
b95a2c5ee6 Refactor Currency 2015-08-30 11:54:48 +01:00
Hakan Ensari
214e8a8a1a Bump Ruby to 2.2.3 2015-08-30 11:54:48 +01:00