[WIP] Faraday

@jcwilk Another proof of concept...

I created a Faraday adapter using crystal lake. I'm not sure this is the best strategy for the longterm implementation, but it seems to work.
Rack already does that though, what would this do that mounting the rails
app via rack behind faraday doesn't? The things mounted behind Faraday are
all http client replacements.

On Fri, Sep 19, 2014 at 2:36 PM, Chris Friedrich <notifications@github.com>
wrote:

> In spec/requests/posting_spec.rb:
>
> > @@ -3,8 +3,9 @@
> >  describe 'Posting' do
> >
> >    let(:user_params) { { user: FactoryGirl.attributes_for(:user) } }
> > +  let(:conn) { Faraday.new(url: 'http://www.crystallake.com') { |f| f.adapter :crystal_lake } }
>
> Finally had a chance to read through this. I think we have the same ideas
> except a disconnect on what crystal_lake is. My intention for it is to
> simply be an HTTP client replacement. I'm expecting to build a separate
> lumos_rails HAL API client gem using Faraday in a later step.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lumoslabs/crystal_lake/pull/1/files#r17810966>.
>