Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use Appraisal RubyGem to facilitate test coverage of dependencies

  • Loading branch information...
commit 3472060423a3952b1533b66d9353dbdca83fc0f6 1 parent 3c03579
@njonsson authored
View
11 Appraisals
@@ -0,0 +1,11 @@
+appraise 'capistrano-v2.x' do
+ gem 'capistrano', '~> 2'
+end
+
+appraise 'rake-v0.9.3' do
+ gem 'rake', '0.9.3'
+end
+
+appraise 'rake-v10.x' do
+ gem 'rake', '~> 10'
+end
View
1  Rakefile
@@ -1,3 +1,4 @@
+require 'appraisal'
begin
require 'bundler/gem_tasks'
rescue LoadError
View
1  cape.gemspec
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
s.require_paths = %w(lib)
s.has_rdoc = true
+ s.add_development_dependency 'appraisal', '~> 0'
s.add_development_dependency 'aruba', '~> 0'
s.add_development_dependency 'capistrano', '~> 2'
s.add_development_dependency 'rake', '>= 0.9.3'
View
7 gemfiles/capistrano_v2.x.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source "http://rubygems.org"
+
+gem "capistrano", "~> 2"
+
+gemspec :path=>"../"
View
66 gemfiles/capistrano_v2.x.gemfile.lock
@@ -0,0 +1,66 @@
+PATH
+ remote: /Users/nils/Sources/personal/cape
+ specs:
+ cape (1.7.0)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ appraisal (0.5.2)
+ bundler
+ rake
+ aruba (0.5.3)
+ childprocess (>= 0.3.6)
+ cucumber (>= 1.1.1)
+ rspec-expectations (>= 2.7.0)
+ builder (3.2.2)
+ capistrano (2.15.5)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
+ childprocess (0.3.9)
+ ffi (~> 1.0, >= 1.0.11)
+ cucumber (1.3.10)
+ builder (>= 2.1.2)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.12)
+ multi_json (>= 1.7.5, < 2.0)
+ multi_test (>= 0.0.2)
+ diff-lcs (1.2.5)
+ ffi (1.9.3)
+ gherkin (2.12.2)
+ multi_json (~> 1.3)
+ highline (1.6.20)
+ json_pure (1.8.1)
+ multi_json (1.8.2)
+ multi_test (0.0.2)
+ net-scp (1.1.2)
+ net-ssh (>= 2.6.5)
+ net-sftp (2.1.2)
+ net-ssh (>= 2.6.5)
+ net-ssh (2.7.0)
+ net-ssh-gateway (1.2.0)
+ net-ssh (>= 2.6.5)
+ rake (10.1.0)
+ rspec (2.14.1)
+ rspec-core (~> 2.14.0)
+ rspec-expectations (~> 2.14.0)
+ rspec-mocks (~> 2.14.0)
+ rspec-core (2.14.7)
+ rspec-expectations (2.14.4)
+ diff-lcs (>= 1.1.3, < 2.0)
+ rspec-mocks (2.14.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ appraisal (~> 0)
+ aruba (~> 0)
+ cape!
+ capistrano (~> 2)
+ json_pure
+ rake (>= 0.9.3)
+ rspec (~> 2)
View
7 gemfiles/rake_v0.9.3.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source "http://rubygems.org"
+
+gem "rake", "0.9.3"
+
+gemspec :path=>"../"
View
66 gemfiles/rake_v0.9.3.gemfile.lock
@@ -0,0 +1,66 @@
+PATH
+ remote: /Users/nils/Sources/personal/cape
+ specs:
+ cape (1.7.0)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ appraisal (0.5.2)
+ bundler
+ rake
+ aruba (0.5.3)
+ childprocess (>= 0.3.6)
+ cucumber (>= 1.1.1)
+ rspec-expectations (>= 2.7.0)
+ builder (3.2.2)
+ capistrano (2.15.5)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
+ childprocess (0.3.9)
+ ffi (~> 1.0, >= 1.0.11)
+ cucumber (1.3.10)
+ builder (>= 2.1.2)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.12)
+ multi_json (>= 1.7.5, < 2.0)
+ multi_test (>= 0.0.2)
+ diff-lcs (1.2.5)
+ ffi (1.9.3)
+ gherkin (2.12.2)
+ multi_json (~> 1.3)
+ highline (1.6.20)
+ json_pure (1.8.1)
+ multi_json (1.8.2)
+ multi_test (0.0.2)
+ net-scp (1.1.2)
+ net-ssh (>= 2.6.5)
+ net-sftp (2.1.2)
+ net-ssh (>= 2.6.5)
+ net-ssh (2.7.0)
+ net-ssh-gateway (1.2.0)
+ net-ssh (>= 2.6.5)
+ rake (0.9.3)
+ rspec (2.14.1)
+ rspec-core (~> 2.14.0)
+ rspec-expectations (~> 2.14.0)
+ rspec-mocks (~> 2.14.0)
+ rspec-core (2.14.7)
+ rspec-expectations (2.14.4)
+ diff-lcs (>= 1.1.3, < 2.0)
+ rspec-mocks (2.14.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ appraisal (~> 0)
+ aruba (~> 0)
+ cape!
+ capistrano (~> 2)
+ json_pure
+ rake (= 0.9.3)
+ rspec (~> 2)
View
7 gemfiles/rake_v10.x.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source "http://rubygems.org"
+
+gem "rake", "~> 10"
+
+gemspec :path=>"../"
View
66 gemfiles/rake_v10.x.gemfile.lock
@@ -0,0 +1,66 @@
+PATH
+ remote: /Users/nils/Sources/personal/cape
+ specs:
+ cape (1.7.0)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ appraisal (0.5.2)
+ bundler
+ rake
+ aruba (0.5.3)
+ childprocess (>= 0.3.6)
+ cucumber (>= 1.1.1)
+ rspec-expectations (>= 2.7.0)
+ builder (3.2.2)
+ capistrano (2.15.5)
+ highline
+ net-scp (>= 1.0.0)
+ net-sftp (>= 2.0.0)
+ net-ssh (>= 2.0.14)
+ net-ssh-gateway (>= 1.1.0)
+ childprocess (0.3.9)
+ ffi (~> 1.0, >= 1.0.11)
+ cucumber (1.3.10)
+ builder (>= 2.1.2)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.12)
+ multi_json (>= 1.7.5, < 2.0)
+ multi_test (>= 0.0.2)
+ diff-lcs (1.2.5)
+ ffi (1.9.3)
+ gherkin (2.12.2)
+ multi_json (~> 1.3)
+ highline (1.6.20)
+ json_pure (1.8.1)
+ multi_json (1.8.2)
+ multi_test (0.0.2)
+ net-scp (1.1.2)
+ net-ssh (>= 2.6.5)
+ net-sftp (2.1.2)
+ net-ssh (>= 2.6.5)
+ net-ssh (2.7.0)
+ net-ssh-gateway (1.2.0)
+ net-ssh (>= 2.6.5)
+ rake (10.1.0)
+ rspec (2.14.1)
+ rspec-core (~> 2.14.0)
+ rspec-expectations (~> 2.14.0)
+ rspec-mocks (~> 2.14.0)
+ rspec-core (2.14.7)
+ rspec-expectations (2.14.4)
+ diff-lcs (>= 1.1.3, < 2.0)
+ rspec-mocks (2.14.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ appraisal (~> 0)
+ aruba (~> 0)
+ cape!
+ capistrano (~> 2)
+ json_pure
+ rake (~> 10)
+ rspec (~> 2)
Please sign in to comment.
Something went wrong with that request. Please try again.