aruba-jbb 0.2.6.3 → 0.2.6.4
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.
- data/.gitignore +2 -1
- data/History.txt +9 -1
- data/README.rdoc +19 -16
- data/aruba-jbb.gemspec +1 -1
- data/lib/aruba/api.rb +1 -1
- data/lib/aruba-jbb.rb +3 -0
- data/lib/aruba_jbb.rb +3 -0
- metadata +5 -3
data/.gitignore
CHANGED
data/History.txt
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
== 0.2.6.4 jbb
|
|
2
|
+
* Fix for ruby 1.9.2 change in handling StandardError objects as strings
|
|
3
|
+
|
|
4
|
+
== 0.2.6.3 jbb
|
|
5
|
+
* Revised documentation.
|
|
6
|
+
* Added aruba-jbb and aruba_jbb library calls
|
|
7
|
+
* Minor extension of do have syntax - 'do(?;es)? have'
|
|
8
|
+
|
|
1
9
|
== 0.2.6.2 jbb
|
|
2
|
-
*
|
|
10
|
+
* Merged aslak aruba-0.2.3
|
|
3
11
|
|
|
4
12
|
== 0.2.6 jbb
|
|
5
13
|
* Altered rebase method to handle Ruby 1.9 changes to String class. (JBB)
|
data/README.rdoc
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
= Aruba
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Aruba-jbb is a fork of http://github.com/aslakhellesoy/aruba and is found
|
|
4
|
+
at http://byrnejb/aruba.
|
|
4
5
|
|
|
5
|
-
Aruba is a set of api methods and cucumber steps for driving out command
|
|
6
|
-
line
|
|
7
|
-
C program, a Java program, a Perl script - anything.
|
|
6
|
+
Aruba-jbb is a set of api methods and cucumber steps for driving out command
|
|
7
|
+
line application behaviours. The command line application can be anything,
|
|
8
|
+
a compiled C program, a Java program, a Perl script - anything.
|
|
8
9
|
|
|
9
|
-
Aruba may also be used to test complex configuration files for third-party
|
|
10
|
+
Aruba-jbb may also be used to test complex configuration files for third-party
|
|
10
11
|
applications where the software itself may not be modified.
|
|
11
12
|
|
|
13
|
+
Aruba-jbb works with Ruby-1.8.7 and Ruby-1.9.2
|
|
14
|
+
|
|
12
15
|
|
|
13
16
|
== Usage
|
|
14
17
|
|
|
@@ -39,7 +42,15 @@ If it is desired to alter the awd then this fork provides for setting the
|
|
|
39
42
|
working directory to something else via the ARUBA_WORKING_DIR environmental
|
|
40
43
|
variable. This must be set relative to the user's cwd.
|
|
41
44
|
|
|
42
|
-
This fork also
|
|
45
|
+
This fork also provides support for a <tt>@no-aruba-tmpdir</tt> tag. Use of
|
|
46
|
+
this tag will cause Aruba to run the test application in the user's cwd
|
|
47
|
+
instead of the awd. When this tag is activated the directory contents are not
|
|
48
|
+
cleared, for obvious reasons. In fact, regardless of the tag, if the awd is
|
|
49
|
+
set to anything outside a directory tree containing a <tt>/tmp/</tt> portion
|
|
50
|
+
then an error is raised when trying to clear the contents. For similar reasons, when this is the case
|
|
51
|
+
the <tt>rebase</tt> method also raises an error.
|
|
52
|
+
|
|
53
|
+
This fork contains a <tt>rebase</tt> api method which creates soft
|
|
43
54
|
(symbolic) links inside aruba's working directory to directories rooted
|
|
44
55
|
at the user's own current working directory (cwd). This permits the
|
|
45
56
|
application to find its configuation and support files in their usual
|
|
@@ -55,14 +66,6 @@ This will cause Aruba to create soft links called <tt>./tmp/aruba/bin</tt>,
|
|
|
55
66
|
<tt>./tmp/aruba/config</tt> and <tt>./tmp/aruba/lib</tt> each pointing
|
|
56
67
|
to the corresponding directory in the user's cwd.
|
|
57
68
|
|
|
58
|
-
This fork also provides support for a <tt>@no-aruba-tmpdir</tt> tag. Use of
|
|
59
|
-
this tag will cause Aruba to run the test application in the user's cwd
|
|
60
|
-
instead of the awd. When this tag is activated the directory contents are not
|
|
61
|
-
cleared, for obvious reasons. In fact, if the awd is set to anything outside
|
|
62
|
-
a directory tree containing a <tt>/tmp/</tt> portion then an error is raised
|
|
63
|
-
when trying to clear the contents. For similar reasons, when this is the case
|
|
64
|
-
the <tt>rebase</tt> method also raises an error.
|
|
65
|
-
|
|
66
69
|
Upstream addressed the more limtied problem of locating <code>./bin</code>
|
|
67
70
|
by adding <code>@bin</code> tag which appends <code>./bin</code> to Cucumber's
|
|
68
71
|
LOADPATH. This technique is supported by Aruba-jbb as well.
|
|
@@ -72,12 +75,12 @@ LOADPATH. This technique is supported by Aruba-jbb as well.
|
|
|
72
75
|
|
|
73
76
|
Aruba once had a couple of step definitions to make it easier to test your
|
|
74
77
|
Ruby command line program with specific versions of Ruby (regardless of
|
|
75
|
-
what Ruby version you
|
|
78
|
+
what Ruby version you were using to invoke Cucumber). These were removed in
|
|
76
79
|
upstream's 0.2.2 version and are no longer present in this fork either.
|
|
77
80
|
The last version of this fork having them was 0.2.6.
|
|
78
81
|
|
|
79
82
|
To test against specific versions of Ruby using RVM you are advised to use
|
|
80
|
-
following idiom:
|
|
83
|
+
following idiom (note the comma between Ruby version numbers):
|
|
81
84
|
|
|
82
85
|
<code>$ rvm 1.9.2,1.8.7 exec cucumber [flags] [arguments] </code>
|
|
83
86
|
|
data/aruba-jbb.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{aruba-jbb}
|
|
5
|
-
s.version = "0.2.6.
|
|
5
|
+
s.version = "0.2.6.4"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Aslak Hellesøy", "David Chelimsky", "James B. Byrne"]
|
data/lib/aruba/api.rb
CHANGED
data/lib/aruba-jbb.rb
ADDED
data/lib/aruba_jbb.rb
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aruba-jbb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 79
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
9
|
- 6
|
|
10
|
-
-
|
|
11
|
-
version: 0.2.6.
|
|
10
|
+
- 4
|
|
11
|
+
version: 0.2.6.4
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- "Aslak Helles\xC3\xB8y"
|
|
@@ -97,11 +97,13 @@ files:
|
|
|
97
97
|
- features/output.feature
|
|
98
98
|
- features/step_definitions/aruba_dev_steps.rb
|
|
99
99
|
- features/support/env.rb
|
|
100
|
+
- lib/aruba-jbb.rb
|
|
100
101
|
- lib/aruba.rb
|
|
101
102
|
- lib/aruba/api.rb
|
|
102
103
|
- lib/aruba/aruba_extension_steps.rb
|
|
103
104
|
- lib/aruba/cucumber.rb
|
|
104
105
|
- lib/aruba/cucumber_steps.rb
|
|
106
|
+
- lib/aruba_jbb.rb
|
|
105
107
|
has_rdoc: true
|
|
106
108
|
homepage: http://github.com/byrnejb/aruba
|
|
107
109
|
licenses: []
|