Closed nachogiljaldo closed 7 years ago
I know the build check is failing, but could this possible get fixed and merged in? Would really help me out on a project. @nachogiljaldo any chance you could recheck the specs?
Build passes now. I removed the dependency with phantomjs.rb which was used only in development and was actually breaking the tests (not in my personal laptop, but it was on Travis and my job's one). Problem was that since there are dependencies with phantomjs and phantomjs.rb it created problems (which was anyway not a good idea, because even if I had made the tests pass with the phantomjs.rb dependency, that wouldn't mean it would work on a real deployment).
Let me know whether that's fine or not. In case it is not, I created https://github.com/westoque/phantomjs.rb/pull/14 so we could refactor to use instance run method rather than static one and provide the options we need (but as I said already, it is not a good idea IMHO, since that would work only for phantomjs.rb but not with phantomjs which, if I understand correctly, the one used at runtime).
@maxwell could you please give your feedback on this and merge it is all fine? Thx!
@maxwell any feedback on this?
looks good to me
This PR is supposed to fix https://github.com/maxwell/screencap/issues/16 as well as allowing using any parameter from phantomjs that might be needed in the future.