Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence interpreter warnings #340

Merged
merged 6 commits into from
Mar 18, 2016
Merged

Silence interpreter warnings #340

merged 6 commits into from
Mar 18, 2016

Conversation

steved
Copy link
Contributor

@steved steved commented Mar 17, 2016

Rake 11 shipped with warnings enabled by default. These are only some of warnings on require and aren't breaking anything, but might as well clean them up.

lib/sshkit.rb:14: warning: method redefined; discarding old config
lib/sshkit/host.rb:130: warning: character class has duplicated range: /[@|\[|\]]/
lib/sshkit/configuration.rb:33: warning: method redefined; discarding old output_verbosity
lib/sshkit/configuration.rb:37: warning: method redefined; discarding old output_verbosity=
lib/sshkit/backends/connection_pool.rb:83: warning: private attribute?
lib/sshkit/backends/connection_pool.rb:83: warning: private attribute?
lib/sshkit/backends/connection_pool/cache.rb:58: warning: private attribute?
lib/sshkit/backends/connection_pool/cache.rb:58: warning: private attribute?
lib/sshkit/backends/connection_pool/cache.rb:58: warning: private attribute?
lib/sshkit/backends/netssh.rb:8: warning: method redefined; discarding old default_files
/opt/homebrew/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/net-ssh-3.0.2/lib/net/ssh/config.rb:50: warning: previous definition of default_files was here

leehambley added a commit that referenced this pull request Mar 18, 2016
@leehambley leehambley merged commit 6a94cdc into capistrano:master Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants