aruba-jbb 0.2.4 → 0.2.5

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/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake'
5
5
  begin
6
6
  require 'jeweler'
7
7
  Jeweler::Tasks.new do |gem|
8
- gem.version = "0.2.4"
8
+ gem.version = "0.2.5"
9
9
  gem.name = "aruba-jbb"
10
10
  gem.summary = %Q{CLI Steps for Cucumber}
11
11
  gem.description = %Q{CLI Steps for Cucumber, hand-crafted for you in Aruba}
data/aruba-jbb.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{aruba-jbb}
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aslak Helles\303\270y", "David Chelimsky", "James B. Byrne"]
12
- s.date = %q{2010-07-28}
12
+ s.date = %q{2010-08-06}
13
13
  s.description = %q{CLI Steps for Cucumber, hand-crafted for you in Aruba}
14
14
  s.email = %q{cukes@googlegroups.com}
15
15
  s.extra_rdoc_files = [
data/lib/aruba/api.rb CHANGED
@@ -22,10 +22,6 @@ module Aruba
22
22
  @aruba_working_dir
23
23
  end
24
24
 
25
- def x_ray(dir)
26
- fail("In x_ray")
27
- end
28
-
29
25
  # This allows before hooks to set aruba's working directory
30
26
  # relative to user's cwd
31
27
  def aruba_working_dir_set(dir)
@@ -39,10 +35,10 @@ module Aruba
39
35
 
40
36
  def aruba_working_dir_init
41
37
 
38
+ @aruba_working_dir = [ARUBA_WORKING_DIR_DEFAULT]
39
+
42
40
  if defined?(ENV[ARUBA_WORKING_DIR])
43
- @aruba_working_dir = [ENV[ARUBA_WORKING_DIR]]
44
- else
45
- @aruba_working_dir ||= ['tmp/aruba']
41
+ @aruba_working_dir = [ENV[ARUBA_WORKING_DIR]]
46
42
  end
47
43
 
48
44
  dirs_init
@@ -56,12 +56,13 @@ When /clean up the working directory/ do
56
56
  end
57
57
 
58
58
 
59
- When /do have a directory named "([^\"]*)"$/ do |dir_name|
59
+ When /do have (?:a|the) directory named "([^\"]*)"$/ do |dir_name|
60
60
  create_dir(dir_name)
61
61
  end
62
62
 
63
63
 
64
- When /do have a file named "([^\"]*)" with:$/ do |file_name, file_content|
64
+ When /do have (?:a|the) file named "([^\"]*)" (?:containing|with):$/ \
65
+ do |file_name, file_content|
65
66
  create_file(file_name, file_content)
66
67
  end
67
68
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aruba-jbb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Aslak Helles\xC3\xB8y"
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-07-28 00:00:00 -04:00
20
+ date: 2010-08-06 00:00:00 -04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency