occi-api 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -9,46 +9,60 @@ rOCCI-api - A Ruby OCCI Framework
9
9
  Requirements
10
10
  ------------
11
11
 
12
- Ruby
12
+ ### Ruby
13
13
  * at least version 1.8.7 is required
14
-
15
- The following setup is recommended
16
-
17
- * Ruby 1.9.3+
14
+ * Ruby 1.9.3+ is recommended
18
15
  * RubyGems installed
16
+ * rake installed (e.g., `gem install rake`)
17
+
18
+ ### Libraries/packages
19
+ * libxslt1-dev/libxslt-devel
20
+ * libxml2-dev/libxml2-devel
21
+ * **only if using Ruby 1.8.7:** libonig-dev/oniguruma-devel (Linux) or oniguruma (Mac)
19
22
 
20
- The following libraries / packages may be required to use rOCCI
23
+ ### Examples
24
+ For distros based on Debian:
25
+ ~~~
26
+ apt-get install ruby rubygems ruby-dev libxslt1-dev libxml2-dev libonig-dev
27
+ ~~~
21
28
 
22
- * libxslt-dev
23
- * libxml2-dev
24
- * **only if using Ruby 1.8.7:** libonig-dev (Linux) or oniguruma (Mac)
29
+ For distros based on RHEL:
30
+ ~~~
31
+ yum install libxml2-devel libxslt-devel ruby-devel openssl-devel gcc gcc-c++ ruby rubygems oniguruma-devel
32
+ ~~~
25
33
 
26
34
  Installation
27
35
  ------------
28
36
 
37
+ ### From RubyGems.org
38
+
29
39
  To install the most recent stable version
30
40
 
41
+ gem install rake
31
42
  gem install occi-api
32
43
 
33
44
  To install the most recent beta version
34
45
 
46
+ gem install rake
35
47
  gem install occi-api --pre
36
48
 
37
- ### Installation from source
49
+ ### From source (dev)
50
+
51
+ **Installation from source should never be your first choice! Especially, if you are not familiar with RVM, Bundler, Rake and other dev tools for Ruby!**
52
+ **However, if you wish to contribute to our project, this is the right way to start.**
38
53
 
39
54
  To use rOCCI-api from source it is very much recommended to use RVM. [Install RVM](https://rvm.io/rvm/install/) with
40
55
 
41
56
  curl -L https://get.rvm.io | bash -s stable --ruby
42
-
43
- #### Ruby
57
+ rvm install 1.9.3
44
58
 
45
59
  To build and install the bleeding edge version from master
46
60
 
47
61
  git clone git://github.com/gwdg/rOCCI-api.git
48
62
  cd rOCCI-api
49
- rvm install ruby-1.9.3
50
63
  gem install bundler
51
64
  bundle install
65
+ bundle exec rake install
52
66
  rake install
53
67
 
54
68
  Usage
@@ -1,5 +1,5 @@
1
1
  module Occi
2
2
  module Api
3
- VERSION = "4.0.0" unless defined?(::Occi::Api::VERSION)
3
+ VERSION = "4.0.1" unless defined?(::Occi::Api::VERSION)
4
4
  end
5
5
  end
data/occi-api.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.require_paths = ["lib"]
20
20
  gem.extensions = 'ext/mkrf_conf.rb'
21
21
 
22
- gem.add_dependency 'occi-core'
22
+ gem.add_dependency 'occi-core', '~> 4.0.1'
23
23
  gem.add_dependency 'httparty'
24
24
  gem.add_dependency 'amqp'
25
25
  gem.add_dependency 'json'
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
33
33
  gem.add_development_dependency "yard-rspec"
34
34
  gem.add_development_dependency "yard-cucumber"
35
35
  gem.add_development_dependency "rspec-http"
36
- gem.add_development_dependency "webmock", "~>1.9.3"
36
+ gem.add_development_dependency "webmock", "~> 1.9.3"
37
37
 
38
38
  gem.required_ruby_version = ">= 1.8.7"
39
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: occi-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,24 +11,24 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-08-02 00:00:00.000000000 Z
14
+ date: 2013-08-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: occi-core
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
- - - ! '>='
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: '0'
23
+ version: 4.0.1
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  none: false
28
28
  requirements:
29
- - - ! '>='
29
+ - - ~>
30
30
  - !ruby/object:Gem::Version
31
- version: '0'
31
+ version: 4.0.1
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: httparty
34
34
  requirement: !ruby/object:Gem::Requirement