aruba-jbb 0.2.6.10 → 0.2.6.11

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,10 +1,13 @@
1
+ == 0.2.6.11 jbb
2
+ * administrative fix to gemspec data and dependencies
3
+ * added NO_ARUBA_STEPS env var to not load aruba/cucumber_steps.rb library (exp)
4
+
1
5
  == 0.2.6.10 jbb
2
6
  * increased default timeout to 20 seconds
3
7
 
4
8
  == Bug fixes
5
9
  * fixed implementation of environment variables
6
10
 
7
-
8
11
  == 0.2.6.9 jbb
9
12
  * added timeout method and basic support step definitions
10
13
  * somewhat improved api documentation
data/README.rdoc CHANGED
@@ -22,14 +22,13 @@ Then, just require the library in one of your Ruby files under
22
22
 
23
23
  require 'aruba'
24
24
 
25
- Note that aruba-jbb and aruba cannot co-exist in the same project in any
26
- case so that I have left the library name the same as upstream. This
27
- permits switching between the two in Bundler without having to alter env.rb
28
- as well. However, as of v-0.2.6.3 you have the option of requiring
29
- <tt>aruba_jbb</tt> instead.
30
-
31
- You now have sever api mehtods and a selection of step definitions that
32
- you can use in features that test stand-alone processes. Look at
25
+ Note that since aruba-jbb and aruba cannot co-exist in the same project
26
+ I have left the library name the same as upstream. This permits switching
27
+ between the two in Bundler without having to alter env.rb as well. However,
28
+ as of v-0.2.6.3 you have the option of requiring <tt>aruba_jbb</tt> instead.
29
+
30
+ You now have several api methods and a selection of step definitions available
31
+ that you can use in features which test stand-alone processes. Look at
33
32
  aruba/cucumber_steps.rb to see all the step definitions. Look at
34
33
  features/*.feature for examples (which are also testing Aruba itself).
35
34
  A start has been made at documenting the api as well. Any suggestions
@@ -165,6 +164,17 @@ So in your features you can write this:
165
164
  . . .
166
165
  <tt> When the user does have a file named "test"</tt>
167
166
 
167
+
168
+ == Experimental features
169
+
170
+ A new environment variable <tt>NO_ARUBA_STEPS</tt> now determines
171
+ whether or not the step definition library shipped with aruba-jbb
172
+ are loaded or not. No particular value is required. If the
173
+ variable is defined then the default step libraries are not loaded.
174
+ This obviously requires that you define your own steps that make
175
+ use of the Aruba api.
176
+
177
+
168
178
  == Note on Aruba-JBB Development Testing
169
179
 
170
180
  All previously encountered testing exceptions have been resolved.
data/aruba-jbb.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{aruba-jbb}
5
- s.version = "0.2.6.10"
5
+ s.version = "0.2.6.11"
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", "Mike Sassak"]
9
- s.date = %q{2010-09-29}
9
+ s.date = %q{2010-10-26}
10
10
  s.description = %q{Fork of Aruba, Cucumber steps for testing CLI applications.}
11
11
  s.email = %q{cukes@googlegroups.com}
12
12
  s.homepage = %q{http://github.com/byrnejb/aruba}
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.add_dependency 'cucumber', '~> 0.9.0'
17
17
  s.add_dependency 'background_process' # Can't specify a version - bundler/rubygems chokes on '2.1'
18
- s.add_development_dependency 'rspec', '~> 2.0.0.beta.22'
18
+ s.add_development_dependency 'rspec', '~> 2.0.0'
19
19
 
20
20
  s.rubygems_version = "1.3.7"
21
21
  s.files = `git ls-files`.split("\n")
@@ -25,5 +25,3 @@ Gem::Specification.new do |s|
25
25
  s.rdoc_options = ["--charset=UTF-8"]
26
26
  s.require_path = "lib"
27
27
  end
28
-
29
-
data/lib/aruba/api.rb CHANGED
@@ -583,8 +583,8 @@ module Aruba
583
583
 
584
584
  # run is the internal helper method that actually runs the external
585
585
  # test process, optionally failing if the exit status != 0. Takes an
586
- # optional thrid parameter to specific maximum time process should
587
- # take befor exiting.
586
+ # optional third parameter to specify the maximum time a process should
587
+ # take before exiting on its own.
588
588
  #
589
589
  # Usage:
590
590
  # When I run "ruby -e 'puts "hello world"'
data/lib/aruba.rb CHANGED
@@ -1,3 +1,5 @@
1
1
  require 'pathname'
2
2
  lib_path = Pathname.new(File.dirname(__FILE__)).realpath.to_s + '/'
3
- require lib_path + 'aruba/cucumber_steps'
3
+ unless ENV['NO_ARUBA_STEPS']
4
+ require lib_path + 'aruba/cucumber_steps'
5
+ end
data/lib/aruba_jbb.rb CHANGED
@@ -1,3 +1,5 @@
1
1
  require 'pathname'
2
2
  lib_path = Pathname.new(File.dirname(__FILE__)).realpath.to_s + '/'
3
- require lib_path + 'aruba/cucumber_steps'
3
+ unless ENV['NO_ARUBA_STEPS']
4
+ require lib_path + 'aruba/cucumber_steps'
5
+ end
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: 83
4
+ hash: 81
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 6
10
- - 10
11
- version: 0.2.6.10
10
+ - 11
11
+ version: 0.2.6.11
12
12
  platform: ruby
13
13
  authors:
14
14
  - "Aslak Helles\xC3\xB8y"
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2010-09-29 00:00:00 -04:00
22
+ date: 2010-10-26 00:00:00 -04:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -60,14 +60,12 @@ dependencies:
60
60
  requirements:
61
61
  - - ~>
62
62
  - !ruby/object:Gem::Version
63
- hash: 62196431
63
+ hash: 15
64
64
  segments:
65
65
  - 2
66
66
  - 0
67
67
  - 0
68
- - beta
69
- - 22
70
- version: 2.0.0.beta.22
68
+ version: 2.0.0
71
69
  type: :development
72
70
  version_requirements: *id003
73
71
  description: Fork of Aruba, Cucumber steps for testing CLI applications.