cucumber-pretty_fail_formatter 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46c34dad21c52c18a41fc8afb2a4ab99bd58ede0
4
- data.tar.gz: 8aa81c3a9499cf91ab86bad2d2c922b83106c8ba
3
+ metadata.gz: 252708b6a027e6f94bde01c24057690b77d5e370
4
+ data.tar.gz: a1741d2af5de07ebd8780302116d87d1c63aeafd
5
5
  SHA512:
6
- metadata.gz: c0754cd6e9a942223ea8d004cc2f59fdfe8ec5f9148e0c0323f924efc82b1a542aaefe314fff583eaba7fffda3defb33793ecae0773db933e1a1600b2be90014
7
- data.tar.gz: c94ec267faa1c514a6c722b3d205aa8c6dd43f93a2d3bb2682d3eb8b8a67f8481779481377ccf1002f1ad3fad377f994edd82ff1d6d41b7069ac6822028dd6e2
6
+ metadata.gz: 22d919e7be3a8a99058b8f00a35c1d62a751c561f847c5a2237fd876a7624b6aba5214bb45a2e1e317a938553af921b0510b939583aca8094e16b85ebf4029c7
7
+ data.tar.gz: bc791624e4605fb079a4d22a3149b73173f174668d66cb88b337fa59c13947a4802e2be30b5e8816543f26c745fe0a4cc867c6b58aa5b264df2c20d476cf40f4
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Pretty Fail Formatter
2
2
 
3
3
  A cucumber formatter which is concise on success and pretty on failures. It behaves like the standard `progress` formatter, printing only nice green dots.
4
- Except when a cuke failes, then it prints this one cuke as the standard `pretty` formatter does.
4
+ Except when a cuke failes, then it prints the failing cuke verbosely, so that you instantly see what's wrong.
5
5
 
6
6
  bundle exec cucumber --format pretty-fail
7
7
  .....F
@@ -31,7 +31,7 @@ Put it in your `Gemfile`
31
31
 
32
32
  gem 'cucumber-pretty_fail_formatter'
33
33
 
34
- run `bundle install`
34
+ Run `bundle install`
35
35
 
36
36
  If you don't user Bundler you can install it using the `gem` command:
37
37
 
@@ -48,12 +48,10 @@ If you want to use it as your default formatter, simply put the option in your `
48
48
  ## Contributing
49
49
 
50
50
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
51
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
51
+ * Check out the github issues to make sure someone already hasn't requested it and/or contributed it
52
52
  * Fork the project
53
53
  * Start a feature/bugfix branch
54
54
  * Commit and push until you are happy with your contribution
55
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
56
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
57
55
 
58
56
  ## Copyright
59
57
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cucumber-pretty_fail_formatter"
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Philipp Tessenow"]
6
6
  s.email = ["philipp@tessenow.org"]
@@ -36,6 +36,7 @@ module Cucumber
36
36
 
37
37
  def after_feature_element(*args)
38
38
  super
39
+ reset_io
39
40
  progress(:failed) if (defined? @exception_raised) and (@exception_raised)
40
41
  @exception_raised = false
41
42
  end
@@ -105,7 +106,6 @@ module Cucumber
105
106
  @output.print(@io.string)
106
107
  @output.puts
107
108
  end
108
- reset_io
109
109
  @output.flush
110
110
  end
111
111
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-pretty_fail_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Tessenow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-10 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber