demo/check_soa.rb in net-dns-0.4 vs demo/check_soa.rb in net-dns-0.5.0
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
# $Id: check_soa.rb,v 1.7 2006/07/30 16:53:57 bluemonk Exp $
-
+require 'rubygems' if "#{RUBY_VERSION}" < "1.9.0"
require 'net/dns/resolver'
#------------------------------------------------------------------------------
# Get the domain from the command line.
#------------------------------------------------------------------------------