From 8dc7aa65e7d441fdac5a614656201a1acfd13b87 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Sat, 16 Mar 2013 16:02:15 +0100 Subject: [PATCH] deps, license, lib. --- Gemfile | 15 +++++++----- Gemfile.lock | 52 ++++++++++++++++++++++++++++++++++++++++ Rakefile | 14 +++++------ test/test_libvirt-ext.rb | 6 ++--- 4 files changed, 71 insertions(+), 16 deletions(-) create mode 100644 Gemfile.lock diff --git a/Gemfile b/Gemfile index c8e2d17..02320ed 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,15 @@ source "http://rubygems.org" gem "ruby-libvirt" +gem 'enum' +gem 'uuidtools' group :development do - gem "shoulda", ">= 0" - gem "yard", "~> 0.7" - gem "rdoc", "~> 3.12" - gem "bundler", "~> 1.0.0" - gem "jeweler", "~> 1.8.4" - gem "simpleconv", ">= 0" + gem "shoulda" + gem "yard" + gem "simplecov" + gem "rdoc" + gem "bundler" + gem "jeweler" + gem "simplecov" end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..ef24512 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,52 @@ +GEM + remote: http://rubygems.org/ + specs: + activesupport (3.2.12) + i18n (~> 0.6) + multi_json (~> 1.0) + bourne (1.1.2) + mocha (= 0.10.5) + enum (1.0.0) + git (1.2.5) + i18n (0.6.4) + jeweler (1.8.4) + bundler (~> 1.0) + git (>= 1.2.5) + rake + rdoc + json (1.7.7) + metaclass (0.0.1) + mocha (0.10.5) + metaclass (~> 0.0.1) + multi_json (1.6.1) + rake (10.0.3) + rdoc (4.0.0) + json (~> 1.4) + ruby-libvirt (0.4.0) + shoulda (3.3.2) + shoulda-context (~> 1.0.1) + shoulda-matchers (~> 1.4.1) + shoulda-context (1.0.2) + shoulda-matchers (1.4.2) + activesupport (>= 3.0.0) + bourne (~> 1.1.2) + simplecov (0.7.1) + multi_json (~> 1.0) + simplecov-html (~> 0.7.1) + simplecov-html (0.7.1) + uuidtools (2.1.3) + yard (0.8.5.2) + +PLATFORMS + ruby + +DEPENDENCIES + bundler + enum + jeweler + rdoc + ruby-libvirt + shoulda + simplecov + uuidtools + yard diff --git a/Rakefile b/Rakefile index d0a5a05..5c3866a 100644 --- a/Rakefile +++ b/Rakefile @@ -32,13 +32,13 @@ Rake::TestTask.new(:test) do |test| test.verbose = true end -require 'rcov/rcovtask' -Rcov::RcovTask.new do |test| - test.libs << 'test' - test.pattern = 'test/**/test_*.rb' - test.verbose = true - test.rcov_opts << '--exclude "gems/*"' -end +#require 'rcov/rcovtask' +#Rcov::RcovTask.new do |test| + #test.libs << 'test' + #test.pattern = 'test/**/test_*.rb' + #test.verbose = true + #test.rcov_opts << '--exclude "gems/*"' +#end task :default => :test diff --git a/test/test_libvirt-ext.rb b/test/test_libvirt-ext.rb index 9d6f940..8965d40 100644 --- a/test/test_libvirt-ext.rb +++ b/test/test_libvirt-ext.rb @@ -1,7 +1,7 @@ require 'helper' class TestLibvirtExt < Test::Unit::TestCase - should "probably rename this file and start testing for real" do - flunk "hey buddy, you should probably rename this file and start testing for real" - end + should 'exist' do + assert TestLibvirtExt, "No, lib does not exist." + end end