aruba 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile.lock +8 -6
  2. data/History.md +6 -1
  3. data/aruba.gemspec +4 -3
  4. data/lib/aruba/api.rb +7 -1
  5. metadata +72 -65
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aruba (0.4.5)
4
+ aruba (0.4.6)
5
5
  bcat (>= 0.6.1)
6
- childprocess (>= 0.1.9)
7
- cucumber (>= 0.10.7)
6
+ childprocess (>= 0.2.0)
7
+ cucumber (>= 1.0.2)
8
8
  rdiscount (>= 1.6.8)
9
9
  rspec (>= 2.6.0)
10
10
 
@@ -24,10 +24,11 @@ GEM
24
24
  term-ansicolor (>= 1.0.5)
25
25
  diff-lcs (1.1.2)
26
26
  ffi (1.0.9)
27
- gherkin (2.4.5)
27
+ gherkin (2.4.6)
28
28
  json (>= 1.4.6)
29
29
  json (1.5.3)
30
- rack (1.3.1)
30
+ rack (1.3.2)
31
+ rake (0.9.2)
31
32
  rdiscount (1.6.8)
32
33
  rspec (2.6.0)
33
34
  rspec-core (~> 2.6.0)
@@ -37,10 +38,11 @@ GEM
37
38
  rspec-expectations (2.6.0)
38
39
  diff-lcs (~> 1.1.2)
39
40
  rspec-mocks (2.6.0)
40
- term-ansicolor (1.0.5)
41
+ term-ansicolor (1.0.6)
41
42
 
42
43
  PLATFORMS
43
44
  ruby
44
45
 
45
46
  DEPENDENCIES
46
47
  aruba!
48
+ rake (>= 0.9.2)
data/History.md CHANGED
@@ -1,6 +1,11 @@
1
+ ## [v0.4.6](https://github.com/cucumber/aruba/compare/v0.4.5...v0.4.6)
2
+
3
+ * Upgraded deps to latest gems. (Aslak Hellesøy)
4
+ * Added Regexp support to Aruba::Api#assert_no_partial_output (Aslak Hellesøy)
5
+
1
6
  ## [v0.4.5](https://github.com/cucumber/aruba/compare/v0.4.4...v0.4.5)
2
7
 
3
- * Better assertion failure message when an exit code is not as expected
8
+ * Better assertion failure message when an exit code is not as expected. (Matt Wynne)
4
9
 
5
10
  ## [v0.4.4](https://github.com/cucumber/aruba/compare/v0.4.3...v0.4.4)
6
11
 
data/aruba.gemspec CHANGED
@@ -2,18 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'aruba'
5
- s.version = '0.4.5'
5
+ s.version = '0.4.6'
6
6
  s.authors = ["Aslak Hellesøy", "David Chelimsky", "Mike Sassak", "Matt Wynne"]
7
7
  s.description = 'CLI Steps for Cucumber, hand-crafted for you in Aruba'
8
8
  s.summary = "aruba-#{s.version}"
9
9
  s.email = 'cukes@googlegroups.com'
10
10
  s.homepage = 'http://github.com/cucumber/aruba'
11
11
 
12
- s.add_dependency 'cucumber', '>= 0.10.7'
13
- s.add_dependency 'childprocess', '>= 0.1.9'
12
+ s.add_dependency 'cucumber', '>= 1.0.2'
13
+ s.add_dependency 'childprocess', '>= 0.2.0'
14
14
  s.add_dependency 'rspec', '>= 2.6.0'
15
15
  s.add_dependency 'bcat', '>= 0.6.1'
16
16
  s.add_dependency 'rdiscount', '>= 1.6.8'
17
+ s.add_development_dependency 'rake', '>= 0.9.2'
17
18
 
18
19
  s.rubygems_version = ">= 1.6.1"
19
20
  s.files = `git ls-files`.split("\n")
data/lib/aruba/api.rb CHANGED
@@ -130,10 +130,12 @@ module Aruba
130
130
  end
131
131
 
132
132
  def all_stdout
133
+ stop_processes!
133
134
  only_processes.inject("") { |out, ps| out << ps.stdout(@aruba_keep_ansi) }
134
135
  end
135
136
 
136
137
  def all_stderr
138
+ stop_processes!
137
139
  only_processes.inject("") { |out, ps| out << ps.stderr(@aruba_keep_ansi) }
138
140
  end
139
141
 
@@ -154,7 +156,11 @@ module Aruba
154
156
  end
155
157
 
156
158
  def assert_no_partial_output(unexpected, actual)
157
- actual.should_not include(unexpected)
159
+ if Regexp === unexpected
160
+ unescape(actual).should_not =~ unexpected
161
+ else
162
+ unescape(actual).should_not include(unexpected)
163
+ end
158
164
  end
159
165
 
160
166
  def assert_passing_with(expected)
metadata CHANGED
@@ -1,84 +1,92 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: aruba
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.6
4
5
  prerelease:
5
- version: 0.4.5
6
6
  platform: ruby
7
- authors:
8
- - "Aslak Helles\xC3\xB8y"
7
+ authors:
8
+ - Aslak Hellesøy
9
9
  - David Chelimsky
10
10
  - Mike Sassak
11
11
  - Matt Wynne
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
-
16
- date: 2011-07-23 00:00:00 Z
17
- dependencies:
18
- - !ruby/object:Gem::Dependency
15
+ date: 2011-08-08 00:00:00.000000000 +01:00
16
+ default_executable:
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
19
  name: cucumber
20
- requirement: &id001 !ruby/object:Gem::Requirement
20
+ requirement: &2168642440 !ruby/object:Gem::Requirement
21
21
  none: false
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: 0.10.7
22
+ requirements:
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: 1.0.2
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *id001
29
- - !ruby/object:Gem::Dependency
28
+ version_requirements: *2168642440
29
+ - !ruby/object:Gem::Dependency
30
30
  name: childprocess
31
- requirement: &id002 !ruby/object:Gem::Requirement
31
+ requirement: &2168641700 !ruby/object:Gem::Requirement
32
32
  none: false
33
- requirements:
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 0.1.9
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 0.2.0
37
37
  type: :runtime
38
38
  prerelease: false
39
- version_requirements: *id002
40
- - !ruby/object:Gem::Dependency
39
+ version_requirements: *2168641700
40
+ - !ruby/object:Gem::Dependency
41
41
  name: rspec
42
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ requirement: &2168640920 !ruby/object:Gem::Requirement
43
43
  none: false
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
47
  version: 2.6.0
48
48
  type: :runtime
49
49
  prerelease: false
50
- version_requirements: *id003
51
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *2168640920
51
+ - !ruby/object:Gem::Dependency
52
52
  name: bcat
53
- requirement: &id004 !ruby/object:Gem::Requirement
53
+ requirement: &2168639920 !ruby/object:Gem::Requirement
54
54
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
58
  version: 0.6.1
59
59
  type: :runtime
60
60
  prerelease: false
61
- version_requirements: *id004
62
- - !ruby/object:Gem::Dependency
61
+ version_requirements: *2168639920
62
+ - !ruby/object:Gem::Dependency
63
63
  name: rdiscount
64
- requirement: &id005 !ruby/object:Gem::Requirement
64
+ requirement: &2168639020 !ruby/object:Gem::Requirement
65
65
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
69
  version: 1.6.8
70
70
  type: :runtime
71
71
  prerelease: false
72
- version_requirements: *id005
72
+ version_requirements: *2168639020
73
+ - !ruby/object:Gem::Dependency
74
+ name: rake
75
+ requirement: &2168638080 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: 0.9.2
81
+ type: :development
82
+ prerelease: false
83
+ version_requirements: *2168638080
73
84
  description: CLI Steps for Cucumber, hand-crafted for you in Aruba
74
85
  email: cukes@googlegroups.com
75
86
  executables: []
76
-
77
87
  extensions: []
78
-
79
88
  extra_rdoc_files: []
80
-
81
- files:
89
+ files:
82
90
  - .document
83
91
  - .gitignore
84
92
  - .rvmrc
@@ -118,40 +126,39 @@ files:
118
126
  - templates/js/filesystem.js
119
127
  - templates/js/jquery-1.6.1.min.js
120
128
  - templates/main.erb
129
+ has_rdoc: true
121
130
  homepage: http://github.com/cucumber/aruba
122
131
  licenses: []
123
-
124
132
  post_install_message:
125
- rdoc_options:
133
+ rdoc_options:
126
134
  - --charset=UTF-8
127
- require_paths:
135
+ require_paths:
128
136
  - lib
129
- required_ruby_version: !ruby/object:Gem::Requirement
137
+ required_ruby_version: !ruby/object:Gem::Requirement
130
138
  none: false
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- hash: -3484798014470799758
135
- segments:
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ segments:
136
144
  - 0
137
- version: "0"
138
- required_rubygems_version: !ruby/object:Gem::Requirement
145
+ hash: 755002132282512509
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
147
  none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- hash: -3484798014470799758
144
- segments:
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ segments:
145
153
  - 0
146
- version: "0"
154
+ hash: 755002132282512509
147
155
  requirements: []
148
-
149
156
  rubyforge_project:
150
- rubygems_version: 1.7.2
157
+ rubygems_version: 1.6.2
151
158
  signing_key:
152
159
  specification_version: 3
153
- summary: aruba-0.4.5
154
- test_files:
160
+ summary: aruba-0.4.6
161
+ test_files:
155
162
  - features/exit_statuses.feature
156
163
  - features/file_system_commands.feature
157
164
  - features/flushing.feature