ippa / chingu

OpenGL accelerated 2D game framework for Ruby
http://ippa.se/chingu
GNU Lesser General Public License v2.1
309 stars 66 forks source link

make the dependency on crack and rest-client optional #21

Closed erisdev closed 13 years ago

erisdev commented 13 years ago

I suspect most people won't be using the online high scores list, especially for smaller projects. Would it be possible to load OnlineHighScoreList or rest-client and crack on demand?

Trying to help my cousin learn Chingu and currently the dependency on rest-client is preventing Chingu loading at all. His Ubuntu installation seems to be missing net/https.rb and none of the advice online has actually yielded a result.

Making these dependencies optional since they're used only by a small part of the library would also be nice for people who just don't want to use them to reduce system clutter.

ippa commented 13 years ago

good call, I'll try to make it happen to rc3 later tonight.

ippa commented 13 years ago

fixed in rc3