aruba-jbb 0.2.6.13 → 0.2.6.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/History.txt +5 -0
- data/aruba-jbb.gemspec +11 -4
- data/features/file_system_commands.feature +6 -0
- data/features/flushing.feature +1 -1
- data/features/interactive.feature +4 -4
- data/features/run_process.feature +11 -0
- data/features/std_out.feature +1 -1
- data/lib/aruba/api.rb +65 -53
- data/lib/aruba/cucumber_steps.rb +11 -6
- metadata +34 -16
data/Gemfile
CHANGED
data/History.txt
CHANGED
data/aruba-jbb.gemspec
CHANGED
@@ -2,18 +2,19 @@
|
|
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.14"
|
6
6
|
s.authors = ["Aslak Hellesøy", "David Chelimsky", "James B. Byrne", "Mike Sassak"]
|
7
|
-
s.date = %q{
|
7
|
+
s.date = %q{2011-02-18}
|
8
8
|
s.description = %q{Fork of Aruba, Cucumber steps for testing CLI applications.}
|
9
9
|
s.email = %q{cukes@googlegroups.com}
|
10
10
|
s.homepage = %q{http://github.com/byrnejb/aruba}
|
11
11
|
s.rdoc_options = ["--charset=UTF-8"]
|
12
12
|
s.summary = %q{Cucumber steps for testing external processes from the CLI}
|
13
13
|
|
14
|
-
s.add_dependency '
|
14
|
+
s.add_dependency 'builder', '>= 2.0.0'
|
15
|
+
s.add_dependency 'cucumber', '>= 0.9.3'
|
15
16
|
s.add_dependency 'background_process' # Can't specify a version - bundler/rubygems chokes on '2.1'
|
16
|
-
s.add_development_dependency 'rspec', '
|
17
|
+
s.add_development_dependency 'rspec', '>= 2.0.0'
|
17
18
|
|
18
19
|
s.rubygems_version = "1.3.7"
|
19
20
|
s.files = `git ls-files`.split("\n")
|
@@ -22,4 +23,10 @@ Gem::Specification.new do |s|
|
|
22
23
|
s.extra_rdoc_files = ["LICENSE", "README.rdoc", "History.txt"]
|
23
24
|
s.rdoc_options = ["--charset=UTF-8"]
|
24
25
|
s.require_path = "lib"
|
26
|
+
s.post_install_message = %Q(
|
27
|
+
Please check the History.txt and README.rdoc files for the latest
|
28
|
+
information regarding this release #{s.version}. The api now
|
29
|
+
contains some documentation but you should also check the contents of
|
30
|
+
lib/aruba/cucumber_steps.rb for working examples.
|
31
|
+
)
|
25
32
|
end
|
@@ -8,8 +8,14 @@ Feature: file system commands
|
|
8
8
|
Given I do have a directory named "foo/bar"
|
9
9
|
When I run "ruby -e \"puts test ?d, 'foo'\""
|
10
10
|
Then the stdout should contain "true"
|
11
|
+
|
11
12
|
|
12
13
|
Scenario: create a file
|
14
|
+
Given I do have a file named "bar/foo"
|
15
|
+
When I run "ruby -e \"puts test ?f, 'bar/foo'\""
|
16
|
+
Then the stdout should contain "true"
|
17
|
+
|
18
|
+
Scenario: create a file with content
|
13
19
|
Given I do have a file named "foo/bar/example.rb" with:
|
14
20
|
"""
|
15
21
|
puts "hello world"
|
data/features/flushing.feature
CHANGED
@@ -19,7 +19,7 @@ Feature: Flushing output
|
|
19
19
|
|
20
20
|
Scenario: Interactive Stdout should equal output length plus \n
|
21
21
|
When I run "ruby -e 'len = gets.chomp; puts :a.to_s * len.to_i'" interactively
|
22
|
-
And I type "65536"
|
22
|
+
And I type in "65536"
|
23
23
|
Then the output should contain "a"
|
24
24
|
And the output should be at least "65536" bytes long
|
25
25
|
|
@@ -13,8 +13,8 @@ Feature: Interactive process control
|
|
13
13
|
end
|
14
14
|
"""
|
15
15
|
When I run "ruby echo.rb" interactively
|
16
|
-
And I type "hello, world"
|
17
|
-
And I type "quit"
|
16
|
+
And I type in "hello, world"
|
17
|
+
And I type in "quit"
|
18
18
|
Then the output should contain:
|
19
19
|
"""
|
20
20
|
dlrow ,olleh
|
@@ -22,8 +22,8 @@ Feature: Interactive process control
|
|
22
22
|
|
23
23
|
Scenario: Running a native binary interactively
|
24
24
|
When I run "bc -q" interactively
|
25
|
-
And I type "4 + 3"
|
26
|
-
And I type "quit"
|
25
|
+
And I type in "4 + 3"
|
26
|
+
And I type in "quit"
|
27
27
|
Then the output should contain:
|
28
28
|
"""
|
29
29
|
7
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Feature: run command should only access libraries loaded by itself
|
2
|
+
|
3
|
+
In order to ensure that programs load all required libraries
|
4
|
+
As a developer using Cucumber
|
5
|
+
I want a process to fail if any lubraries are absent
|
6
|
+
|
7
|
+
|
8
|
+
Scenario: Missing libraries cause an error
|
9
|
+
When I run "ruby -e 'File.makedirs( \"tmp/fail\" )'" with errors
|
10
|
+
Then stderr should contain "undefined method `makedirs'"
|
11
|
+
|
data/features/std_out.feature
CHANGED
@@ -4,7 +4,7 @@ Feature: run command should not limit size of STDOUT
|
|
4
4
|
As a developer using Cucumber
|
5
5
|
I want all output in STDOUT to display
|
6
6
|
|
7
|
-
@
|
7
|
+
@announce
|
8
8
|
Scenario: Handle a large STDOUT data stream
|
9
9
|
#When I run "ruby -e \" 500.times.each { |i| puts %Q(rword #{i+1} ) * 6 }\""
|
10
10
|
#When I run "ruby -e \" 1000.times { puts %Q(rword ) * 12 }\""
|
data/lib/aruba/api.rb
CHANGED
@@ -27,7 +27,7 @@ module Aruba
|
|
27
27
|
# puts "hello world"
|
28
28
|
# """
|
29
29
|
#
|
30
|
-
def append_to_file(file_name, file_content)
|
30
|
+
def append_to_file( file_name, file_content )
|
31
31
|
in_current_dir do
|
32
32
|
File.open(file_name, 'a') { |f| f << file_content }
|
33
33
|
end
|
@@ -46,7 +46,7 @@ module Aruba
|
|
46
46
|
# aruba_working_dir_set allows before hooks to set aruba's
|
47
47
|
# working directory relative to user's cwd.
|
48
48
|
#
|
49
|
-
def aruba_working_dir_set(dir)
|
49
|
+
def aruba_working_dir_set( dir )
|
50
50
|
@aruba_working_dir = dir
|
51
51
|
dirs_init
|
52
52
|
end
|
@@ -77,14 +77,14 @@ module Aruba
|
|
77
77
|
rebase_dirs_clear
|
78
78
|
|
79
79
|
if ( ENV['ARUBA_REBASE'] != nil )
|
80
|
-
rebase(ENV['ARUBA_REBASE'].split(%r{,|;\s*}))
|
80
|
+
rebase( ENV['ARUBA_REBASE'].split( %r{,|;\s*} ) )
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
84
|
# assert_exact_output compares the contents of the combined output
|
85
85
|
# for an exact match to the argument. See assert_partial_output.
|
86
86
|
# #
|
87
|
-
def assert_exact_output(exact_output)
|
87
|
+
def assert_exact_output( exact_output )
|
88
88
|
combined_output.should == exact_output
|
89
89
|
end
|
90
90
|
|
@@ -96,13 +96,14 @@ module Aruba
|
|
96
96
|
# Then /should (pass|fail) with exactly:$/ do |pass_fail, exact_output|
|
97
97
|
# assert_exit_status_and_output(pass_fail == "pass", exact_output, true)
|
98
98
|
#
|
99
|
-
def assert_exit_status_and_output(expect_to_pass,
|
99
|
+
def assert_exit_status_and_output( expect_to_pass,
|
100
|
+
output, expect_exact_output)
|
100
101
|
if expect_exact_output
|
101
|
-
assert_exact_output(output)
|
102
|
+
assert_exact_output( output )
|
102
103
|
else
|
103
|
-
assert_partial_output(output)
|
104
|
+
assert_partial_output( output )
|
104
105
|
end
|
105
|
-
assert_exiting_with(expect_to_pass)
|
106
|
+
assert_exiting_with( expect_to_pass )
|
106
107
|
end
|
107
108
|
|
108
109
|
|
@@ -110,15 +111,15 @@ module Aruba
|
|
110
111
|
# output (partial) and also checks the exit status against the expected
|
111
112
|
# (zero or non-zero)
|
112
113
|
#
|
113
|
-
def assert_exit_status_and_partial_output(expect_to_pass, partial_output)
|
114
|
-
assert_partial_output(partial_output)
|
115
|
-
assert_exiting_with(expect_to_pass)
|
114
|
+
def assert_exit_status_and_partial_output( expect_to_pass, partial_output )
|
115
|
+
assert_partial_output( partial_output )
|
116
|
+
assert_exiting_with( expect_to_pass )
|
116
117
|
end
|
117
118
|
|
118
119
|
# assert_exiting_with checks the exit status and fails if
|
119
120
|
# the expected condition is not met.
|
120
121
|
#
|
121
|
-
def assert_exiting_with(expect_to_pass)
|
122
|
+
def assert_exiting_with( expect_to_pass )
|
122
123
|
if expect_to_pass
|
123
124
|
@last_exit_status.should == 0
|
124
125
|
else
|
@@ -139,8 +140,8 @@ module Aruba
|
|
139
140
|
# Then /the program should fail with:$/ do |content|
|
140
141
|
# assert_failing_with(content)
|
141
142
|
#
|
142
|
-
def assert_failing_with(partial_output)
|
143
|
-
assert_exit_status_and_partial_output(false, partial_output)
|
143
|
+
def assert_failing_with( partial_output )
|
144
|
+
assert_exit_status_and_partial_output( false, partial_output )
|
144
145
|
end
|
145
146
|
|
146
147
|
# assert_partial_output test if the provided string or rexexo occurs
|
@@ -152,8 +153,8 @@ module Aruba
|
|
152
153
|
# Then /I should see "([^\"]*)" in the output/ do |content\
|
153
154
|
# assert_partial_output(content)
|
154
155
|
#
|
155
|
-
def assert_partial_output(partial_output)
|
156
|
-
combined_output.should =~ regexp(partial_output)
|
156
|
+
def assert_partial_output( partial_output )
|
157
|
+
combined_output.should =~ regexp( partial_output )
|
157
158
|
end
|
158
159
|
|
159
160
|
# assert_passing_with uses assert_exit_status_and_partial_output.
|
@@ -166,8 +167,8 @@ module Aruba
|
|
166
167
|
# Then /the program should run successfully with "([^\"]*)"/ do |output|
|
167
168
|
# assert_passing_with(output)
|
168
169
|
#
|
169
|
-
def assert_passing_with(partial_output)
|
170
|
-
assert_exit_status_and_partial_output(true, partial_output)
|
170
|
+
def assert_passing_with( partial_output )
|
171
|
+
assert_exit_status_and_partial_output( true, partial_output )
|
171
172
|
end
|
172
173
|
|
173
174
|
# cd(path) changes aruba's working directory (awd) to path.
|
@@ -178,10 +179,10 @@ module Aruba
|
|
178
179
|
# When /I cd to "([^\"]*)"/ do |dir|
|
179
180
|
# cd(dir)
|
180
181
|
#
|
181
|
-
def cd(dir)
|
182
|
+
def cd( dir )
|
182
183
|
dirs << dir
|
183
184
|
raise "#{current_dir} is not a directory." \
|
184
|
-
unless File.directory?(current_dir)
|
185
|
+
unless File.directory?( current_dir )
|
185
186
|
end
|
186
187
|
|
187
188
|
# check_directory_presence(paths, expect_presence) operates on
|
@@ -202,7 +203,8 @@ module Aruba
|
|
202
203
|
# check_directory_presence(directories.raw.map{
|
203
204
|
# |directory_row| directory_row[0]}, true)
|
204
205
|
#
|
205
|
-
def check_directory_presence(paths, expect_presence)
|
206
|
+
def check_directory_presence( paths, expect_presence )
|
207
|
+
paths = paths_to_array( paths )
|
206
208
|
in_current_dir do
|
207
209
|
paths.each do |path|
|
208
210
|
if expect_presence
|
@@ -228,9 +230,9 @@ module Aruba
|
|
228
230
|
# When /the file "([^\"]*)" should contain exactly:$/ do |file,contents|
|
229
231
|
# check_exact_file_content(exact_output)
|
230
232
|
#
|
231
|
-
def check_exact_file_content(file, contents)
|
233
|
+
def check_exact_file_content( file, contents )
|
232
234
|
in_current_dir do
|
233
|
-
IO.read(file).should == contents
|
235
|
+
IO.read( file ).should == contents
|
234
236
|
end
|
235
237
|
end
|
236
238
|
|
@@ -253,10 +255,10 @@ module Aruba
|
|
253
255
|
# When /the file named "foo" should contain:$/ do |file, content|
|
254
256
|
# check_file_content(file, content, true)
|
255
257
|
#
|
256
|
-
def check_file_content(file, partial_content, expect_match)
|
257
|
-
regexp = regexp(partial_content)
|
258
|
+
def check_file_content( file, partial_content, expect_match )
|
259
|
+
regexp = regexp( partial_content )
|
258
260
|
in_current_dir do
|
259
|
-
content = IO.read(file)
|
261
|
+
content = IO.read( file )
|
260
262
|
if expect_match
|
261
263
|
content.should =~ regexp
|
262
264
|
else
|
@@ -280,13 +282,14 @@ module Aruba
|
|
280
282
|
# When /following files? should exist:$/ do |files|
|
281
283
|
# check_file_presence(files.raw.map{|file_row| file_row[0]}, true)
|
282
284
|
#
|
283
|
-
def check_file_presence(paths, expect_presence)
|
285
|
+
def check_file_presence( paths, expect_presence )
|
286
|
+
paths = paths_to_array( paths )
|
284
287
|
in_current_dir do
|
285
288
|
paths.each do |path|
|
286
289
|
if expect_presence
|
287
|
-
File.should be_file(path)
|
290
|
+
File.should be_file( path )
|
288
291
|
else
|
289
|
-
File.should_not be_file(path)
|
292
|
+
File.should_not be_file( path )
|
290
293
|
end
|
291
294
|
end
|
292
295
|
end
|
@@ -299,9 +302,9 @@ module Aruba
|
|
299
302
|
# It will not clear any directory that does not contain the directory
|
300
303
|
# <tt>/tmp/</tt> somewhare in its path.
|
301
304
|
#
|
302
|
-
def clean_up(dir = current_dir)
|
303
|
-
check_tmp_dir = File.expand_path(dir)
|
304
|
-
if File.fnmatch('**/tmp/**',check_tmp_dir)
|
305
|
+
def clean_up( dir = current_dir )
|
306
|
+
check_tmp_dir = File.expand_path( dir )
|
307
|
+
if File.fnmatch( '**/tmp/**', check_tmp_dir )
|
305
308
|
clean_up!
|
306
309
|
else
|
307
310
|
raise "#{check_tmp_dir} is outside the tmp " +
|
@@ -312,9 +315,9 @@ module Aruba
|
|
312
315
|
# clean_up! is an Internal helper method that clears the awd without
|
313
316
|
# checking for tmp in the directory path. Do not use this.
|
314
317
|
#
|
315
|
-
def clean_up!(dir = current_dir)
|
316
|
-
FileUtils.rm_rf(dir)
|
317
|
-
_mkdir(dir)
|
318
|
+
def clean_up!( dir = current_dir )
|
319
|
+
FileUtils.rm_rf( dir )
|
320
|
+
_mkdir( dir )
|
318
321
|
end
|
319
322
|
|
320
323
|
# combined_output is an internal helper methiod that concatenates the
|
@@ -370,9 +373,9 @@ module Aruba
|
|
370
373
|
# When /I do have a directory named "([^\"]*)"$/ do |dir_name|
|
371
374
|
# create_dir(dir_name)
|
372
375
|
#
|
373
|
-
def create_dir(dir_name)
|
376
|
+
def create_dir( dir_name )
|
374
377
|
in_current_dir do
|
375
|
-
_mkdir(dir_name)
|
378
|
+
_mkdir( dir_name )
|
376
379
|
end
|
377
380
|
end
|
378
381
|
|
@@ -395,11 +398,13 @@ module Aruba
|
|
395
398
|
# When /I do have an empty file named "([^\"]*)"$/ do |file_name|
|
396
399
|
# create_file(file_name, "")
|
397
400
|
#
|
398
|
-
def create_file(file_name, file_content, check_presence = false)
|
401
|
+
def create_file( file_name, file_content, check_presence = false )
|
399
402
|
in_current_dir do
|
400
|
-
raise
|
403
|
+
raise(
|
404
|
+
"expected #{ file_name } to be present"
|
405
|
+
) if check_presence && !File.file?(file_name)
|
401
406
|
_mkdir(File.dirname(file_name))
|
402
|
-
File.open(file_name, 'w') { |f| f << file_content }
|
407
|
+
File.open( file_name, 'w' ) { |f| f << file_content }
|
403
408
|
end
|
404
409
|
end
|
405
410
|
|
@@ -407,7 +412,7 @@ module Aruba
|
|
407
412
|
# as a path.
|
408
413
|
#
|
409
414
|
def current_dir
|
410
|
-
File.join(*dirs)
|
415
|
+
File.join( *dirs )
|
411
416
|
end
|
412
417
|
|
413
418
|
# current_ruby is an internal helper method that returns the
|
@@ -423,7 +428,7 @@ module Aruba
|
|
423
428
|
# the value of current_ruby to the <tt>run</tt> method. If not then
|
424
429
|
# it returns the the value of cmd.
|
425
430
|
#
|
426
|
-
def detect_ruby(cmd)
|
431
|
+
def detect_ruby( cmd )
|
427
432
|
if cmd =~ /^ruby\s/
|
428
433
|
cmd.gsub(/^ruby\s/, "#{current_ruby} ")
|
429
434
|
else
|
@@ -440,7 +445,7 @@ module Aruba
|
|
440
445
|
# detect_ruby_script is an internal helper script used in testing
|
441
446
|
# Aruba itself. Uses COMMON_RUBY_SCRIPTS.
|
442
447
|
#
|
443
|
-
def detect_ruby_script(cmd)
|
448
|
+
def detect_ruby_script( cmd )
|
444
449
|
if cmd =~ COMMON_RUBY_SCRIPTS
|
445
450
|
"ruby -S #{cmd}"
|
446
451
|
else
|
@@ -467,7 +472,7 @@ module Aruba
|
|
467
472
|
# ensure_newline is an internal helper method used to test interactive
|
468
473
|
# CLI programs with Aruba.
|
469
474
|
#
|
470
|
-
def ensure_newline(str)
|
475
|
+
def ensure_newline( str )
|
471
476
|
str.chomp << "\n"
|
472
477
|
end
|
473
478
|
|
@@ -475,9 +480,9 @@ module Aruba
|
|
475
480
|
# of Aruba takes place. It uses the value of current_dir to determine
|
476
481
|
# what directory to change to before running Aruba steps.
|
477
482
|
#
|
478
|
-
def in_current_dir(&block)
|
483
|
+
def in_current_dir( &block )
|
479
484
|
_mkdir(current_dir)
|
480
|
-
Dir.chdir(current_dir, &block)
|
485
|
+
Dir.chdir( current_dir, &block )
|
481
486
|
end
|
482
487
|
|
483
488
|
# install_gems internal helper method that uses up Bundler to
|
@@ -485,11 +490,11 @@ module Aruba
|
|
485
490
|
# current Ruby VM. If Bundler is not present then this method will
|
486
491
|
# attempt to install it.
|
487
492
|
#
|
488
|
-
def install_gems(gemfile)
|
489
|
-
create_file("Gemfile", gemfile)
|
493
|
+
def install_gems( gemfile )
|
494
|
+
create_file( "Gemfile", gemfile )
|
490
495
|
if ENV['GOTGEMS'].nil?
|
491
|
-
run("gem install bundler")
|
492
|
-
run("bundle --no-color install")
|
496
|
+
run( "gem install bundler" )
|
497
|
+
run( "bundle --no-color install" )
|
493
498
|
end
|
494
499
|
end
|
495
500
|
|
@@ -498,7 +503,7 @@ module Aruba
|
|
498
503
|
#
|
499
504
|
def interactive_output
|
500
505
|
@_interactive ||= if @interactive
|
501
|
-
@interactive.wait(1) || @interactive.kill('TERM')
|
506
|
+
@interactive.wait( 1 ) || @interactive.kill( 'TERM' )
|
502
507
|
@interactive.stdout.read
|
503
508
|
else
|
504
509
|
""
|
@@ -518,8 +523,8 @@ module Aruba
|
|
518
523
|
# _mkdir(dir_name) is an internal helper name that does exactly as its
|
519
524
|
# stem suggests, performs a mkdir using the provided name.
|
520
525
|
#
|
521
|
-
def _mkdir(dir_name)
|
522
|
-
FileUtils.mkdir_p(dir_name) unless File.directory?(dir_name)
|
526
|
+
def _mkdir( dir_name )
|
527
|
+
FileUtils.mkdir_p( dir_name ) unless File.directory?( dir_name )
|
523
528
|
end
|
524
529
|
|
525
530
|
# original_env is an internal helper method that returns a hash of the
|
@@ -530,6 +535,13 @@ module Aruba
|
|
530
535
|
@original_env ||= {}
|
531
536
|
end
|
532
537
|
|
538
|
+
|
539
|
+
def paths_to_array( paths )
|
540
|
+
return paths if paths.kind_of?( Array )
|
541
|
+
paths = ( paths || "").split(File::PATH_SEPARATOR)
|
542
|
+
return paths
|
543
|
+
end
|
544
|
+
|
533
545
|
# rebase creates a symbolic link in the awd to each directory
|
534
546
|
# contained in the passed array.Each entry is named relative to the user's
|
535
547
|
# cwd. It first checkes that the awd path contains a directory named
|
data/lib/aruba/cucumber_steps.rb
CHANGED
@@ -113,28 +113,33 @@ end
|
|
113
113
|
|
114
114
|
|
115
115
|
When /display stdout/ do
|
116
|
-
announce_or_puts(last_stdout)
|
116
|
+
announce_or_puts( last_stdout )
|
117
117
|
end
|
118
118
|
|
119
119
|
|
120
120
|
When /using a clean gemset "([^\"]*)"$/ do |gemset|
|
121
|
-
use_clean_gemset(gemset)
|
121
|
+
use_clean_gemset( gemset )
|
122
122
|
end
|
123
123
|
|
124
124
|
|
125
125
|
When /do(?:es)? have (?:a|the) directory named "([^\"]*)"$/ do |dir_name|
|
126
|
-
create_dir(dir_name)
|
126
|
+
create_dir( dir_name )
|
127
|
+
end
|
128
|
+
|
129
|
+
|
130
|
+
When /do(?:es)? have (?:a|the) file named "([^\"]*)"$/ do |file_name|
|
131
|
+
create_file( file_name, "" )
|
127
132
|
end
|
128
133
|
|
129
134
|
|
130
135
|
When /do(?:es)? have (?:a|the) file named "([^\"]*)" (?:containing|with):$/ \
|
131
136
|
do |file_name, file_content|
|
132
|
-
create_file(file_name, file_content)
|
137
|
+
create_file( file_name, file_content )
|
133
138
|
end
|
134
139
|
|
135
140
|
|
136
141
|
When /do(?:es)? have an empty file named "([^\"]*)"$/ do |file_name|
|
137
|
-
create_file(file_name, "")
|
142
|
+
create_file( file_name, "" )
|
138
143
|
end
|
139
144
|
|
140
145
|
|
@@ -378,7 +383,7 @@ When /stdout should not contain "([^\"]*)"$/ do |partial_output|
|
|
378
383
|
end
|
379
384
|
|
380
385
|
|
381
|
-
When /types? "([^\"]*)"$/ do |input|
|
386
|
+
When /(?:inputs?|types? in) "([^\"]*)"$/ do |input|
|
382
387
|
write_interactive(ensure_newline(input))
|
383
388
|
end
|
384
389
|
|
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: 91
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 6
|
10
|
-
-
|
11
|
-
version: 0.2.6.
|
10
|
+
- 14
|
11
|
+
version: 0.2.6.14
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- "Aslak Helles\xC3\xB8y"
|
@@ -19,16 +19,32 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date:
|
22
|
+
date: 2011-02-18 00:00:00 -05:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
26
|
+
name: builder
|
27
27
|
prerelease: false
|
28
28
|
requirement: &id001 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
hash: 15
|
34
|
+
segments:
|
35
|
+
- 2
|
36
|
+
- 0
|
37
|
+
- 0
|
38
|
+
version: 2.0.0
|
39
|
+
type: :runtime
|
40
|
+
version_requirements: *id001
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: cucumber
|
43
|
+
prerelease: false
|
44
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
32
48
|
- !ruby/object:Gem::Version
|
33
49
|
hash: 61
|
34
50
|
segments:
|
@@ -37,11 +53,11 @@ dependencies:
|
|
37
53
|
- 3
|
38
54
|
version: 0.9.3
|
39
55
|
type: :runtime
|
40
|
-
version_requirements: *
|
56
|
+
version_requirements: *id002
|
41
57
|
- !ruby/object:Gem::Dependency
|
42
58
|
name: background_process
|
43
59
|
prerelease: false
|
44
|
-
requirement: &
|
60
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
45
61
|
none: false
|
46
62
|
requirements:
|
47
63
|
- - ">="
|
@@ -51,23 +67,23 @@ dependencies:
|
|
51
67
|
- 0
|
52
68
|
version: "0"
|
53
69
|
type: :runtime
|
54
|
-
version_requirements: *
|
70
|
+
version_requirements: *id003
|
55
71
|
- !ruby/object:Gem::Dependency
|
56
72
|
name: rspec
|
57
73
|
prerelease: false
|
58
|
-
requirement: &
|
74
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
59
75
|
none: false
|
60
76
|
requirements:
|
61
|
-
- -
|
77
|
+
- - ">="
|
62
78
|
- !ruby/object:Gem::Version
|
63
|
-
hash:
|
79
|
+
hash: 15
|
64
80
|
segments:
|
65
81
|
- 2
|
66
82
|
- 0
|
67
|
-
-
|
68
|
-
version: 2.0.
|
83
|
+
- 0
|
84
|
+
version: 2.0.0
|
69
85
|
type: :development
|
70
|
-
version_requirements: *
|
86
|
+
version_requirements: *id004
|
71
87
|
description: Fork of Aruba, Cucumber steps for testing CLI applications.
|
72
88
|
email: cukes@googlegroups.com
|
73
89
|
executables: []
|
@@ -96,6 +112,7 @@ files:
|
|
96
112
|
- features/interactive.feature
|
97
113
|
- features/output.feature
|
98
114
|
- features/process_timeout.feature
|
115
|
+
- features/run_process.feature
|
99
116
|
- features/std_out.feature
|
100
117
|
- features/step_definitions/aruba_dev_steps.rb
|
101
118
|
- features/support/env.rb
|
@@ -109,7 +126,7 @@ has_rdoc: true
|
|
109
126
|
homepage: http://github.com/byrnejb/aruba
|
110
127
|
licenses: []
|
111
128
|
|
112
|
-
post_install_message:
|
129
|
+
post_install_message: "\n Please check the History.txt and README.rdoc files for the latest\n information regarding this release 0.2.6.14. The api now\n contains some documentation but you should also check the contents of \n lib/aruba/cucumber_steps.rb for working examples.\n "
|
113
130
|
rdoc_options:
|
114
131
|
- --charset=UTF-8
|
115
132
|
require_paths:
|
@@ -146,6 +163,7 @@ test_files:
|
|
146
163
|
- features/interactive.feature
|
147
164
|
- features/output.feature
|
148
165
|
- features/process_timeout.feature
|
166
|
+
- features/run_process.feature
|
149
167
|
- features/std_out.feature
|
150
168
|
- features/step_definitions/aruba_dev_steps.rb
|
151
169
|
- features/support/env.rb
|