Adaptly/adaptly_pi — pull request #1 by flah00 (2012-03-15 05:30:41+00:00)
Title: Added faraday and oauth2, cleaned some crap up

/cc @nbryan
STAGING-SITE :
STORY: 26477997
Notifications : poland
Notification Message :
- Remove FakeWeb from your project
- Remove pg from your project from your project
- Remove authlogic and supporting files from your project
- Add this gem to your project
- Add new stubs to your project, ie

```
AdaptlyPI::HttpClient.new do |builder|
builder.adapter :test do |stub|
stub.get('/api/v1/me') { [200, {}, File.read(Rails.root.join('spec','fixtures','me.json'))] }
stub.get('/api/v1/brands') { [200, {}, File.read(Rails.root.join('spec','fixtures','brands.json'))] }
stub.get('/api/v1/brands/test') { [200, {}, File.read(Rails.root.join('spec','fixtures','brand.json'))] }
stub.get('/api/v1/campaigns/') { [200, {}, File.read(Rails.root.join('spec','fixtures','campaigns.json'))] }
stub.get('/api/v1/campaigns/test') { [200, {}, File.read(Rails.root.join('spec','fixtures','campaign.json'))] }
stub.get('/api/v1/campaigns/stats') { [200, {}, File.read(Rails.root.join('spec','fixtures','campaigns_stats.json'))] }
end
end

```
Test Cases : Should work with the Adaptly-Production sos login-service branch
Has Migration :
Notes :