Hey guys, We're glad you enjoyed it! The code is probably not optimized (far from that) because it is our first Ruby project (our research group decided to adopt it as our new default language), and we're struggling to get it right, but we know that are many things that could be done in a much better way.
The thing we are most concerned right now is to set a class structure that works, that can support everything rest-api has to offer, and that is somehow simple to use. Because the other things will come naturally if this structure is correct. I think it can also be used as basis to other projects written in other languages, and concept-proof for REST-API once that this only works if REST-API also works. 2015-01-28 15:20 GMT-02:00 Peter Dietz <pe...@longsight.com>: > Hi Bruno, > > Very cool to see. This could have a lot of potential. Especially if it can > make it much easier for sites to adopt and customize DSpace, or to build > things that would be too difficult in the current technology environment. I > potentially have a few upcoming project that would need to make heavy use of > a client application against the REST API. But, I'll take a look at this. > > ________________ > Peter Dietz > Longsight > www.longsight.com > pe...@longsight.com > p: 740-599-5005 x809 > > On Wed, Jan 28, 2015 at 9:28 AM, Bruno Zanette <brunonzane...@gmail.com> > wrote: >> >> Hello, folks! >> >> I and my teammates are building a Ruby gem to interact to DSpace >> REST-API to make easier to implement a Ruby (on Rails) app that uses >> DSpace as file and information server. >> >> The gem already has some functional features - such as get/post/put >> objects, login, logout and status request - but it is still on a very >> early stage of implementation. It uses 'rest-client' to do the >> requests. Most of what is missing are only some basic requests, error >> detection, and some other basic stuff that we decided to do later. >> >> The Source-Code is hosted at: >> https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client >> >> There is a example script on README file that shows how to use it. >> Basically there are 4 classes that implements each kind of Dspace >> object (Community, Collection, Item and Bitstream), and requests >> returns an single instance or an array of instances of some object. >> GET requests returns the required object, POST/PUT requests returns >> the object that has been created. >> >> Feel free to propose changes, to point mistakes, ... because that's >> what we want! >> We really hope you enjoy it and that it may help someone at some point! >> >> Cheers! >> >> -- >> Bruno Nocera Zanette >> +55 41 9992-2508 >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > -- Bruno Nocera Zanette +55 41 9992-2508 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette