minitest-fast_fail 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 41c7ca7329e00ef602127682ff71a48e4f7366f7
4
+ data.tar.gz: 3554f9c4d7ef6ff94081e62e52ce6bcb94390344
5
+ SHA512:
6
+ metadata.gz: 1ffdc4f4392dea96231eceb0999944ae49398bd27752955bd02c3943e2b87033d7f7844c3da5c02d6fbb7d6cc2240a2bb0d5f1eab45497e98111064c3e76f135
7
+ data.tar.gz: 7595e44186162ed970257cee61236653589524ae16ebbc469b98cd9b90b410c5bafc89adcba23b8cf88d41a8aa831c2b088132e8a5c2032cde04dbbf53672076
checksums.yaml.gz.sig ADDED
@@ -0,0 +1 @@
1
+ X� rza�l%�(-�+�LVR�RPkU� =�=���{��ޖ������Ƭ(�����Ȱ��9��_��$���� ۊ�0��qь���\�^����.^�u$wQ9-�F�u�7,���j�����NT�1�!�@���$��V�Tq}���/:C����qÜ���VQ~ \�]1�Dv���4j��2�*�&�>Q��r.ݔ_i�r;�.��H���[ ��$�����^�F�|�\3�N#���>�D_�a�ZZ����9
data.tar.gz.sig ADDED
Binary file
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in minitest-fast_fail.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 mica eked
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # Minitest plugin: fast_fail
2
+
3
+ As soon as a failure happens, print it and exit.
4
+
5
+ Only works with `minitest ~> 5.0`
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ gem("minitest-fast_fail", require: false)
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ ## Usage
18
+
19
+ Should get picked up by minitest automatically, after following installation instructions.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,14 @@
1
+ module Minitest
2
+ def self.plugin_fast_fail_init(_)
3
+ self.reporter << FastFailReporter.new
4
+ end
5
+
6
+ class FastFailReporter < AbstractReporter
7
+ def record(result)
8
+ if result.failure
9
+ puts("\n#{result}\n")
10
+ exit(false)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "minitest-fast_fail"
7
+ spec.version = "0.0.1"
8
+ spec.authors = ["mica eked"]
9
+ spec.email = ["micaeked@gmail.com"]
10
+ spec.description = %q{Minitest plugin: fast_fail}
11
+ spec.summary = %q{As soon as a failure happens, print it and exit.}
12
+ spec.homepage = ""
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_dependency("minitest", "~> 5.0")
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.3"
23
+ spec.add_development_dependency "rake"
24
+ end
metadata ADDED
@@ -0,0 +1,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minitest-fast_fail
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - mica eked
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMREwDwYDVQQDDAh3aGF0
14
+ ZXZlcjEXMBUGCgmSJomT8ixkARkWB2V4YW1wbGUxEzARBgoJkiaJk/IsZAEZFgNj
15
+ b20wHhcNMTMwMTI3MDcxMjUxWhcNMTQwMTI3MDcxMjUxWjBBMREwDwYDVQQDDAh3
16
+ aGF0ZXZlcjEXMBUGCgmSJomT8ixkARkWB2V4YW1wbGUxEzARBgoJkiaJk/IsZAEZ
17
+ FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQClIqEU6jVdqjuL
18
+ Nf5F45OsgEjYqvxhhaQR0gZOg8+62sVUALOr/m4yE3An/3JZaR17Tka0q7seV2ms
19
+ uI2rYdjPY9aewPCWrcGPOxJONzUTqCCJN3z7T34DJHC2U8ufsnTbXldiAmyb5ZKW
20
+ 46mbQ2MFTZBqqrLpVqLZB2auBFBgnMXDtwVkkqlJHBfcKuzjpi5gQ+DDHbtgQmid
21
+ hFTKDneEQUr1h/rH13PGuvSmiWRiPvwVBEauT3H9kYEroLNd96/VKi/BxmeZO2Ep
22
+ vg+Etz0KnsDdWdP5gWE0pMtlIsMVvKMDW9ubtBS7ztbfNnZBjYfdEYIspvbWYj2b
23
+ HlnVl78rAgMBAAGjOTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFH/i5QsBlLYTM9jH
24
+ A2U9rKIebvzwMAsGA1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAJoQ4wrtN
25
+ C+dsSb1HCO/KsT5PgIlFLjKrxFrkxSOx7h4dqN4RhDdINVIHKD+wViqq+1hOUBhO
26
+ VXaNznJ5QdkryICO/mATKQuwW+QnxmXRAqIRWwomIp16YxGehXHxB/4ByhkgD+6b
27
+ NKRSIWO3goBTHAwjSVztI21ogLB7PBCN1pJdXHTcebss8cqMuGuswqYKPsuPSBBD
28
+ UARIBM3dD9ExRq3FmOqDXh1X3/5czP86uqkGowIYfD/16N4oq3yLa+e2Tn0szUEK
29
+ JLpEhqelmVHGye33icai7lYUoj3nzjWlcut8fsA3STKtZiMo8tGT+vbNKALSeQSa
30
+ QMGIdTJ1kiMvag==
31
+ -----END CERTIFICATE-----
32
+ date: 2013-09-06 00:00:00.000000000 Z
33
+ dependencies:
34
+ - !ruby/object:Gem::Dependency
35
+ name: minitest
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '5.0'
41
+ type: :runtime
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: bundler
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.3'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ type: :development
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ description: 'Minitest plugin: fast_fail'
77
+ email:
78
+ - micaeked@gmail.com
79
+ executables: []
80
+ extensions: []
81
+ extra_rdoc_files: []
82
+ files:
83
+ - .gitignore
84
+ - Gemfile
85
+ - LICENSE.txt
86
+ - README.md
87
+ - Rakefile
88
+ - lib/minitest/fast_fail_plugin.rb
89
+ - minitest-fast_fail.gemspec
90
+ homepage: ''
91
+ licenses:
92
+ - MIT
93
+ metadata: {}
94
+ post_install_message:
95
+ rdoc_options: []
96
+ require_paths:
97
+ - lib
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ requirements: []
109
+ rubyforge_project:
110
+ rubygems_version: 2.0.3
111
+ signing_key:
112
+ specification_version: 4
113
+ summary: As soon as a failure happens, print it and exit.
114
+ test_files: []
metadata.gz.sig ADDED
Binary file