silent_stream 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +7 -0
- data/README.md +2 -2
- data/lib/silent_stream/version.rb +1 -1
- data/silent_stream.gemspec +2 -1
- metadata +4 -4
- data/.rspec +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ec73325a48c211d1ba5088353fd48b874f7a086e3227f61a724548de603876c
|
4
|
+
data.tar.gz: 8841ab9cda3b6832a48ce989c5cc5dac2509f03f1186739b807fb119bd57bd5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83c13fa4a988a741906b7c3913b49d088a3a0e6d214f3f1530f4f895dd54256a4e50b6a57da31e1291ff74b87e04bca9e8dec9aa8ecf4dc5ed133193c646a9ac
|
7
|
+
data.tar.gz: 10119c23e078dea60088e1cf31698aff8be5d9ceaed4396db04e26cf5f7380f76a6d8285963494862e652e96413f55df7701b5ce9df56134a8bec9709f76d4dd
|
data/LICENSE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright 2018 Peter Boling of railsbling.com
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# SilentStream
|
2
2
|
|
3
|
-
|
3
|
+
SilentStream is an extraction of some parts of ActiveSupport's Kernel Reporting Core Extentions around silencing IO streams.
|
4
4
|
|
5
5
|
Since July 2014 `silence_stream`, `silence_stderr`, `capture`, `silence`, and `quietly` have been deprecated because they are not thread safe. See that discussion in the [PR where it all went down](https://github.com/rails/rails/pull/13392). I rely on them a lot in *single threaded* code, and so I plan to keep them alive. With the exception of `silence`, which was just an alias of `capture`.
|
6
6
|
|
7
|
-
This gem was taken out of Rails but it is *not* Rails dependent. The extraction was total, and this is now a pure Ruby library, which can be used in any Ruby project without encumbrances.
|
7
|
+
This gem was taken out of Rails but it is *not* Rails dependent. The extraction was total (**even the tests**!), and this is now a pure Ruby library, which can be used in any Ruby project without encumbrances.
|
8
8
|
|
9
9
|
| Project | RequireBench |
|
10
10
|
|------------------------ | ----------------------- |
|
data/silent_stream.gemspec
CHANGED
@@ -39,7 +39,8 @@ authors = [
|
|
39
39
|
spec.authors = authors.map { |_gh, name| name }
|
40
40
|
spec.email = ['peter.boling@gmail.com']
|
41
41
|
|
42
|
-
spec.summary = '
|
42
|
+
spec.summary = "ActiveSupport's Stream Silencing - Without ActiveSupport"
|
43
|
+
spec.description = 'ActiveSupport Kernel Reporting Detritus with a few enhancements'
|
43
44
|
spec.homepage = 'https://github.com/pboling/silent_stream'
|
44
45
|
|
45
46
|
# Specify which files should be added to the gem when it is released.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: silent_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Daer
|
@@ -91,7 +91,7 @@ dependencies:
|
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '1.16'
|
94
|
-
description:
|
94
|
+
description: ActiveSupport Kernel Reporting Detritus with a few enhancements
|
95
95
|
email:
|
96
96
|
- peter.boling@gmail.com
|
97
97
|
executables: []
|
@@ -99,12 +99,12 @@ extensions: []
|
|
99
99
|
extra_rdoc_files: []
|
100
100
|
files:
|
101
101
|
- ".gitignore"
|
102
|
-
- ".rspec"
|
103
102
|
- ".rubocop.yml"
|
104
103
|
- ".ruby-version"
|
105
104
|
- ".travis.yml"
|
106
105
|
- CODE_OF_CONDUCT.md
|
107
106
|
- Gemfile
|
107
|
+
- LICENSE
|
108
108
|
- README.md
|
109
109
|
- Rakefile
|
110
110
|
- bin/console
|
@@ -134,5 +134,5 @@ rubyforge_project:
|
|
134
134
|
rubygems_version: 2.7.7
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
|
-
summary: ActiveSupport
|
137
|
+
summary: ActiveSupport's Stream Silencing - Without ActiveSupport
|
138
138
|
test_files: []
|
data/.rspec
DELETED