Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Skip empty line immediately

  • Loading branch information...
commit 7111bccd54620e6659f1028abb6b8c8c02f91a0e 1 parent e2119b0
@weppos authored
View
2  lib/whois/record/parser/scanners/afilias.rb
@@ -19,12 +19,12 @@ module Scanners
class Afilias < Base
self.tokenizers += [
+ :skip_empty_line,
:scan_available,
:scan_reserved,
:scan_throttled,
:scan_disclaimer,
:scan_keyvalue,
- :skip_empty_line,
]
View
2  lib/whois/record/parser/scanners/iana.rb
@@ -18,7 +18,7 @@ module Scanners
class Iana < Base
self.tokenizers += [
- :skip_newline,
+ :skip_empty_line,
:scan_disclaimer,
:scan_section,
]
View
2  lib/whois/record/parser/scanners/whois.biz.rb
@@ -18,11 +18,11 @@ module Scanners
class WhoisBiz < Base
self.tokenizers += [
+ :skip_empty_line,
:scan_available,
:scan_keyvalue,
:skip_lastupdate,
:skip_fuffa,
- :skip_newline,
]
View
2  lib/whois/record/parser/scanners/whois.cnnic.cn.rb
@@ -19,10 +19,10 @@ module Scanners
class WhoisCnnicCn < Base
self.tokenizers += [
+ :skip_empty_line,
:scan_reserved,
:scan_available,
:scan_keyvalue,
- :skip_empty_line,
]
View
2  lib/whois/record/parser/scanners/whois.denic.de.rb
@@ -18,6 +18,7 @@ module Scanners
class WhoisDenicDe < Base
self.tokenizers += [
+ :skip_empty_line,
:scan_response_throttled,
:scan_disclaimer,
:scan_invalid,
@@ -25,7 +26,6 @@ class WhoisDenicDe < Base
:scan_pair,
:scan_contact,
:skip_db_time,
- :skip_empty_line,
]
View
2  lib/whois/record/parser/scanners/whois.nic.it.rb
@@ -18,8 +18,8 @@ module Scanners
class WhoisNicIt < Base
self.tokenizers += [
+ :skip_empty_line,
:scan_response_unavailable,
- :skip_newline,
:scan_disclaimer,
:scan_keyvalue,
:scan_section,
View
2  lib/whois/record/parser/scanners/whois.registry.qa.rb
@@ -21,9 +21,9 @@ module Scanners
class WhoisRegistryQa < Base
self.tokenizers += [
+ :skip_empty_line,
:scan_available,
:scan_keyvalue,
- :skip_empty_line,
]
Please sign in to comment.
Something went wrong with that request. Please try again.