kubo / ruby-oci8

Ruby-oci8 - Oracle interface for ruby
Other
169 stars 75 forks source link

Suppress `NOTE: Gem::Specification#has_rdoc= is deprecated` #205

Closed yahonda closed 5 years ago

yahonda commented 5 years ago

This pull request suppresses the following deprecation message introduced at RubyGems 1.7.0 https://blog.rubygems.org/2011/03/28/1.7.0-released.html

NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from /home/yahonda/.rbenv/versions/2.6.0-preview3/lib/ruby/gems/2.6.0/bundler/gems/ruby-oci8-2c5d364c3f32/ruby-oci8.gemspec:37.

Steps to reproduce:

$ ruby -v
ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux]
$ gem -v
3.0.0.beta2
$ git clone https://github.com/rsim/oracle-enhanced.git
$ cd oracle-enhanced
$ bundle
Fetching https://github.com/rails/rails.git
Fetching https://github.com/rsim/ruby-plsql.git
Fetching https://github.com/kubo/ruby-oci8.git
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from /home/yahonda/.rbenv/versions/2.6.0-preview3/lib/ruby/gems/2.6.0/bundler/gems/ruby-oci8-2c5d364c3f32/ruby-oci8.gemspec:37.
kubo commented 5 years ago

Thank you.