Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename for consistency.

  • Loading branch information...
commit 0e7c68b8d658130874ba69dad88c31e4a0707dce 1 parent dc77fcb
@weppos authored
View
2  lib/whois/record/parser/base_afilias.rb
@@ -8,7 +8,7 @@
require 'whois/record/parser/base'
-require 'whois/record/scanners/afilias'
+require 'whois/record/scanners/base_afilias'
module Whois
View
4 lib/whois/record/parser/base_whoisd.rb
@@ -8,7 +8,7 @@
require 'whois/record/parser/base'
-require 'whois/record/scanners/whoisd.rb'
+require 'whois/record/scanners/base_whoisd.rb'
module Whois
@@ -116,7 +116,7 @@ class BaseWhoisd < Base
#
# @return [Hash]
def parse
- Scanners::Whoisd.new(content_for_scanner).parse
+ Scanners::BaseWhoisd.new(content_for_scanner).parse
end
View
2  lib/whois/record/scanners/base_afilias.rb
@@ -14,7 +14,7 @@ module Whois
class Record
module Scanners
- # Scanner for the Afilias record.
+ # Scanner for the Afilias-based records.
class BaseAfilias < Base
self.tokenizers += [
View
4 lib/whois/record/scanners/whoisd.rb → lib/whois/record/scanners/base_whoisd.rb
@@ -14,8 +14,8 @@ module Whois
class Record
module Scanners
- # Scanner for Whoisd-based record.
- class Whoisd < Base
+ # Scanner for Whoisd-based records.
+ class BaseWhoisd < Base
self.tokenizers += [
:scan_available,

0 comments on commit 0e7c68b

Please sign in to comment.
Something went wrong with that request. Please try again.