fleakr
fleakr copied to clipboard
A small, yet powerful, gem to interface with Flickr photostreams
Updates fleakr.gemspec with a current file manifest.
When attempting to use Fleakr built from 84ed804 (see #21 for PR), I get an exception: ``` /Users/nathan/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- fleakr/support/association (LoadError) from /Users/nathan/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from...
Running `gem build fleakr.gemspec` raises the following exception: ``` ERROR: While executing gem ... (Gem::InvalidSpecificationException) ["lib/fleakr/core_ext", "lib/fleakr/core_ext/false_class.rb", "lib/fleakr/core_ext/hash.rb", "lib/fleakr/core_ext/true_class.rb", "lib/fleakr/core_ext.rb", "test/unit/fleakr/core_ext", "test/unit/fleakr/core_ext/false_class_test.rb", "test/unit/fleakr/core_ext/hash_test.rb", "test/unit/fleakr/core_ext/true_class_test.rb"] are not files ```
I recommend applying #18 and #19 first. Once those are done, I'll be happy to rework this pull request.
I recommend accepting pull request #18 first.
- Addresses #17
Running `bundle install`, the following deprecation warning is raised: ``` The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org'...
https://code.flickr.net/2014/04/30/flickr-api-going-ssl-only-on-june-27th-2014/ Endpoints need to be changed to call https. I expect to have a pull request shortly.
Added a method to directly access images.
When using user.photos or Fleakr.search the resulting array will have additional methods to access the attributes of the root response element returned by Flickr. You can now do users.photos.pages, users.photos.totals...