ruby-nessus icon indicating copy to clipboard operation
ruby-nessus copied to clipboard

version installed by gem seems to be well behind this repository

Open rful011 opened this issue 5 years ago • 4 comments

I have just started using ruby-nessus and I am getting warnings from ruby: /var/lib/gems/2.3.0/gems/ruby-nessus-1.2.0/lib/nessus/Version2/host.rb:362: warning: Enumerator.new without a block is deprecated; use Object#to_enum so I went and fixed the source and then went looking for the 'original'. The code here has clearly been reworked substantially from what I got from the gem.

I assume the gem has not been updated so my question is -- what is the best way to use the up to date version of this module? i.e clearly I uninstall the gem and then where should I clone the repository to (working on ubuntu).

rful011 avatar Jul 14 '19 03:07 rful011

I have work on this gem to refactor and enhance the gem last year, but I don't have the access to release the code on rubygems.

@rful011 : you can use directly the last version on github :

gem 'ruby-nessus', git: 'https://github.com/Cyberwatch/ruby-nessus.git' 

@mephux can you release the gems on rubygems.org or give me the right to push a new release.

fwininger avatar Jul 14 '19 07:07 fwininger

LOL! I see nothing has changed.

Two years on and working on another project and I stumbled over the same problem. Spent some time stuffing around and cursing then spotted this! I have been here before!

rful011 avatar Jan 13 '22 02:01 rful011

I found this page helpful in getting the 2.0 beta installed: https://www.stevencampbell.info/Ruby-Nessus/

I don't understand how gem 'ruby-nessus', git: 'https://github.com/Cyberwatch/ruby-nessus.git' is supposed to work because gem expects a command ???

rful011 avatar Jan 13 '22 02:01 rful011

hmmm... is it time to rename the gem and clone the repository under a different name. I am not familiar with the terms of the various licenses...

rful011 avatar Jan 13 '22 19:01 rful011