From 2b90f695760fbd36def731e0a67a1a6060f1b4d8 Mon Sep 17 00:00:00 2001 From: Boris Parak Date: Thu, 18 Jul 2013 13:26:27 +0200 Subject: [PATCH] Added wrapper providing backwards compat. --- .gitignore | 4 ++++ Gemfile | 3 +++ Rakefile | 3 +++ lib/occi/version.rb | 5 +++++ occi.gemspec | 22 ++++++++++++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 .gitignore create mode 100644 Gemfile create mode 100644 Rakefile create mode 100644 lib/occi/version.rb create mode 100644 occi.gemspec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b656977 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +Gemfile.lock +*.swp +pkg +coverage diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..07483b2 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org/" + +gemspec diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..be0f205 --- /dev/null +++ b/Rakefile @@ -0,0 +1,3 @@ +require 'rubygems/tasks' + +Gem::Tasks.new(:build => {:tar => true, :zip => true}, :sign => {:checksum => true, :pgp => false}) diff --git a/lib/occi/version.rb b/lib/occi/version.rb new file mode 100644 index 0000000..29c512e --- /dev/null +++ b/lib/occi/version.rb @@ -0,0 +1,5 @@ +module Occi + module Dummy + VERSION = "4.0.0.alpha.1" unless defined?(::Occi::Dummy::VERSION) + end +end diff --git a/occi.gemspec b/occi.gemspec new file mode 100644 index 0000000..4afa5e3 --- /dev/null +++ b/occi.gemspec @@ -0,0 +1,22 @@ +# coding: utf-8 +lib = File.expand_path('../lib/', __FILE__) +$:.unshift lib unless $:.include?(lib) + +require 'occi/version' + +Gem::Specification.new do |gem| + gem.name = "occi" + gem.version = Occi::Dummy::VERSION + gem.authors = ["Florian Feldhaus","Piotr Kasprzak", "Boris Parak"] + gem.email = ["florian.feldhaus@gwdg.de", "piotr.kasprzak@gwdg.de", "xparak@mail.muni.cz"] + gem.description = %q{OCCI is a collection of classes to simplify the implementation of the Open Cloud Computing API in Ruby} + gem.summary = %q{OCCI toolkit} + gem.homepage = 'https://github.com/gwdg/rOCCI' + gem.license = 'Apache License, Version 2.0' + + gem.add_dependency 'occi-cli' + + gem.add_development_dependency 'rubygems-tasks' + + gem.required_ruby_version = ">= 1.8.7" +end