coulda 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY CHANGED
@@ -79,3 +79,7 @@ Cleanup
79
79
  0.5.2
80
80
  -----
81
81
  - coulda:print_features now requires 'coulda' (duh)
82
+
83
+ 0.5.3
84
+ -----
85
+ - coulda:print_features better indicates which scenarios and which steps are pending
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{coulda}
8
- s.version = "0.5.2"
8
+ s.version = "0.5.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Evan David Light"]
12
- s.date = %q{2009-12-06}
12
+ s.date = %q{2009-12-08}
13
13
  s.description = %q{Behaviour Driven Development derived from Cucumber but as an internal DSL with methods for reuse}
14
14
  s.email = %q{evan@tiggerpalace.com}
15
15
  s.extra_rdoc_files = [
@@ -23,9 +23,13 @@ namespace :coulda do
23
23
  puts " I want to #{feature.i_want_to}" if feature.i_want_to
24
24
  feature.scenarios.each do |scenario|
25
25
  puts
26
- puts " Scenario: #{scenario.name} #{scenario.pending? ? '(pending)' : ''}"
26
+ print " "
27
+ print "(**PENDING**) " if scenario.pending?
28
+ puts "Scenario: #{scenario.name}"
27
29
  scenario.statements.each do |stmt|
28
- puts " #{stmt[:type].to_s} #{stmt[:text]}"
30
+ print " "
31
+ print "(**PENDING**) " unless stmt[:block]
32
+ puts "#{stmt[:type].to_s} #{stmt[:text]}"
29
33
  end
30
34
  end
31
35
  puts
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coulda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan David Light
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-06 00:00:00 -05:00
12
+ date: 2009-12-08 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency