auxesis-cucumber-nagios 0.2.2 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -1
- data/Rakefile +0 -3
- metadata +13 -7
- data/bin/common.rb +0 -7
- data/bin/cucumber +0 -12
- data/bin/cucumber-nagios +0 -26
- data/cucumber-nagios.gemspec +0 -19
data/README.md
CHANGED
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auxesis-cucumber-nagios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lindsay Holmwood
|
@@ -22,20 +22,26 @@ dependencies:
|
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: "0.5"
|
24
24
|
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rake
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0.8"
|
34
|
+
version:
|
25
35
|
description: cucumber-nagios lets you write high-level behavioural tests for your web applications that can be plugged into Nagios
|
26
36
|
email: lindsay@holmwood.id.au
|
27
|
-
executables:
|
28
|
-
|
37
|
+
executables:
|
38
|
+
- cucumber-nagios-gen
|
29
39
|
extensions: []
|
30
40
|
|
31
41
|
extra_rdoc_files: []
|
32
42
|
|
33
43
|
files:
|
34
|
-
- bin/common.rb
|
35
|
-
- bin/cucumber
|
36
|
-
- bin/cucumber-nagios
|
37
44
|
- bin/cucumber-nagios-gen
|
38
|
-
- cucumber-nagios.gemspec
|
39
45
|
- lib/generators/project/Rakefile
|
40
46
|
- lib/generators/project/features
|
41
47
|
- lib/generators/project/features/steps
|
data/bin/common.rb
DELETED
data/bin/cucumber
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Add '.rb' to work around a bug in IronRuby's File#dirname
|
3
|
-
$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'common'
|
7
|
-
rescue LoadError
|
8
|
-
require 'bin/common'
|
9
|
-
end
|
10
|
-
|
11
|
-
require 'cucumber/cli'
|
12
|
-
Cucumber::CLI.execute(ARGV)
|
data/bin/cucumber-nagios
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
if [ "$#" != "1" ]; then
|
4
|
-
echo "Usage: $0 <feature>"
|
5
|
-
exit 99
|
6
|
-
fi
|
7
|
-
|
8
|
-
dirname=$(dirname $0)
|
9
|
-
feature=$1
|
10
|
-
|
11
|
-
if [ ! -e "$feature" ]; then
|
12
|
-
echo "Error: feature file doesn't exist!"
|
13
|
-
exit 98
|
14
|
-
fi
|
15
|
-
|
16
|
-
$dirname/cucumber --require $dirname/common.rb \
|
17
|
-
--require features/ \
|
18
|
-
--format Nagios::NagiosFormatter \
|
19
|
-
$feature
|
20
|
-
retval=$?
|
21
|
-
|
22
|
-
if [ "$retval" -eq "1" ]; then
|
23
|
-
exit 2
|
24
|
-
else
|
25
|
-
exit $retval
|
26
|
-
fi
|
data/cucumber-nagios.gemspec
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = 'cucumber-nagios'
|
3
|
-
s.version = '0.2.2'
|
4
|
-
s.date = '2009-03-04'
|
5
|
-
|
6
|
-
s.summary = "web app testing plugin for Nagios using Cucumber/Webrat/Mechanize"
|
7
|
-
s.description = "cucumber-nagios lets you write high-level behavioural tests for your web applications that can be plugged into Nagios"
|
8
|
-
|
9
|
-
s.authors = ['Lindsay Holmwood']
|
10
|
-
s.email = 'lindsay@holmwood.id.au'
|
11
|
-
s.homepage = 'http://holmwood.id.au/~lindsay/2009/02/23/web-app-integration-testing-for-sysadmins-with-cucumber-nagios/'
|
12
|
-
s.has_rdoc = false
|
13
|
-
|
14
|
-
s.add_dependency('templater', '>= 0.5')
|
15
|
-
|
16
|
-
s.files = %w(bin/common.rb bin/cucumber bin/cucumber-nagios bin/cucumber-nagios-gen cucumber-nagios.gemspec lib/generators/project/Rakefile lib/generators/project/features lib/generators/project/features/steps lib/generators/project/features/steps/result_steps.rb lib/generators/project/features/steps/webrat_steps.rb lib/generators/project/features/support lib/generators/project/features/support/env.rb lib/generators/project/features/support/nagios.rb lib/generators/project/bin lib/generators/project/bin/common.rb lib/generators/project/bin/cucumber lib/generators/project/bin/cucumber-nagios lib/generators/project/bin/cucumber-nagios-gen lib/generators/project/.bzrignore lib/generators/project/.gitignore lib/generators/project/README LICENSE README.md Rakefile)
|
17
|
-
end
|
18
|
-
|
19
|
-
|