cucumber-nagios 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  # list of dependencies for a cucumber-nagios project
2
2
 
3
3
  #gem "bundler", "0.6.0"
4
- gem "cucumber", "0.4.0"
5
- gem "rspec", "1.2.9"
6
- gem "webrat", "0.5.3"
4
+ gem "cucumber", "0.6.1"
5
+ gem "rspec", "1.3.0"
6
+ gem "webrat", "0.6.0"
7
7
  gem "mechanize", "0.9.3"
8
- gem "templater", "0.5.0"
9
- gem "net-ssh", "2.0.15"
8
+ gem "templater", "1.0.0"
9
+ gem "net-ssh", "2.0.18"
10
10
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  unless ARGV[0]
4
- puts "Usage: #{__FILE__} <feature>"
5
- exit 99
4
+ puts "Usage: #{__FILE__} <feature> [--debug|--pretty]"
5
+ exit 4
6
6
  end
7
7
 
8
8
  __DIR__ = File.expand_path(File.dirname(__FILE__))
@@ -15,14 +15,14 @@ end
15
15
 
16
16
  unless File.exist?(feature)
17
17
  puts "Error: feature file doesn't exist!"
18
- exit 98
18
+ exit 4
19
19
  end
20
20
 
21
21
  command_parts = []
22
22
  command_parts << "#{__DIR__}/cucumber"
23
23
  command_parts << "--require #{features_dir}"
24
24
 
25
- if ARGV.grep(/^\-\-pretty$/).size > 0
25
+ if ARGV.include?("--pretty")
26
26
  command_parts << "--format pretty"
27
27
  else
28
28
  command_parts << "--format Cucumber::Formatter::Nagios"
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'webrat'
5
- require 'webrat/mechanize'
5
+ require 'webrat/adapters/mechanize'
6
6
  require 'net/ssh'
7
7
 
8
8
  class ResponseHelper
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-nagios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lindsay Holmwood
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-11 00:00:00 +01:00
12
+ date: 2010-01-16 00:00:00 +13:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency