Permalink
Commits on Jan 10, 2017
  1. Drop caching

    committed Jan 10, 2017
  2. Don't override RACK_ENV

    committed Jan 9, 2017
  3. Use rack-cache

    committed Jan 9, 2017
Commits on Jan 9, 2017
  1. Fix Travis config

    committed Jan 9, 2017
Commits on Jan 8, 2017
  1. Always set Content-Type to JSON

    Fixes #45
    committed Jan 7, 2017
  2. Don't dump errors to log

    committed Jan 4, 2017
  3. Remove duplicate code

    committed Jan 4, 2017
  4. Update gems

    committed Jan 3, 2017
  5. Disable BlockLength cop

    committed Jan 3, 2017
  6. Cache responses

    committed Jan 3, 2017
  7. Update Ruby version

    committed Jan 3, 2017
Commits on Jan 3, 2017
  1. Remove unused logger

    committed Jan 3, 2017
  2. Fold conversion into quote

    committed Oct 11, 2016
  3. Remove dates from license

    committed Jan 3, 2017
Commits on Sep 22, 2016
  1. Update rescued exception

    The converter API allows the date as parameter and it needs to be
    rescued with an invalid date, and the exception is
    `PG::InvalidDatetimeFormat`, so the safest solution was to use the
    first ancestor of this exception which is the same one as the current
    `PG::DatetimeFieldOverflow`.
    madwork committed Sep 22, 2016
  2. Add GET #converter API route

    It adds a quote helper which return the Quote instance
    to be injected, and uses this new object for the quote's attributes.
    madwork committed Sep 22, 2016
  3. Implement Converter

    The API is fairly simple in order to get straight to the goal, convert
    an amount from a currency to another.
    I used the proposal from #25 which is similar to the google currency
    tool.
    madwork committed Sep 22, 2016
Commits on Jun 8, 2016
  1. Update gems

    committed Jun 8, 2016
  2. Configure rack cors

    committed Jun 8, 2016
Commits on May 9, 2016
  1. Remove obsolete line

    committed May 9, 2016
  2. Use rack-cors

    We will only return Access-Control headers if request includes an
    Origin header
    
    Fixes #18
    committed May 9, 2016
  3. 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
    committed May 8, 2016
Commits on May 3, 2016
  1. Add RVM configuration

    This configuration isolate deps in fixer-io gemset.
    gearnode committed May 3, 2016
  2. Bump ruby version

    gearnode committed May 3, 2016
Commits on Apr 25, 2016
  1. Fix OPTIONS requests

    committed Apr 25, 2016
  2. Remove redundant logic

    committed Apr 25, 2016
Commits on Apr 24, 2016
  1. Refactor internals

    - Removed yajl-ruby
    - Removed sinatra-jsonp
    - Inlined #halt_with_message
    - Added last_modified header to root path
    committed Apr 24, 2016
  2. 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
    committed Apr 24, 2016
  3. Refactor cross-origin

    - Drop cross_origin gem
    - Add header to all responses
    
    #18
    committed Apr 24, 2016
Commits on Apr 12, 2016
  1. Improve Docker setup

    committed Apr 12, 2016