Commit Graph

47 Commits

Author SHA1 Message Date
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
3c4f70cf49 Remove New Relic agent 2017-06-14 23:01:27 +01:00
Hakan Ensari
90146aa630 Update gems 2017-06-14 23:01:27 +01:00
Hakan Ensari
cc539ebdd0 Update Ruby version 2017-06-14 22:26:02 +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
a4384ce225 Update gems 2017-01-08 23:21:57 +00:00
Hakan Ensari
7b653b1fd8 Cache responses 2017-01-08 23:21:56 +00:00
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