change version, and rename some files

parent b0d7c2b3
......@@ -80,7 +80,7 @@ end
- DELETE /items/{item id}/bitstreams/{bitstream id} - Delete item bitstream.
### Version
0.9.0
1.0.0
### Contributors
> - Mauricio Giacomini Girardello <mgg12@inf.ufpr.br>
......@@ -95,7 +95,7 @@ $ gem build dspace-rest-client.gemspec
To install:
```sh
gem install --local dspace-rest-client-0.9.0.gem
gem install --local dspace-rest-client-1.0.0.gem
```
### Development
......
Gem::Specification.new do |s|
s.name = 'dspace-rest-client'
s.version = '0.9.0'
s.name = 'dspace_rest_client'
s.version = '1.0.0'
s.date = '2015-04-17'
s.summary = "DSpace REST-API Client for Ruby!"
s.description = "DSpace REST-API Client for Ruby! Implements all DSpace REST-API endpoints requests."
......@@ -8,10 +8,12 @@ Gem::Specification.new do |s|
s.email = 'c3sl@c3sl.ufpr.br'
s.files = Dir['lib/*.rb'] +
Dir['lib/dspacerest/*.rb'] +
Dir['lib/dspacerest/repositories/*.rb'] +
Dir['lib/dspacerest/strategies/uploads/*.rb'] +
Dir['bin/*']
#s.files = `git ls-files -z`.split("\0")
#s.test_files = `git ls-files -z spec/`.split("\0")
s.homepage = 'https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client'
s.homepage = 'https://gitlab.c3sl.ufpr.br/c3sl/dspace-rest-client'
s.license = 'GNU General Public License'
s.add_dependency('rest-client', '>= 1.7', '< 2')
......
require File.dirname(__FILE__) + '/lib/dspace-rest-client'
require 'lib/dspace_rest_client'
require 'json'
client = DspaceClient.new('https://demo.dspace.org/rest')
......
# More logical way to require 'dspace-rest-client'
require File.dirname(__FILE__) + '/dspacerestclient'
require File.dirname(__FILE__) + '/dspace_client'
require File.dirname(__FILE__) + '/dspacerest/bitstream'
require File.dirname(__FILE__) + '/dspacerest/collection'
require File.dirname(__FILE__) + '/dspacerest/community'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment