kylejginavan/youtube_it — pull request #50 by slainer68 (2012-02-03 16:34:39+00:00)
Title: Split client files

Hi,

in my opinion, because now youtube_it can be used with many clients (authsub, oauth, oauth2), we should not load all the files and gems.

So I've just split the client in different classes (the client.rb was also becoming too big imho), and I've put them all put in different files in a subdirectory called "client". Each of them requires the gems they need (ie. the oauth client requires oauth and simple_oauth). I've also deleted references of oauth and simple_oauth in the gemspec.
I've changed the README to indicate that the developer has to require the gems and client he wants to use.

What do you think ?