Open acurley opened 10 years ago
It strikes me that the obvious answer is to amend the .gemspec
file to rest-client
1.6.8 but that seems premature and doesn't solve the problem. But if that is the consensus, I'll be glad to submit the pull request.
N.B. Unfortunately I don't have an answer yet to this issue and cannot make a pull rquest but felt to add it should others experience the same problem. When a solution is authored, either in this gem or
rest-client
, I'll be sure to link to this issueI recently ran
bundle update
on my application and among the various gems that updated wasrest-client
, which upgraded from 1.6.8 to 1.7.1 and was released three days ago.rest-client
is a dependency ofrubydora
whose.gemspec
file does not put a limitation on the version ofrest-client
. I noticed a significant performance decrease when running my specs and successfully isolated the cause torest-client
.Below is my
git diff
onGemfile.lock
and some time trials to prove problem. I even tried creating objects both with and without updates to Solr to ensure that the problem was with the write speed to Fedora. I create 10 AcquisitionProject objects (an ActiveFedora object) using FactoryGirl in four circumstances and use Ruby#Benchmark to give time results.Under rest-client 1.6.8
Under rest-client 1.7.1
I can find nothing on the
rest-client
issue tracker about others experiencing the same kind of slowness so perhaps the problem is somewhere inrubydora
and it's use of the RestClient class.