Release v3.0.0
Enhancements:
- #35 dropped unused cookie store class, more informative Castle:Client constructor params
- #30 change request timeout to 500ms
- #31 remove auto-integration with Rails, Padrino, Sinatra (see BREAKING CHANGES, README)
BREAKING CHANGES:
- add
require 'castle/support/rails'to have Castle client instance available ascastlein your Rails controllers - add
require 'castle/support/padrino'to have Castle client instance available ascastlein your Padrino helpers - add
require 'castle/support/sinatra'to have Castle client instance available ascastlein your Sinatra helpers - request timeout uses milliseconds unit from now on
- renamed
track!toenable_tracking - renamed
do_no_track!todisable_tracking - renamed
don_no_track?totracked?with opposite behaviour Castle::Clientnow takes options as a second argument- drop support for ruby 2.1
- replaced
config.api_endpointwithconfig.hostandconfig.port - renamed
fetch_reviewtoCastle::Review.retrieve
Features: