protest 0.5.1 → 0.5.2

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.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NGU2MTk0YmQxYjJiNTY0OWUzODg1YjdkZThjNzlkOGM1NmI4MTZlMQ==
5
- data.tar.gz: !binary |-
6
- NGZmMTg5NTJmMDVkNmRlMmY1N2FhZDU5MDlmNDQwNDU3Y2JhNzY3ZQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZTQxYjY2ZGFlYTY5MDJkZjE3NDA0NWNkZjEyYTA2NWNhNzVkNWIyNzA2Y2Rm
10
- N2JkMGExNzZhY2E4OThlMGM5YWUyYTRmYmJmMmZhZmRmNmUwYTRjNTBlNzQ4
11
- OTQ3N2IyNTRhMGI2OWVjNmM3NzJjMGNlYTU1MmI3NmRiYmQ2MjE=
12
- data.tar.gz: !binary |-
13
- MzIxNjQ3ZjE4NjI2ZDQ0MTk1MDg5ODcwNTU4YWY1MGYzMWI4ZmZmOThlYjU2
14
- MjFiM2ZlNDcwNzM4YmUxMzg5ZWUzYTcwNzg1MmNlNTdlMWRlZGQxYTM0Njc2
15
- ZjVkMTZkYzJkNGVjMmQzNjczMTgzMDA3ODgyNjE0NjM2YjQ1ZGI=
2
+ SHA1:
3
+ metadata.gz: 2bd989483a99a77a5e4c702201089295892171e9
4
+ data.tar.gz: 5ffee4ff74c3c10ca2452f59e61aef122445629d
5
+ SHA512:
6
+ metadata.gz: d242e267fc0d2669bc388ad37857d0f2a1e13924936ef23ddf531114eb72e2f813cafa9cd9c8fc0b1af3157ffdc0d5e7889ffc6425979d04c68c6e6c7c87db35
7
+ data.tar.gz: 9398345f24904bf5556bdfc1181435f3fd0d8fb595f027cde1d914ae53c613e2375ad41c81c50085d9ebee32f4a47edd97bcbc2f077d0f63d151d860488b37cc
@@ -1,3 +1,7 @@
1
+ ### v0.5.2
2
+
3
+ * Use existing error code if `exit` has been called.
4
+
1
5
  ### v0.5.1
2
6
 
3
7
  * Fixed exit status code.
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/protest.png)](http://badge.fury.io/rb/protest)
4
4
  [![Build Status](https://secure.travis-ci.org/matflores/protest.png?branch=master)](http://travis-ci.org/matflores/protest)
5
+ [![Code Climate](https://codeclimate.com/github/matflores/protest.png)](https://codeclimate.com/github/matflores/protest)
5
6
 
6
7
  Protest is a tiny, simple, and easy-to-extend testing framework for ruby.
7
8
 
@@ -97,6 +97,8 @@ Protest.report_with((ENV["PROTEST_REPORT"] || "documentation").to_sym)
97
97
  Protest.backtrace_filter = Protest::Utils::BacktraceFilter.new
98
98
 
99
99
  at_exit do
100
+ exit $!.status if $!.is_a?(SystemExit) && !$!.success?
101
+
100
102
  if Protest.autorun?
101
103
  Protest.run_all_tests!
102
104
  report = Protest.instance_variable_get(:@report)
@@ -1,3 +1,3 @@
1
1
  module Protest
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolás Sanguinetti
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-15 00:00:00.000000000 Z
12
+ date: 2014-10-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Protest is a tiny, simple, and easy-to-extend test framework for ruby.
15
15
  email: flores.matias@gmail.com
@@ -17,27 +17,27 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - .gitignore
20
+ - ".gitignore"
21
21
  - CHANGELOG.md
22
22
  - LICENSE
23
23
  - README.md
24
24
  - Rakefile
25
- - protest.gemspec
25
+ - lib/protest.rb
26
26
  - lib/protest/report.rb
27
+ - lib/protest/reports.rb
27
28
  - lib/protest/reports/documentation.rb
28
29
  - lib/protest/reports/progress.rb
29
30
  - lib/protest/reports/summary.rb
30
31
  - lib/protest/reports/turn.rb
31
- - lib/protest/reports.rb
32
32
  - lib/protest/runner.rb
33
33
  - lib/protest/test_case.rb
34
34
  - lib/protest/tests.rb
35
+ - lib/protest/utils.rb
35
36
  - lib/protest/utils/backtrace_filter.rb
36
37
  - lib/protest/utils/colorful_output.rb
37
38
  - lib/protest/utils/summaries.rb
38
- - lib/protest/utils.rb
39
39
  - lib/protest/version.rb
40
- - lib/protest.rb
40
+ - protest.gemspec
41
41
  homepage: http://protestrb.com
42
42
  licenses:
43
43
  - MIT
@@ -48,17 +48,17 @@ require_paths:
48
48
  - lib
49
49
  required_ruby_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ! '>='
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ! '>='
56
+ - - ">="
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  requirements: []
60
60
  rubyforge_project:
61
- rubygems_version: 2.0.3
61
+ rubygems_version: 2.2.2
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Protest is a tiny, simple, and easy-to-extend test framework