occi-cli 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 +35 -18
- data/lib/occi/cli/version.rb +1 -1
- data/occi-cli.gemspec +1 -1
- metadata +6 -6
data/README.md
CHANGED
@@ -9,62 +9,79 @@ rOCCI-cli - 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`)
|
19
17
|
|
20
|
-
|
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)
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
|
23
|
+
### Examples
|
24
|
+
For distros based on Debian:
|
25
|
+
~~~
|
26
|
+
apt-get install ruby rubygems ruby-dev libxslt1-dev libxml2-dev libonig-dev
|
27
|
+
~~~
|
28
|
+
|
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
|
To use rOCCI-cli with Java, you need JRE 6 or 7. To build rOCCI-cli for Java, you need JDK 6 or 7.
|
27
35
|
|
28
36
|
Installation
|
29
37
|
------------
|
30
38
|
|
31
|
-
|
32
|
-
|
39
|
+
### From RubyGems.org
|
40
|
+
|
41
|
+
**[Mac OS X has some special requirements for the installation. Detailed information can be found in doc/macosx.md.](doc/macosx.md)**
|
33
42
|
|
34
43
|
To install the most recent stable version
|
35
44
|
|
45
|
+
gem install rake
|
36
46
|
gem install occi-cli
|
37
47
|
|
38
48
|
To install the most recent beta version
|
39
49
|
|
50
|
+
gem install rake
|
40
51
|
gem install occi-cli --pre
|
41
52
|
|
42
|
-
###
|
53
|
+
### From source (dev)
|
43
54
|
|
44
|
-
**Installation from source
|
55
|
+
**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!**
|
56
|
+
**However, if you wish to contribute to our project, this is the right way to start.**
|
45
57
|
|
46
58
|
To use rOCCI-cli from source it is very much recommended to use RVM. [Install RVM](https://rvm.io/rvm/install/) with
|
47
59
|
|
48
60
|
curl -L https://get.rvm.io | bash -s stable --ruby
|
49
|
-
|
50
|
-
|
61
|
+
rvm install 1.9.3
|
62
|
+
rvm use 1.9.3 --default
|
51
63
|
|
52
64
|
To build and install the bleeding edge version from master
|
53
65
|
|
54
66
|
git clone git://github.com/gwdg/rOCCI-cli.git
|
55
67
|
cd rOCCI-cli
|
56
|
-
rvm install ruby-1.9.3
|
57
68
|
gem install bundler
|
58
69
|
bundle install
|
70
|
+
bundle exec rake test
|
59
71
|
rake install
|
60
72
|
|
61
|
-
|
73
|
+
### From source, for Java
|
74
|
+
|
75
|
+
To use rOCCI-cli with Java it is very much recommended to use RVM. [Install RVM](https://rvm.io/rvm/install/) with
|
76
|
+
|
77
|
+
curl -L https://get.rvm.io | bash -s stable --ruby
|
78
|
+
rvm install jruby
|
79
|
+
rvm use jruby --default
|
62
80
|
|
63
81
|
To build a Java jar file from master use
|
64
82
|
|
65
83
|
git clone git://github.com/gwdg/rOCCI-cli.git
|
66
84
|
cd rOCCI-cli
|
67
|
-
rvm install jruby-1.7.4
|
68
85
|
gem install bundler
|
69
86
|
bundle install
|
70
87
|
warble
|
data/lib/occi/cli/version.rb
CHANGED
data/occi-cli.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: occi-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.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-
|
14
|
+
date: 2013-08-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: occi-api
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
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:
|
31
|
+
version: 4.0.1
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: highline
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|