Commit Graph

38 Commits

Author SHA1 Message Date
Hakan Ensari
4a1f4ca3c1 Use Rubocop and fix existing offences 2017-01-03 12:36:05 +00:00
Hakan Ensari
77f9fedaca Update gems 2016-06-08 14:50:30 +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
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
1d059cd049 Refactor cross-origin
- Drop cross_origin gem
- Add header to all responses

#18
2016-04-24 15:39:08 +01:00
Hakan Ensari
055017f68a Drop Virtus dependency 2016-04-11 15:05:41 +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
b1bc3ae1c0 Bump dependencies 2015-12-22 19:28:40 +00:00
Hakan Ensari
e59181dce5 Revert "Remove pry"
This reverts commit 0c8dfdbf01.
2015-09-10 19:49:08 +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
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
7d27d0cc52 Update gems 2015-05-25 12:13:46 +01:00
Hakan Ensari
14985cf3e8 Deploy to Digital Ocean 2015-03-09 14:56:52 +00:00
hakanensari
1d6c36eb3c Switch to Rollbar 2015-01-05 16:21:37 +01:00
hakanensari
44c3a6bb5c Update gems 2015-01-05 16:21:37 +01:00
hakanensari
449c5d641c Update Ruby and gems 2014-11-22 09:52:05 +00:00
hakanensari
f479803a92 Allow cross-origin
Closes #2
2014-10-07 12:08:28 +01:00
hakanensari
fb037c5234 Gardening 2014-09-30 10:48:20 +01:00
hakanensari
4720d7b1e8 Update gems 2014-07-08 15:36:35 +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
88447a1856 Update gems 2014-05-16 20:35:04 +01:00
Hakan Ensari
6753fcc49f Add Librato Rack 2014-05-13 11:39:38 +01:00
hakanensari
fd5babd5e9 Update gems 2014-05-01 12:01:24 +01:00
hakanensari
8b47118725 Add Newrelic 2014-05-01 11:59:27 +01:00
hakanensari
dc03a5838f Add Honeybadger 2014-03-14 12:48:58 +00:00
hakanensari
b2e001a706 Use sequel_pg 2014-03-14 12:22:04 +00:00
hakanensari
d987327fcb Update gems 2014-03-14 12:18:17 +00:00
hakanensari
5fbe9ca0e4 Add Rake to Gemfile 2014-03-14 11:41:00 +00:00
hakanensari
f26b2eca81 Update gems 2013-04-29 23:54:50 +01:00
Ezekiel Templin
391f9491b7 Update Rack 2013-02-07 23:10:58 -05:00
Hakan Ensari
631d42207b Refactor snapshot 2012-11-23 14:13:49 +00:00
Hakan Ensari
4029108601 Add minitest to Gemfile to stub tests 2012-11-21 12:31:10 +00:00
Hakan Ensari
9c4da44db4 Use shotgun 2012-11-21 11:24:29 +00:00
Hakan Ensari
db37382765 Bootstrap Minitest 2012-11-21 00:04:15 +00:00
Hakan Ensari
97e34dbc14 First commit 2012-11-20 16:36:12 +00:00