wikipedia 1.0.0 on rubygems is broken
dwbutler opened this issue · 5 comments
Since Wikipedia changed the Page API, the wikipedia 1.0.0 gem on rubygems.org is broken. Would you mind pushing a new release? Thanks!
How drastically did they change the Page API? Do you have any resources/tips/code/etc on it? Would you have time to take a look at it?
I was referring to the fix in this commit: 39b8259
The gem should work as currently implemented in the repo. However, the version in rubygems is years out of date. 1.0.0 was released in 2010 and doesn't work with the new page api. It doesn't throw any exception, it just returns an irrelevant string instead of the page content.
Ah, I understand now, thanks! I've merged that commit, fixed the specs, and bumped the version to 1.1.0.
Unfortunately I don't currently have permission to publish a new version to RubyGems, as I wasn't the one to push the 1.0.0 release, but I've contacted the fellow who did so, and I'll get that done as soon as possible.
In the meantime, if you're using Bundler, you should be able to use:
gem 'wikipedia-client', :git => 'git://github.com/kenpratt/wikipedia-client.git'
Okay, 1.1.0 release pushed to RubyGems: https://rubygems.org/gems/wikipedia-client
Great, thanks!