snaka/ruby_gntp — pull request #15 by jlecour (2013-10-22 16:27:37+00:00)
Title: Allow initialization with explicit nil values

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.