ruby_gntp icon indicating copy to clipboard operation
ruby_gntp copied to clipboard

Allow initialization with explicit nil values

Open jlecour opened this issue 11 years ago • 0 comments

The g gem is using ruby_gntp with explicit host/passwd params, so the GNTP.notify class methods is instanciating an object with nil values for both parameters, which makes Ruby's Resolv.create method raising an error : https://github.com/ruby/ruby/blob/ruby_2_0_0/lib/resolv.rb#L1169-L1178

By not giving null values to GNTP, it's using its default values.

jlecour avatar Oct 22 '13 16:10 jlecour