quiet_down_rake 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/quiet_down_rake.rb +13 -0
  3. metadata +45 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5725cef5877b6ac521c687e7a9d91af0a9e87b85
4
+ data.tar.gz: 6d4b40935530a026760ce989ed88962880a2ff22
5
+ SHA512:
6
+ metadata.gz: 94fe812016eb6eb3e596ca3d9a6e10d8831ad4ecf88739864427992d3cc9d7e98e7214ad1bc4289b04d70d5be23d9a567f91cb33dfe35c2667480c7916452323
7
+ data.tar.gz: 816290b19e2a57c7b92d2ddd4cf153e547fe5597363707d05c54dac3a0e9cb9b69e03fbaa272c2b4743107250e670d357f3d8ca099026a07f424d58a92aac93a
@@ -0,0 +1,13 @@
1
+ module Rake
2
+ module TraceOutput
3
+ alias_method :the_real_trace_on, :trace_on
4
+
5
+ def trace_on(out, *strings)
6
+ dont_care = ['Command failed with status (1)', 'See full trace by running task with', 'rake aborted!']
7
+
8
+ unless(dont_care.any? { |s| strings.join.include?(s) })
9
+ the_real_trace_on(out, *strings)
10
+ end
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: quiet_down_rake
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Brett Sykes
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A monkey patch of Rake to make it slightly quieter when failing. Removes
14
+ most strings that aren't actual stack trace
15
+ email: brettcsykes@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/quiet_down_rake.rb
21
+ homepage: https://github.com/bretts/quiet_down_rake
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.5.1
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: A monkey patch of Rake to make it slightly quieter when failing
45
+ test_files: []