Skip to content

Commit

Permalink
Updated deps, updated docs, dropped legacy rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Parak committed Aug 15, 2013
1 parent 71f592e commit 67d1327
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 40 deletions.
8 changes: 0 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,3 @@ group :development do
gem 'warbler', :git => 'git://github.com/jruby/warbler.git', :ref => 'ce3ce4df137504822e4cbb9399dee7e7dd767c44'
gem 'rubygems-tasks', :git => 'git://github.com/postmodern/rubygems-tasks.git'
end

platforms :jruby do
gem 'jruby-openssl' if ((defined? JRUBY_VERSION) && (JRUBY_VERSION.split('.')[1].to_i < 7))
end

platforms :ruby_18 do
gem 'oniguruma'
end
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,21 @@ Requirements
------------

### Ruby
* at least version 1.8.7 is required
* Ruby 1.9.3+ is recommended
* RubyGems installed
* rake installed (e.g., `gem install rake`)
* Ruby 1.9.3 is required
* RubyGems have to be installed
* Rake has to be installed (e.g., `gem install rake`)

### Libraries/packages
* libxslt1-dev/libxslt-devel
* libxml2-dev/libxml2-devel
* **only if using Ruby 1.8.7:** libonig-dev/oniguruma-devel (Linux) or oniguruma (Mac)

### Examples
For distros based on Debian:
~~~
apt-get install ruby rubygems ruby-dev libxslt1-dev libxml2-dev libonig-dev
apt-get install ruby rubygems ruby-dev libxslt1-dev libxml2-dev
~~~

For distros based on RHEL:
~~~
yum install libxml2-devel libxslt-devel ruby-devel openssl-devel gcc gcc-c++ ruby rubygems oniguruma-devel
~~~
yum install libxml2-devel libxslt-devel ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
~~~
21 changes: 0 additions & 21 deletions ext/mkrf_conf.rb

This file was deleted.

5 changes: 2 additions & 3 deletions occi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ Gem::Specification.new do |gem|
gem.summary = %q{Executable OCCI client}
gem.homepage = 'https://github.com/gwdg/rOCCI'
gem.license = 'Apache License, Version 2.0'
gem.extensions = 'ext/mkrf_conf.rb'

gem.add_dependency 'occi-cli', '~> 4.0.1'
gem.add_dependency 'occi-cli', '~> 4.1.0'

gem.add_development_dependency 'rake'

gem.required_ruby_version = ">= 1.8.7"
gem.required_ruby_version = ">= 1.9.3"
gem.post_install_message = "This gem is just a wrapper providing backward compatibility and might be removed in the future! Please, consider using 'occi-cli' directly."
end

0 comments on commit 67d1327

Please sign in to comment.