Added VCR and WebMock.
Since we're going to record request made to Flickr with working credentials, we should really be filtering them. So, VCR::FilterData should take care of that using the before_record and before_playback hooks.
Let's configure VCR with the before_record and before_playback hooks using our VCR::FilterData class.
RSpec needs to know :vcr is the same as vcr: true or :vcr => true.
Added the ability to configure Kuva through a setup block, which can be specified in the config/initializers directory of a Rails application.
Added a Rails generator which copies the Kuva initializer template into the config/initializers directory of the hosting Rails application. Added the template itself as well.
Actually use the new setup (configuration) block for Kuva in the dummy Rails application. Now, since I didn't include my API key and shared secret in the repository (it was in my local .gitignore), the CONFIG constant wasn't set before. Which caused a failing build on Travis CI, this should at least fix that error. It won't work yet, since I haven't specified a valid API key and shared secret yet.
Let's actually use VCR to record our requests and filter the sensitive data in the cassettes using the VCR::FilterData class (not part of VCR itself. It was specifically created for this Rails engine). This should fix the build on Travis CI.