Commit Graph

50 Commits

Author SHA1 Message Date
Hakan Ensari
c07c84ad1f Revert "Replace Unicorn with Puma"
This reverts commit 11c2d760bc.
2018-09-12 00:54:39 +01:00
Hakan Ensari
5789880a59 Update homepage 2018-09-11 17:59:42 +01:00
Hakan Ensari
8060f41566 Minor tweaks 2018-09-11 17:59:42 +01:00
Hakan Ensari
09ec280a81 Drop Guard, use Sass 2018-07-20 21:14:26 +01:00
Hakan Ensari
11c2d760bc Replace Unicorn with Puma 2018-07-20 21:02:46 +01:00
Hakan Ensari
2c91173ecf Rebrand, serve HTML 2018-06-08 15:32:52 +01: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
3c4f70cf49 Remove New Relic agent 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
7504abe6b4 Remove unnecessary empty lines 2017-01-10 12:06:03 +00:00
Hakan Ensari
7b653b1fd8 Cache responses 2017-01-08 23:21:56 +00:00
Hakan Ensari
34b631a0a4 Update Ruby version 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
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
b858e8c487 Bump ruby version 2016-05-03 15:26:54 +02: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
b6b697872e Set TargetRubyVersion to 2.3 in Rubocop 2016-04-11 15:05:15 +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
7284abfdd7 Bump Rails to 2.3.0 2015-12-30 19:50:56 +00:00
Hakan Ensari
4b8ae80a64 Bump Ruby version 2015-12-22 19:24:46 +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
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
Hakan Ensari
3ed4e6575f Bump Ruby version 2015-05-25 12:13:37 +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
Hakan Ensari
6753fcc49f Add Librato Rack 2014-05-13 11:39:38 +01:00
Hakan Ensari
814087a602 Bump Ruby version 2014-05-13 03:08:21 +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
506368481e Set Ruby version 2014-03-14 12:16:50 +00:00
hakanensari
5fbe9ca0e4 Add Rake to Gemfile 2014-03-14 11:41:00 +00: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