occi-cli 4.0.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,10 +1,6 @@
1
1
  language: ruby
2
2
 
3
- before_install:
4
- - sudo apt-get install -qq libonig-dev
5
-
6
3
  rvm:
7
- - 1.8.7
8
4
  - 1.9.3
9
5
  - 2.0.0
10
6
  - ruby-head
@@ -21,10 +17,6 @@ matrix:
21
17
  - rvm: ruby-head
22
18
  - rvm: jruby-head
23
19
  exclude:
24
- - rvm: 1.8.7
25
- jdk: openjdk7
26
- - rvm: 1.8.7
27
- jdk: oraclejdk7
28
20
  - rvm: 1.9.3
29
21
  jdk: openjdk7
30
22
  - rvm: 1.9.3
@@ -41,3 +33,5 @@ matrix:
41
33
  branches:
42
34
  only:
43
35
  - master
36
+ - 4.0.x
37
+ - 4.1.x
data/Gemfile CHANGED
@@ -6,11 +6,3 @@ group :development do
6
6
  gem 'warbler', :git => 'git://github.com/jruby/warbler.git', :ref => 'ce3ce4df137504822e4cbb9399dee7e7dd767c44'
7
7
  gem 'rubygems-tasks', :git => 'git://github.com/postmodern/rubygems-tasks.git'
8
8
  end
9
-
10
- platforms :jruby do
11
- gem 'jruby-openssl' if ((defined? JRUBY_VERSION) && (JRUBY_VERSION.split('.')[1].to_i < 7))
12
- end
13
-
14
- platforms :ruby_18 do
15
- gem 'oniguruma'
16
- end
data/README.md CHANGED
@@ -10,25 +10,23 @@ Requirements
10
10
  ------------
11
11
 
12
12
  ### Ruby
13
- * at least version 1.8.7 is required
14
- * Ruby 1.9.3+ is recommended
15
- * RubyGems installed
16
- * rake installed (e.g., `gem install rake`)
13
+ * Ruby 1.9.3 is required
14
+ * RubyGems have to be installed
15
+ * Rake has to be installed (e.g., `gem install rake`)
17
16
 
18
17
  ### Libraries/packages
19
18
  * libxslt1-dev/libxslt-devel
20
19
  * libxml2-dev/libxml2-devel
21
- * **only if using Ruby 1.8.7:** libonig-dev/oniguruma-devel (Linux) or oniguruma (Mac)
22
20
 
23
21
  ### Examples
24
22
  For distros based on Debian:
25
23
  ~~~
26
- apt-get install ruby rubygems ruby-dev libxslt1-dev libxml2-dev libonig-dev
24
+ apt-get install ruby rubygems ruby-dev libxslt1-dev libxml2-dev
27
25
  ~~~
28
26
 
29
27
  For distros based on RHEL:
30
28
  ~~~
31
- yum install libxml2-devel libxslt-devel ruby-devel openssl-devel gcc gcc-c++ ruby rubygems oniguruma-devel
29
+ yum install libxml2-devel libxslt-devel ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
32
30
  ~~~
33
31
 
34
32
  To use rOCCI-cli with Java, you need JRE 6 or 7. To build rOCCI-cli for Java, you need JDK 6 or 7.
@@ -144,6 +142,11 @@ To delete a compute resource use
144
142
  Changelog
145
143
  ---------
146
144
 
145
+ ### Version 4.1
146
+ * Dropped Ruby 1.8.x support
147
+ * Dropped jRuby 1.6.x support
148
+ * Updated dependencies
149
+
147
150
  ### Version 4.0
148
151
  * added extended support for OCCI-OS
149
152
  * updated human-readable output rendering
@@ -1,5 +1,5 @@
1
1
  module Occi
2
2
  module Cli
3
- VERSION = "4.0.1" unless defined?(::Occi::Cli::VERSION)
3
+ VERSION = "4.1.0" unless defined?(::Occi::Cli::VERSION)
4
4
  end
5
5
  end
data/occi-cli.gemspec CHANGED
@@ -18,9 +18,8 @@ Gem::Specification.new do |gem|
18
18
  gem.files = `git ls-files`.split("\n")
19
19
  gem.test_files = `git ls-files -- {test,spec}/*`.split("\n")
20
20
  gem.require_paths = ["lib"]
21
- gem.extensions = 'ext/mkrf_conf.rb'
22
21
 
23
- gem.add_dependency 'occi-api', '~> 4.0.1'
22
+ gem.add_dependency 'occi-api', '~> 4.1.0'
24
23
  gem.add_dependency 'highline'
25
24
  gem.add_dependency 'json'
26
25
 
@@ -33,5 +32,5 @@ Gem::Specification.new do |gem|
33
32
  gem.add_development_dependency "yard-rspec"
34
33
  gem.add_development_dependency "yard-cucumber"
35
34
 
36
- gem.required_ruby_version = ">= 1.8.7"
35
+ gem.required_ruby_version = ">= 1.9.3"
37
36
  end
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.1
4
+ version: 4.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 4.0.1
23
+ version: 4.1.0
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - ~>
30
30
  - !ruby/object:Gem::Version
31
- version: 4.0.1
31
+ version: 4.1.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: highline
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -197,8 +197,7 @@ email:
197
197
  - xparak@mail.muni.cz
198
198
  executables:
199
199
  - occi
200
- extensions:
201
- - ext/mkrf_conf.rb
200
+ extensions: []
202
201
  extra_rdoc_files: []
203
202
  files:
204
203
  - .gitignore
@@ -213,7 +212,6 @@ files:
213
212
  - bin/occi
214
213
  - config/warble.rb
215
214
  - doc/macosx.md
216
- - ext/mkrf_conf.rb
217
215
  - lib/occi-cli.rb
218
216
  - lib/occi/cli/helpers.rb
219
217
  - lib/occi/cli/occi_opts.rb
@@ -241,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
241
239
  requirements:
242
240
  - - ! '>='
243
241
  - !ruby/object:Gem::Version
244
- version: 1.8.7
242
+ version: 1.9.3
245
243
  required_rubygems_version: !ruby/object:Gem::Requirement
246
244
  none: false
247
245
  requirements:
data/ext/mkrf_conf.rb DELETED
@@ -1,34 +0,0 @@
1
- require 'rubygems'
2
- require 'rubygems/command.rb'
3
- require 'rubygems/dependency_installer.rb'
4
-
5
- begin
6
- Gem::Command.build_args = ARGV
7
- rescue NoMethodError
8
- # do nothing but warn the user
9
- warn "Gem::Command doesn't have a method named 'build_args'!"
10
- end
11
-
12
- warn 'Installing platform-specific dependencies.'
13
-
14
- warn 'Installing the most recent version of \'rake\''
15
- inst = Gem::DependencyInstaller.new
16
- inst.install "rake"
17
-
18
- if RUBY_PLATFORM == "java"
19
- warn 'Installing dependencies specific for jRuby'
20
-
21
- jrver = (JRUBY_VERSION || "").split('.').map{ |elm| elm.to_i }
22
- if jrver[0] == 1 && jrver[1] < 7
23
- warn 'Installing \'jruby-openssl\' for jRuby 1.6.x'
24
- inst.install "jruby-openssl"
25
- end
26
- else
27
- # Nothing to install for rOCCI-api here
28
- #warn 'Installing dependencies specific for Ruby'
29
- end
30
-
31
- # create dummy rakefile to indicate success
32
- f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w")
33
- f.write "task :default\n"
34
- f.close