Comments (3)
Flickraw is not usable if it does not fetch the methods. If you do not use it in your test environment, do not require it. (You may have a particulare use case)
I believe the logic for this should be outside the library:
if environment != 'TEST'
require 'flickraw'
end
from flickraw.
If it doesn't fetch the methods in require 'flickraw'
, then the library is in an unifinished state, ie you can't use ruby introspection methods or flickraw's flickr_methods
, flickr_objects
, etc...
Additionally if the methods are fetched on first call, this first call has a different behavior than the following call, like longer delay and the modification of internal objects.
That said, I pushed some code and it is now easier to switch to this behavior, you can see f4b281d4479bbb49b3e1f1d16fd802aebd7ecf85.
You can fork the branch noload and activate github gem building option if you want a gem.
from flickraw.
I have added options support to flickraw. Now you can do that:
FlickrawOptions = {:lazyload => true}
require 'flickraw'
from flickraw.
Related Issues (20)
- Error "::OAuthClient::FailedResponse" HOT 2
- Flickr Video: Filetype was not recognised HOT 4
- SSL exception HOT 15
- FlickRaw::FlickrAppNotConfigured Exception is thrown when shared secret is not set HOT 1
- to_hash result for photo cannot be saved in mongoid HOT 1
- Testing Flickraw with VCR gives erratic results HOT 2
- Can't stub request to Flickr API then I try test my controller. HOT 2
- Can't set FlickRaw.ca_file
- flickr.photos.getRecent NoMethodError HOT 1
- Use of deprecated Fixnum HOT 1
- [suggestion] Convert account credentials to constructor parameters HOT 2
- [suggestion] Merge FlickRaw::Flickr into FlickRaw HOT 2
- Thanks for this library! HOT 2
- Release new version to RubyGems HOT 6
- FlickRaw::FlickrAppNotConfigured (No API key defined!) HOT 1
- Upload broken?
- Cannot create new Flickr object (ArgumentError) HOT 2
- Neither authentication method work. HOT 1
- Bug in url_h, url_k HOT 1
- undefined method `keys' for "year":String (NoMethodError) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flickraw.