Commit Graph

66 Commits

Author SHA1 Message Date
Hakan Ensari
3ff98a244e Bump ruby to 2.7.1 2020-04-01 21:10:11 +01:00
Hakan Ensari
1099346973 Remove pry 2020-01-02 19:57:25 +03:00
Hakan Ensari
1adadecf6e Upgrade to Ruby 2.7.0 2020-01-02 19:57:25 +03:00
Hakan Ensari
3b09ef7830 Remove shotgun 2019-12-24 15:21:51 +00:00
Hakan Ensari
2ef2c23aee Upgrade Ruby to 2.6.5
https://github.com/actions/setup-ruby/issues/24#issuecomment-526928674
2019-12-24 15:15:13 +00:00
Hakan Ensari
94bb47ba6e Add SimpleCov 2019-11-22 14:56:04 +00:00
Hakan Ensari
97c886700d Bump Ruby back down to 2.6.3 2019-11-22 14:38:37 +00:00
Hakan Ensari
12e8723d8a Bump Ruby to 2.6.5 2019-11-22 13:11:57 +00:00
Hakan Ensari
5057365be9 Add Rubocop Performance gem 2019-05-02 20:35:03 +01:00
Hakan Ensari
6c48bcadbe Yank content from server 2019-04-25 16:58:29 +01:00
Hakan Ensari
7e880dd7e4 Update runtime and gems 2019-04-25 16:37:56 +01:00
Hakan Ensari
694803dd35 Bump Ruby and gems 2019-04-09 17:31:38 +01:00
Hakan Ensari
067a3251dc Update Ruby and gems 2019-01-19 13:11:26 +00:00
Hakan Ensari
7d171ac7be Minor tweaks 2018-10-18 13:34:21 +01:00
Hakan Ensari
c1e1644c52 Implement currencies endpoint 2018-10-10 13:55:55 +01:00
Hakan Ensari
63b898571d Add sitemap 2018-10-09 15:55:20 +01:00
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