cucumber-nagios 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
|
5
|
-
gem "rspec", "1.
|
6
|
-
gem "webrat", "0.
|
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.
|
9
|
-
gem "net-ssh", "2.0.
|
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
|
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
|
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.
|
25
|
+
if ARGV.include?("--pretty")
|
26
26
|
command_parts << "--format pretty"
|
27
27
|
else
|
28
28
|
command_parts << "--format Cucumber::Formatter::Nagios"
|
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.
|
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:
|
12
|
+
date: 2010-01-16 00:00:00 +13:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|