protest 0.5.0 → 0.5.1

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.
@@ -0,0 +1,15 @@
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=
@@ -1,3 +1,7 @@
1
+ ### v0.5.1
2
+
3
+ * Fixed exit status code.
4
+
1
5
  ### v0.5.0
2
6
 
3
7
  * Added ability of defining the report to be used in the `PROTEST_REPORT`
data/README.md CHANGED
@@ -1,4 +1,7 @@
1
- # Protest [<img src="https://secure.travis-ci.org/matflores/protest.png?branch=master" alt="Build Status" />](http://travis-ci.org/matflores/protest)
1
+ # Protest
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/protest.png)](http://badge.fury.io/rb/protest)
4
+ [![Build Status](https://secure.travis-ci.org/matflores/protest.png?branch=master)](http://travis-ci.org/matflores/protest)
2
5
 
3
6
  Protest is a tiny, simple, and easy-to-extend testing framework for ruby.
4
7
 
@@ -97,5 +97,9 @@ 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
- Protest.run_all_tests! if Protest.autorun?
100
+ if Protest.autorun?
101
+ Protest.run_all_tests!
102
+ report = Protest.instance_variable_get(:@report)
103
+ exit report.failures_and_errors.empty?
104
+ end
101
105
  end
@@ -1,3 +1,3 @@
1
1
  module Protest
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
4
+ version: 0.5.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nicolás Sanguinetti
@@ -10,7 +9,7 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-06-07 00:00:00.000000000 Z
12
+ date: 2013-07-15 00:00:00.000000000 Z
14
13
  dependencies: []
15
14
  description: Protest is a tiny, simple, and easy-to-extend test framework for ruby.
16
15
  email: flores.matias@gmail.com
@@ -42,27 +41,26 @@ files:
42
41
  homepage: http://protestrb.com
43
42
  licenses:
44
43
  - MIT
44
+ metadata: {}
45
45
  post_install_message:
46
46
  rdoc_options: []
47
47
  require_paths:
48
48
  - lib
49
49
  required_ruby_version: !ruby/object:Gem::Requirement
50
- none: false
51
50
  requirements:
52
51
  - - ! '>='
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
54
  required_rubygems_version: !ruby/object:Gem::Requirement
56
- none: false
57
55
  requirements:
58
56
  - - ! '>='
59
57
  - !ruby/object:Gem::Version
60
58
  version: '0'
61
59
  requirements: []
62
60
  rubyforge_project:
63
- rubygems_version: 1.8.23
61
+ rubygems_version: 2.0.3
64
62
  signing_key:
65
- specification_version: 3
63
+ specification_version: 4
66
64
  summary: Protest is a tiny, simple, and easy-to-extend test framework
67
65
  test_files: []
68
66
  has_rdoc: