Commit Graph

4 Commits (8dcb7f76c0e0b4a1814ee25d4a03bc2a030f0a03)

Author SHA1 Message Date
Guillaume DOTT 5a4ca4d44a Add rack middleware 2012-12-21 16:40:27 +01:00
Guillaume DOTT 3f93bf1fa2 Add configuration class and modify lookup to use this configuration
To configure the module, you can use :
ProjectHoneypot.configure do
  @api_key = 'API_KEY'
end
To access, the variable, use :
ProjectHoneypot.api_key

The lookup method has been modified to be backward compatible
and use the defined api_key if available.
2012-12-19 09:31:17 +01:00
Guillaume DOTT 7035908aae Modify require 'net/dns' to work 2012-12-18 16:53:38 +01:00
woody2shoes acf5a7d6ce version 0.1.1 2010-10-27 22:13:06 -06:00