silent_stream 1.0.0
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 +7 -0
- data/.gitignore +19 -0
- data/.rspec +3 -0
- data/.rubocop.yml +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +32 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/README.md +126 -0
- data/Rakefile +7 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/silent_stream/version.rb +3 -0
- data/lib/silent_stream.rb +115 -0
- data/silent_stream.gemspec +62 -0
- metadata +138 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a36117bf0e8da5ba4a7563d908fc474b3f69f4535de21570c931e98f8a992c90
|
4
|
+
data.tar.gz: 976264c386c6e665bd526fdd55ea3e73f741596ba2b7b00970b14c1f0eee370a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e257e32783765a193285ff7879d37cce12e41597046938f49bd8319427af1d41471eda5381af6176ece99a7acfb7857d30eec83bf86442b04c11f8cb3a590d61
|
7
|
+
data.tar.gz: a707e58b9e6a791c0e42941045b2e14b551e618291b7c91adb88cf513992fa30e04e0e614de2a4c92cdaadf54d02b263a21c10eaad744ae2b19d68946dc2a29f
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.5.1
|
data/.travis.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
env:
|
3
|
+
global:
|
4
|
+
- JRUBY_OPTS="-Xcli.debug=true --debug"
|
5
|
+
- CC_TEST_REPORTER_ID=954687c8cc4840dccb8887a7bf1f1f6ea463f6c20c02f20186945ab17995e0ba
|
6
|
+
|
7
|
+
before_script:
|
8
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
9
|
+
- chmod +x ./cc-test-reporter
|
10
|
+
- ./cc-test-reporter before-build
|
11
|
+
|
12
|
+
script:
|
13
|
+
- bundle exec rake
|
14
|
+
|
15
|
+
after_script:
|
16
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
17
|
+
|
18
|
+
before_install:
|
19
|
+
- gem update --system
|
20
|
+
- gem install bundler -v 1.16.5
|
21
|
+
|
22
|
+
install:
|
23
|
+
- bundle install
|
24
|
+
|
25
|
+
bundler_args: --no-deployment --jobs 3 --retry 3
|
26
|
+
|
27
|
+
language: ruby
|
28
|
+
cache: bundler
|
29
|
+
rvm:
|
30
|
+
- 2.3.7
|
31
|
+
- 2.4.4
|
32
|
+
- 2.5.1
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at peter.boling@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
# SilentStream
|
2
|
+
|
3
|
+
Memoist is an extraction of some parts of ActiveSupport's Kernel Reporting Core Extentions.
|
4
|
+
|
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
|
+
|
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.
|
8
|
+
|
9
|
+
| Project | RequireBench |
|
10
|
+
|------------------------ | ----------------------- |
|
11
|
+
| gem name | [silent_stream](https://rubygems.org/gems/silent_stream) |
|
12
|
+
| license | [](https://opensource.org/licenses/MIT) |
|
13
|
+
| download rank | [](https://github.com/pboling/silent_stream) |
|
14
|
+
| version | [](https://rubygems.org/gems/silent_stream) |
|
15
|
+
| continuous integration | [](https://travis-ci.org/pboling/silent_stream) |
|
16
|
+
| test coverage | [](https://codeclimate.com/github/pboling/silent_stream/test_coverage) |
|
17
|
+
| maintainability | [](https://codeclimate.com/github/pboling/silent_stream/maintainability) |
|
18
|
+
| dependencies | [](https://depfu.com/github/pboling/silent_stream?project_id=5828) |
|
19
|
+
| code triage | [](https://www.codetriage.com/pboling/silent_stream) |
|
20
|
+
| homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
|
21
|
+
| documentation | [on RDoc.info][documentation] |
|
22
|
+
| Spread ~♡ⓛⓞⓥⓔ♡~ | [🌍 🌎 🌏](https://about.me/peter.boling), [🍚](https://www.crowdrise.com/helprefugeeswithhopefortomorrowliberia/fundraiser/peterboling), [➕](https://plus.google.com/+PeterBoling/posts), [👼](https://angel.co/peter-boling), [🐛](https://www.topcoder.com/members/pboling/), [:shipit:](http://coderwall.com/pboling), [](http://twitter.com/galtzo) |
|
23
|
+
|
24
|
+
## NOTE
|
25
|
+
|
26
|
+
One aspect of what this gem provides can be achieved with the Rails' built-in [`LoggerSilence`](https://github.com/rails/rails/blob/5-2-stable/activesupport/lib/active_support/logger_silence.rb), which is thread safe. You will have to decide what is right for you!
|
27
|
+
|
28
|
+
## Doing a Rails <= 4 to Rails >= 5 Upgrade?
|
29
|
+
|
30
|
+
The reason for not keeping `silence` as it was in Rails 4, i.e. an alias of `capture`, is that the just mentioned `LoggerSilence` now uses this term, and it is shipping with Rails 5. I don't want to make this gem incompatible with Rails 5, so you will have to convert Rails <= 4 implementations that utilize `silence` over to `capture` when using this gem. One further point of difference is this gem does not add the methods to `Kernel` or `Object`. You can do that if you like via `include`. By default this gem does not pollute anything, so you will need to `include SilentStream` in any class using these methods.
|
31
|
+
|
32
|
+
## Installation
|
33
|
+
|
34
|
+
Add this line to your application's Gemfile:
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
gem 'silent_stream'
|
38
|
+
```
|
39
|
+
|
40
|
+
And then execute:
|
41
|
+
|
42
|
+
$ bundle
|
43
|
+
|
44
|
+
Or install it yourself as:
|
45
|
+
|
46
|
+
$ gem install silent_stream
|
47
|
+
|
48
|
+
## Usage
|
49
|
+
|
50
|
+
Usage:
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
class Bogosity
|
54
|
+
include SilentStream # allows use at instance or class level
|
55
|
+
|
56
|
+
def silent
|
57
|
+
silence_all(true) do
|
58
|
+
puts "play that funky music"
|
59
|
+
Rails.logger.info "git jiggy with it"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
class << self
|
63
|
+
def noise
|
64
|
+
silence_all(false) do
|
65
|
+
puts "play that funky music"
|
66
|
+
Rails.logger.info "git jiggy with it"
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
```
|
72
|
+
And run
|
73
|
+
```
|
74
|
+
>> Bogosity.new.silent # has no output
|
75
|
+
=> nil
|
76
|
+
>> Bogosity.noise # is noisy
|
77
|
+
play that funky music
|
78
|
+
=> nil
|
79
|
+
```
|
80
|
+
|
81
|
+
## Development
|
82
|
+
|
83
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
84
|
+
|
85
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
86
|
+
|
87
|
+
## Contributing
|
88
|
+
|
89
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/pboling/silent_stream.
|
90
|
+
|
91
|
+
## Code of Conduct
|
92
|
+
|
93
|
+
Everyone interacting in the AnonymousActiveRecord project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/silent_stream/blob/master/CODE_OF_CONDUCT.md).
|
94
|
+
|
95
|
+
## Versioning
|
96
|
+
|
97
|
+
This library aims to adhere to [Semantic Versioning 2.0.0][semver].
|
98
|
+
Violations of this scheme should be reported as bugs. Specifically,
|
99
|
+
if a minor or patch version is released that breaks backward
|
100
|
+
compatibility, a new version should be immediately released that
|
101
|
+
restores compatibility. Breaking changes to the public API will
|
102
|
+
only be introduced with new major versions.
|
103
|
+
|
104
|
+
As a result of this policy, you can (and should) specify a
|
105
|
+
dependency on this gem using the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
106
|
+
|
107
|
+
For example:
|
108
|
+
|
109
|
+
```ruby
|
110
|
+
spec.add_dependency 'silent_stream', '~> 1.0'
|
111
|
+
```
|
112
|
+
|
113
|
+
## License
|
114
|
+
|
115
|
+
* Copyright (c) 2018 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
116
|
+
|
117
|
+
[](https://opensource.org/licenses/MIT)
|
118
|
+
|
119
|
+
[license]: LICENSE
|
120
|
+
[semver]: http://semver.org/
|
121
|
+
[pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
122
|
+
[railsbling]: http://www.railsbling.com
|
123
|
+
[peterboling]: http://www.peterboling.com
|
124
|
+
[documentation]: http://rdoc.info/github/pboling/silent_stream/frames
|
125
|
+
[homepage]: https://github.com/pboling/silent_stream/
|
126
|
+
[blogpage]: http://www.railsbling.com/tags/silent_stream/
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'silent_stream'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
require 'silent_stream/version'
|
2
|
+
|
3
|
+
module SilentStream
|
4
|
+
def self.included(base)
|
5
|
+
base.send(:extend, Extracted)
|
6
|
+
base.send(:include, Extracted)
|
7
|
+
base.send(:extend, Enhanced)
|
8
|
+
base.send(:include, Enhanced)
|
9
|
+
end
|
10
|
+
|
11
|
+
module Enhanced
|
12
|
+
# param switch is true or false
|
13
|
+
# By default it is true, when means we don't want logging.
|
14
|
+
# Switching it to false enables logging again.
|
15
|
+
# By default ERROR log level continues to be logged.
|
16
|
+
# The return value is the return value of the block,
|
17
|
+
# so you can use it without changing code structure.
|
18
|
+
#
|
19
|
+
# This method is not thread-safe.
|
20
|
+
def silence_all(switch = true, temporary_level = Logger::ERROR, logger = nil)
|
21
|
+
if !switch || ENV['NO_SILENCE'] == 'true'
|
22
|
+
yield
|
23
|
+
else
|
24
|
+
begin
|
25
|
+
logger ||= defined?(Rails) ? Rails.logger : nil
|
26
|
+
logger && (old_logger_level = logger.level || true) && (logger.level = temporary_level)
|
27
|
+
# silence STDOUT (like puts)
|
28
|
+
silence_stream(STDOUT) do
|
29
|
+
yield
|
30
|
+
end
|
31
|
+
ensure
|
32
|
+
logger && (logger.level = old_logger_level)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# Extracted from:
|
39
|
+
# https://github.com/rails/rails/blob/4-2-stable/activesupport/lib/active_support/core_ext/kernel/reporting.rb
|
40
|
+
module Extracted
|
41
|
+
# This method is not thread-safe.
|
42
|
+
def silence_stderr
|
43
|
+
silence_stream(STDERR) { yield }
|
44
|
+
end
|
45
|
+
|
46
|
+
# Silences any stream for the duration of the block.
|
47
|
+
#
|
48
|
+
# silence_stream(STDOUT) do
|
49
|
+
# puts 'This will never be seen'
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
# puts 'But this will'
|
53
|
+
#
|
54
|
+
# This method is not thread-safe.
|
55
|
+
def silence_stream(stream)
|
56
|
+
old_stream = stream.dup
|
57
|
+
stream.reopen(RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null')
|
58
|
+
stream.sync = true
|
59
|
+
yield
|
60
|
+
ensure
|
61
|
+
stream.reopen(old_stream)
|
62
|
+
old_stream.close
|
63
|
+
end
|
64
|
+
|
65
|
+
# Captures the given stream and returns it:
|
66
|
+
#
|
67
|
+
# stream = capture(:stdout) { puts 'notice' }
|
68
|
+
# stream # => "notice\n"
|
69
|
+
#
|
70
|
+
# stream = capture(:stderr) { warn 'error' }
|
71
|
+
# stream # => "error\n"
|
72
|
+
#
|
73
|
+
# even for subprocesses:
|
74
|
+
#
|
75
|
+
# stream = capture(:stdout) { system('echo notice') }
|
76
|
+
# stream # => "notice\n"
|
77
|
+
#
|
78
|
+
# stream = capture(:stderr) { system('echo error 1>&2') }
|
79
|
+
# stream # => "error\n"
|
80
|
+
#
|
81
|
+
# This method is not thread-safe.
|
82
|
+
def capture(stream)
|
83
|
+
stream = stream.to_s
|
84
|
+
captured_stream = Tempfile.new(stream)
|
85
|
+
stream_io = eval("$#{stream}")
|
86
|
+
origin_stream = stream_io.dup
|
87
|
+
stream_io.reopen(captured_stream)
|
88
|
+
|
89
|
+
yield
|
90
|
+
|
91
|
+
stream_io.rewind
|
92
|
+
captured_stream.read
|
93
|
+
ensure
|
94
|
+
captured_stream.close
|
95
|
+
captured_stream.unlink
|
96
|
+
stream_io.reopen(origin_stream)
|
97
|
+
end
|
98
|
+
# silence is provided by the LoggerSilence concern that continues to be
|
99
|
+
# shipped with Rails, so not continuing with this alias.
|
100
|
+
# alias silence capture
|
101
|
+
|
102
|
+
# Silences both STDOUT and STDERR, even for subprocesses.
|
103
|
+
#
|
104
|
+
# quietly { system 'bundle install' }
|
105
|
+
#
|
106
|
+
# This method is not thread-safe.
|
107
|
+
def quietly
|
108
|
+
silence_stream(STDOUT) do
|
109
|
+
silence_stream(STDERR) do
|
110
|
+
yield
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'silent_stream/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
authors = [
|
7
|
+
# Everyone who touched the files extracted from Rails:
|
8
|
+
['jeremy', 'Jeremy Daer'],
|
9
|
+
['dhh', 'David Heinemeier Hansson'],
|
10
|
+
['pixeltrix', 'Andrew White'],
|
11
|
+
['spastorino', 'Santiago Pastorino'],
|
12
|
+
['sstephenson', 'Sam Stephenson'],
|
13
|
+
['amatsuda', 'Akira Matsuda'],
|
14
|
+
['Raphomet', 'Raphael Lee'],
|
15
|
+
['rafaelfranca', 'Rafael França'],
|
16
|
+
['mariovisic', 'Mario Visic'],
|
17
|
+
['krekoten', "Мар'ян Крекотень"],
|
18
|
+
['lest', 'Sergey Nartimov'],
|
19
|
+
['joshk', 'Josh Kalderimis'],
|
20
|
+
['fxn', 'Xavier Noria'],
|
21
|
+
['deivid-rodriguez', 'David Rodríguez'],
|
22
|
+
['route', 'Dmitry Vorotilin'],
|
23
|
+
['tenderlove', 'Aaron Patterson'],
|
24
|
+
['guilleiguaran', 'Guillermo Iguaran'],
|
25
|
+
['gazay', 'Alexey Gaziev'],
|
26
|
+
['wycats', 'Yehuda Katz'],
|
27
|
+
['tommeier', 'Tom Meier'],
|
28
|
+
['lifo', 'Pratik Naik'],
|
29
|
+
['charliesome', 'Charlie Somerville'],
|
30
|
+
['atambo', 'Alex Tambellini'],
|
31
|
+
['arthurnn', 'Arthur Nogueira Neves'],
|
32
|
+
['anildigital', 'Anil Wadghule'],
|
33
|
+
# Author/Maintainer of this gem:
|
34
|
+
['pboling', 'Peter Boling']
|
35
|
+
]
|
36
|
+
|
37
|
+
spec.name = 'silent_stream'
|
38
|
+
spec.version = SilentStream::VERSION
|
39
|
+
spec.authors = authors.map { |_gh, name| name }
|
40
|
+
spec.email = ['peter.boling@gmail.com']
|
41
|
+
|
42
|
+
spec.summary = 'ActiveSupport Kernel Reporting Detritus with a few enhancements'
|
43
|
+
spec.homepage = 'https://github.com/pboling/silent_stream'
|
44
|
+
|
45
|
+
# Specify which files should be added to the gem when it is released.
|
46
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
47
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
48
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(tests|spec|features)/}) }
|
49
|
+
end
|
50
|
+
spec.bindir = 'exe'
|
51
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
52
|
+
spec.require_paths = ['lib']
|
53
|
+
|
54
|
+
if RUBY_VERSION < '1.9.3'
|
55
|
+
spec.add_development_dependency 'rake', '>= 10.4'
|
56
|
+
else
|
57
|
+
spec.add_development_dependency 'rake'
|
58
|
+
end
|
59
|
+
spec.add_development_dependency 'test-unit', '~> 3.2'
|
60
|
+
spec.add_development_dependency 'minitest', '~> 5.10'
|
61
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
62
|
+
end
|
metadata
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: silent_stream
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeremy Daer
|
8
|
+
- David Heinemeier Hansson
|
9
|
+
- Andrew White
|
10
|
+
- Santiago Pastorino
|
11
|
+
- Sam Stephenson
|
12
|
+
- Akira Matsuda
|
13
|
+
- Raphael Lee
|
14
|
+
- Rafael França
|
15
|
+
- Mario Visic
|
16
|
+
- Мар'ян Крекотень
|
17
|
+
- Sergey Nartimov
|
18
|
+
- Josh Kalderimis
|
19
|
+
- Xavier Noria
|
20
|
+
- David Rodríguez
|
21
|
+
- Dmitry Vorotilin
|
22
|
+
- Aaron Patterson
|
23
|
+
- Guillermo Iguaran
|
24
|
+
- Alexey Gaziev
|
25
|
+
- Yehuda Katz
|
26
|
+
- Tom Meier
|
27
|
+
- Pratik Naik
|
28
|
+
- Charlie Somerville
|
29
|
+
- Alex Tambellini
|
30
|
+
- Arthur Nogueira Neves
|
31
|
+
- Anil Wadghule
|
32
|
+
- Peter Boling
|
33
|
+
autorequire:
|
34
|
+
bindir: exe
|
35
|
+
cert_chain: []
|
36
|
+
date: 2018-09-23 00:00:00.000000000 Z
|
37
|
+
dependencies:
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: rake
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: test-unit
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - "~>"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '3.2'
|
59
|
+
type: :development
|
60
|
+
prerelease: false
|
61
|
+
version_requirements: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - "~>"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '3.2'
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: minitest
|
68
|
+
requirement: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '5.10'
|
73
|
+
type: :development
|
74
|
+
prerelease: false
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '5.10'
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: bundler
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '1.16'
|
87
|
+
type: :development
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.16'
|
94
|
+
description:
|
95
|
+
email:
|
96
|
+
- peter.boling@gmail.com
|
97
|
+
executables: []
|
98
|
+
extensions: []
|
99
|
+
extra_rdoc_files: []
|
100
|
+
files:
|
101
|
+
- ".gitignore"
|
102
|
+
- ".rspec"
|
103
|
+
- ".rubocop.yml"
|
104
|
+
- ".ruby-version"
|
105
|
+
- ".travis.yml"
|
106
|
+
- CODE_OF_CONDUCT.md
|
107
|
+
- Gemfile
|
108
|
+
- README.md
|
109
|
+
- Rakefile
|
110
|
+
- bin/console
|
111
|
+
- bin/setup
|
112
|
+
- lib/silent_stream.rb
|
113
|
+
- lib/silent_stream/version.rb
|
114
|
+
- silent_stream.gemspec
|
115
|
+
homepage: https://github.com/pboling/silent_stream
|
116
|
+
licenses: []
|
117
|
+
metadata: {}
|
118
|
+
post_install_message:
|
119
|
+
rdoc_options: []
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 2.7.7
|
135
|
+
signing_key:
|
136
|
+
specification_version: 4
|
137
|
+
summary: ActiveSupport Kernel Reporting Detritus with a few enhancements
|
138
|
+
test_files: []
|