aruba-jbb 0.2.6.14 → 0.2.7.01

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.2.7.01 jbb
2
+ * removed call to deprecated announce method
3
+ * refactored run with timeout step definition
4
+
1
5
  == 0.2.6.14 jbb
2
6
  * restricted generalilty of "types" step_defintion
3
7
  * added simple have file matcher and test for same
@@ -18,7 +22,6 @@
18
22
  * update api documentation
19
23
  * revised run steps
20
24
 
21
-
22
25
  == 0.2.6.11 jbb
23
26
  * administrative fix to gemspec data and dependencies
24
27
  * added NO_ARUBA_STEPS env var to not load aruba/cucumber_steps.rb library (exp)
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{aruba-jbb}
5
- s.version = "0.2.6.14"
5
+ s.version = "0.2.7.01"
6
6
  s.authors = ["Aslak Hellesøy", "David Chelimsky", "James B. Byrne", "Mike Sassak"]
7
- s.date = %q{2011-02-18}
7
+ s.date = %q{2011-06-10}
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}
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{Cucumber steps for testing external processes from the CLI}
13
13
 
14
14
  s.add_dependency 'builder', '>= 2.0.0'
15
- s.add_dependency 'cucumber', '>= 0.9.3'
15
+ s.add_dependency 'cucumber', '>= 0.10.3'
16
16
  s.add_dependency 'background_process' # Can't specify a version - bundler/rubygems chokes on '2.1'
17
17
  s.add_development_dependency 'rspec', '>= 2.0.0'
18
18
 
@@ -10,11 +10,7 @@ module Aruba
10
10
  # reproducing test process output in the Aruba run.
11
11
  #
12
12
  def announce_or_puts(msg)
13
- if(@puts)
14
- puts(msg)
15
- else
16
- announce(msg)
17
- end
13
+ puts(msg)
18
14
  end
19
15
 
20
16
  # append_to_file is used to add data to the end of a
@@ -82,7 +82,8 @@ After do
82
82
  end
83
83
 
84
84
 
85
- When /(?:add|set) the env variable "([^\"]*)" to "(.*)"/ do |var, val|
85
+ When /(?:add|set) the env(?:ironment)? variable "([^\"]*)" to "(.*)"/ \
86
+ do |var, val|
86
87
  set_env(var, val)
87
88
  end
88
89
 
@@ -107,7 +108,7 @@ When /display stderr/ do
107
108
  end
108
109
 
109
110
 
110
- When /(?:delete|unset) the env variable "([^\"]*)"$/ do |var|
111
+ When /(?:delete|unset) the env(?:ironment)? variable "([^\"]*)"$/ do |var|
111
112
  remove_env(var)
112
113
  end
113
114
 
@@ -291,14 +292,10 @@ When /runs? "(.*)"$/ do |cmd|
291
292
  end
292
293
 
293
294
 
294
- When /runs? "(.*)" with errors?(?: and timeout of "(\d+\.?\d*)" seconds?)?$/\
295
- do |cmd, time|
296
- run(unescape(cmd), false, time)
297
- end
298
-
299
- When /runs? "(.*)" without errors?(?: and timeout of "(\d+\.?\d*)" seconds?)?$/\
300
- do |cmd, time|
301
- run(unescape(cmd), true, time)
295
+ When /runs? "(.*)" with(out)? errors?(?:(?: and)?(?: with)? timeout of "(\d+\.?\d*)" seconds?)?$/\
296
+ do |cmd, yn, time|
297
+ expected = !!yn
298
+ run(unescape(cmd), expected, time)
302
299
  end
303
300
 
304
301
 
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: 91
5
- prerelease: false
4
+ hash: 65
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- - 14
11
- version: 0.2.6.14
9
+ - 7
10
+ - 1
11
+ version: 0.2.7.01
12
12
  platform: ruby
13
13
  authors:
14
14
  - "Aslak Helles\xC3\xB8y"
@@ -19,8 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2011-02-18 00:00:00 -05:00
23
- default_executable:
22
+ date: 2011-06-10 00:00:00 Z
24
23
  dependencies:
25
24
  - !ruby/object:Gem::Dependency
26
25
  name: builder
@@ -46,12 +45,12 @@ dependencies:
46
45
  requirements:
47
46
  - - ">="
48
47
  - !ruby/object:Gem::Version
49
- hash: 61
48
+ hash: 49
50
49
  segments:
51
50
  - 0
52
- - 9
51
+ - 10
53
52
  - 3
54
- version: 0.9.3
53
+ version: 0.10.3
55
54
  type: :runtime
56
55
  version_requirements: *id002
57
56
  - !ruby/object:Gem::Dependency
@@ -122,11 +121,10 @@ files:
122
121
  - lib/aruba/cucumber.rb
123
122
  - lib/aruba/cucumber_steps.rb
124
123
  - lib/aruba_jbb.rb
125
- has_rdoc: true
126
124
  homepage: http://github.com/byrnejb/aruba
127
125
  licenses: []
128
126
 
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 "
127
+ post_install_message: "\n Please check the History.txt and README.rdoc files for the latest\n information regarding this release 0.2.7.01. 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 "
130
128
  rdoc_options:
131
129
  - --charset=UTF-8
132
130
  require_paths:
@@ -152,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
150
  requirements: []
153
151
 
154
152
  rubyforge_project:
155
- rubygems_version: 1.3.7
153
+ rubygems_version: 1.8.5
156
154
  signing_key:
157
155
  specification_version: 3
158
156
  summary: Cucumber steps for testing external processes from the CLI