Skip to content

Commit

Permalink
Fixing dependencies for API compatibility
Browse files Browse the repository at this point in the history
Proposed fix for Issue auxesis#86

Current cucumber-nagios is not yet compatible with the latest versions
of cucumber, mechanize and amqp. Limiting version dependencies to known
compatible ones for now, until further development takes place.

I've committed changes to Gemfile.lock, though some suggest it shouldn't
be included in the repo for a gem.
(ref http://stackoverflow.com/a/4151540/418602)
  • Loading branch information
bendilley committed Dec 31, 2012
1 parent f900e93 commit 39c940c
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 114 deletions.
165 changes: 55 additions & 110 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,26 +1,13 @@
PATH
remote: ../cuken
specs:
cuken (0.1.22)
chef (~> 0.10.0)
childprocess (>= 0.1.7)
cucumber (> 1.0.0)
grit (~> 2.4.1)
open4
rspec
rvm (~> 1.8.0)
vagrant (~> 0.8.7)

PATH
remote: .
specs:
cucumber-nagios (0.9.2)
amqp (>= 0.6.7)
cucumber-nagios (0.9.3)
amqp (~> 0.6.7)
aruba (>= 0.3.4)
bundler (>= 1.0.13)
cucumber (>= 1.0.1)
cucumber (~> 1.1.2)
cuken (>= 0.1.1)
mechanize (>= 1.0.0)
mechanize (~> 1.0.0)
net-ssh (>= 2.1.4)
rspec (>= 2.5.0)
templater (>= 1.0.0)
Expand All @@ -29,147 +16,105 @@ PATH
GEM
remote: http://rubygems.org/
specs:
amq-client (0.9.2)
amq-protocol (>= 0.9.0)
eventmachine
amq-protocol (0.9.0)
amqp (0.9.4)
amq-client (~> 0.9.2)
amq-protocol (>= 0.9.0)
eventmachine
archive-tar-minitar (0.5.2)
aruba (0.4.11)
childprocess (>= 0.2.3)
cucumber (>= 1.1.1)
ffi (>= 1.0.11)
rspec (>= 2.7.0)
builder (3.0.0)
bunny (0.7.9)
chef (0.10.8)
amqp (0.6.7)
eventmachine (>= 0.12.4)
aruba (0.3.7)
childprocess (>= 0.1.9)
cucumber (>= 0.10.5)
rspec (>= 2.6.0)
builder (3.1.4)
bunny (0.8.0)
chef (0.9.18)
bunny (>= 0.6.0)
erubis
extlib
highline
json (>= 1.4.4, <= 1.6.1)
json (>= 1.4.4, <= 1.4.6)
mixlib-authentication (>= 1.1.0)
mixlib-cli (>= 1.1.0)
mixlib-config (>= 1.1.2)
mixlib-log (>= 1.3.0)
mixlib-log (>= 1.2.0)
moneta
net-ssh (~> 2.1.3)
net-ssh-multi (~> 1.1.0)
ohai (>= 0.6.0)
ohai (>= 0.5.7)
rest-client (>= 1.0.4, < 1.7.0)
treetop (~> 1.4.9)
uuidtools
childprocess (0.3.2)
ffi (~> 1.0.6)
cucumber (1.2.0)
childprocess (0.3.6)
ffi (~> 1.0, >= 1.0.6)
cucumber (1.1.9)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.10.0)
diff-lcs (>= 1.1.2)
gherkin (~> 2.9.0)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
cuken (0.1.8)
aruba (~> 0.3.6)
chef (~> 0.9.12)
grit (~> 2.4.1)
open4
rvm (~> 1.5.2)
diff-lcs (1.1.3)
domain_name (0.5.3)
unf (~> 0.0.3)
erubis (2.7.0)
eventmachine (0.12.10)
eventmachine (1.0.0)
extlib (0.9.15)
ffi (1.0.11)
gherkin (2.10.0)
ffi (1.2.0)
gherkin (2.9.3)
json (>= 1.4.6)
grit (2.4.1)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
highline (1.6.12)
i18n (0.6.0)
highline (1.6.15)
ipaddress (0.8.0)
json (1.5.4)
mechanize (2.5)
domain_name (~> 0.5, >= 0.5.1)
mime-types (~> 1.17, >= 1.17.2)
net-http-digest_auth (~> 1.1, >= 1.1.1)
net-http-persistent (~> 2.5, >= 2.5.2)
nokogiri (~> 1.4)
ntlm-http (~> 0.1, >= 0.1.1)
webrobots (~> 0.0, >= 0.0.9)
mime-types (1.18)
mixlib-authentication (1.1.4)
json (1.4.6)
mechanize (1.0.0)
nokogiri (>= 1.2.1)
mime-types (1.19)
mixlib-authentication (1.3.0)
mixlib-log
mixlib-cli (1.2.2)
mixlib-config (1.1.2)
mixlib-log (1.3.0)
moneta (0.6.0)
net-http-digest_auth (1.2)
net-http-persistent (2.6)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-ssh (2.1.4)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
net-ssh-multi (1.1)
net-ssh (>= 2.1.4)
net-ssh-gateway (>= 0.99.0)
nokogiri (1.5.2)
ntlm-http (0.1.1)
ohai (0.6.12)
mixlib-log (1.4.1)
moneta (0.7.1)
net-ssh (2.6.2)
nokogiri (1.5.6)
ohai (6.14.0)
ipaddress
mixlib-cli
mixlib-config
mixlib-log
systemu
yajl-ruby
open4 (1.3.0)
polyglot (0.3.3)
rack (1.4.1)
rack-test (0.6.1)
rack-test (0.6.2)
rack (>= 1.0)
rake (0.9.2.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.10.0)
rspec-core (~> 2.10.0)
rspec-expectations (~> 2.10.0)
rspec-mocks (~> 2.10.0)
rspec-core (2.10.0)
rspec-expectations (2.10.0)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.10.1)
rvm (1.8.6)
systemu (2.5.0)
rspec-mocks (2.12.1)
rvm (1.5.2)
systemu (2.5.2)
templater (1.0.0)
diff-lcs (>= 1.1.2)
extlib (>= 0.9.5)
highline (>= 1.4.0)
thor (0.14.6)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
unf (0.0.5)
unf_ext
unf_ext (0.0.4)
uuidtools (2.1.2)
vagrant (0.8.10)
archive-tar-minitar (= 0.5.2)
erubis (~> 2.7.0)
i18n (~> 0.6.0)
json (~> 1.5.1)
net-scp (~> 1.0.4)
net-ssh (~> 2.1.4)
thor (~> 0.14.6)
virtualbox (~> 0.9.1)
virtualbox (0.9.2)
ffi (~> 1.0.9)
term-ansicolor (1.0.7)
uuidtools (2.1.3)
webrat (0.7.3)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
webrobots (0.0.13)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
cucumber-nagios!
cuken!
rake (>= 0.8.3)
6 changes: 3 additions & 3 deletions cucumber-nagios.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Gem::Specification.new do |s|
s.executables = s.files.grep(/^bin/) { |f| File.basename(f) }
s.extra_rdoc_files = s.files.grep(/^[A-Z]+(\.md)*$/)

s.add_runtime_dependency "cucumber", ">= 1.0.1"
s.add_runtime_dependency "cucumber", "~> 1.1.2"
s.add_runtime_dependency "rspec", ">= 2.5.0"
s.add_runtime_dependency "aruba", ">= 0.3.4"
s.add_runtime_dependency "cuken", ">= 0.1.1"
s.add_runtime_dependency "webrat", ">= 0.7.2"
s.add_runtime_dependency "mechanize", ">= 1.0.0"
s.add_runtime_dependency "mechanize", "~> 1.0.0"
s.add_runtime_dependency "templater", ">= 1.0.0"
s.add_runtime_dependency "net-ssh", ">= 2.1.4"
s.add_runtime_dependency "amqp", ">= 0.6.7"
s.add_runtime_dependency "amqp", "~> 0.6.7"
s.add_runtime_dependency "bundler", ">= 1.0.13"
s.add_development_dependency "rake", ">= 0.8.3"
end
2 changes: 1 addition & 1 deletion lib/cucumber/nagios/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Cucumber
module Nagios
VERSION = '0.9.1'
VERSION = '0.9.3'
end
end

0 comments on commit 39c940c

Please sign in to comment.