tmm1 / ripper-tags

fast, accurate ctags generator for ruby source code using Ripper
MIT License
550 stars 43 forks source link

Gem::Specification#has_rdoc= is deprecated #93

Closed wellington1993 closed 5 years ago

wellington1993 commented 5 years ago

I've got this warning:

Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.

How to solve? Thanks!

mislav commented 5 years ago

Hi! Where did you get this?

wellington1993 commented 5 years ago

Hi! @mislav

I found this upgrading to latest ruby, I'm have Rails 5 API project.

ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
Rails 5.2.3

When do bundle update:

...
Fetching https://github.com/tmm1/ripper-tags.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 /media/wellington/82eb80d7-628c-41a3-b046-c40ab727aaaf/home/wellington/projetos/hotsoft/lisweb/bundle/ruby/2.6.0/bundler/gems/ripper-tags-7f31ab7d9009/ripper-tags.gemspec:16.
Fetching https://github.com/plataformatec/devise.git
Fetching https://github.com/brianmario/mysql2.git
...

Other example:

...
Fetching https://github.com/cldwalker/bond.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 /media/wellington/82eb80d7-628c-41a3-b046-c40ab727aaaf/home/wellington/projetos/hotsoft/lisweb/bundle/ruby/2.6.0/bundler/gems/bond-19b0a9af11c5/.gemspec:15.
Fetching https://github.com/cldwalker/hirb.git
...

I have this at my Gemfile: gem 'ripper-tags', github: 'tmm1/ripper-tags', require: true

Thanks!

wellington1993 commented 5 years ago

I found something: https://github.com/cldwalker/bond/issues/45 https://github.com/mariuz/axlsx/commit/aef420427a1a1898a562888b57579e0d4642c2af

wellington1993 commented 5 years ago

@mislav Thanks!

mislav commented 5 years ago

No, thank you! ✨